1
0
Fork 0
forked from 0x2620/oxjs

some more support for opera

This commit is contained in:
rlx 2011-09-03 15:25:52 +00:00
commit 74873e3bfb
5 changed files with 203 additions and 129 deletions

View file

@ -18,10 +18,12 @@ body {
margin: 0;
overflow: hidden;
-moz-user-select: -moz-none;
-o-user-select: none;
-webkit-user-select: none;
}
div {
-moz-user-select: -moz-none;
-o-user-select: none;
-webkit-user-select: none;
}
div, input, textarea {
@ -30,6 +32,7 @@ div, input, textarea {
}
img {
-moz-user-drag: none;
-o-user-drag: none;
-webkit-user-drag: none;
}
td {
@ -37,6 +40,7 @@ td {
}
.OxSelectable {
-moz-user-select: text;
-o-user-select: text;
-webkit-user-select: text;
}
@ -212,6 +216,7 @@ Calendar
.OxCalendar .OxLine > .OxEvent {
border-radius: 4px;
background: -moz-linear-gradient(top, rgba(255, 0, 0, 0.9), rgba(224, 0, 0, 0.9));
background: -o-linear-gradient(top, rgba(255, 0, 0, 0.9), rgba(224, 0, 0, 0.9));
background: -webkit-linear-gradient(top, rgba(255, 0, 0, 0.9), rgba(224, 0, 0, 0.9));
}
.OxCalendar .OxLine > .OxEvent.OxCurrent {
@ -220,6 +225,7 @@ Calendar
}
.OxCalendar .OxLine > .OxEvent.OxDate {
background: -moz-linear-gradient(top, rgba(192, 0, 0, 0.9), rgba(160, 0, 0, 0.9));
background: -o-linear-gradient(top, rgba(192, 0, 0, 0.9), rgba(160, 0, 0, 0.9));
background: -webkit-linear-gradient(top, rgba(192, 0, 0, 0.9), rgba(160, 0, 0, 0.9));
}
.OxCalendar .OxLine > .OxEvent.OxPlace {
@ -228,10 +234,12 @@ Calendar
}
.OxCalendar .OxLine > .OxEvent.OxPerson {
background: -moz-linear-gradient(top, rgba(255, 96, 0, 0.9), rgba(224, 80, 0, 0.9));
background: -o-linear-gradient(top, rgba(255, 96, 0, 0.9), rgba(224, 80, 0, 0.9));
background: -webkit-linear-gradient(top, rgba(255, 96, 0, 0.9), rgba(224, 80, 0, 0.9));
}
.OxCalendar .OxLine > .OxEvent.OxSelected {
background: -moz-linear-gradient(top, rgba(128, 128, 255, 0.9), rgba(96, 96, 224, 0.9));
background: -o-linear-gradient(top, rgba(128, 128, 255, 0.9), rgba(96, 96, 224, 0.9));
background: -webkit-linear-gradient(top, rgba(128, 128, 255, 0.9), rgba(96, 96, 224, 0.9));
}
@ -406,6 +414,7 @@ Document
.OxDocument {
padding: 8px;
-moz-user-select: text;
-o-user-select: text;
-webkit-user-select: text;
}
.OxDocument div {
@ -414,6 +423,7 @@ Document
//font-size: 12px;
line-height: 15px;
-moz-user-select: text;
-o-user-select: text;
-webkit-user-select: text;
}
.OxDocument code {
@ -479,11 +489,13 @@ input[type=button],
input[type=reset],
input[type=submit] {
-moz-box-sizing: content-box;
-o-box-sizing: content-box;
-webkit-box-sizing: content-box;
}
input[type=image] {
cursor: default;
-moz-user-select: none;
-o-user-select: none;
-webkit-user-select: none;
}
input:focus,
@ -510,32 +522,27 @@ input.OxLarge {
height: 18px;
font-size: 13px;
padding: 0 8px 0 8px;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
border-radius: 10px;
}
input.OxMedium {
height: 14px;
padding: 0 6px 0 6px;
font-size: 11px;
-moz-border-radius: 8px;
-webkit-border-radius: 8px;
border-radius: 8px;
}
input.OxMedium.OxRounded {
padding: 0 6px 0 6px;
-moz-border-radius: 8px;
-webkit-border-radius: 8px;
border-radius: 8px;
}
input.OxMedium.OxSquare {
padding: 0 2px 0 2px;
-moz-border-radius: 0;
-webkit-border-radius: 0;
border-radius: 0;
}
input.OxSmall {
height: 10px;
padding: 0 4px 0 4px;
font-size: 8px;
-moz-border-radius: 6px;
-webkit-border-radius: 6px;
border-radius: 6px;
}
input[type=image] {
@ -550,13 +557,11 @@ input::-moz-focus-inner {
textarea {
//padding: 2px 4px 2px 4px;
padding: 0 4px 0 4px;
border-radius: 8px;
resize: none;
-moz-border-radius: 8px;
-webkit-border-radius: 8px;
}
textarea.OxSquare {
-moz-border-radius: 0;
-webkit-border-radius: 0;
border-radius: 0;
}
/*
@ -576,6 +581,7 @@ OxButton
border: 1px solid rgba(0, 0, 0, 0);
background: rgba(0, 0, 0, 0);
-moz-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
-o-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
-webkit-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}
/*
@ -591,65 +597,46 @@ OxButtonGroup
}
.OxButtonGroup > .OxButton {
border-right-width: 0;
-moz-border-radius: 0;
-webkit-border-radius: 0;
border-radius: 0;
}
.OxButtonGroup > .OxButton:last-child {
border-right-width: 1px;
}
.OxButtonGroup > .OxButton.OxLarge:first-child {
-moz-border-radius-topleft: 6px;
-moz-border-radius-bottomleft: 6px;
-webkit-border-top-left-radius: 6px;
-webkit-border-bottom-left-radius: 6px;
border-top-left-radius: 6px;
border-bottom-left-radius: 6px;
}
.OxButtonGroup > .OxButton.OxLarge:last-child {
-moz-border-radius-topright: 6px;
-moz-border-radius-bottomright: 6px;
-webkit-border-top-right-radius: 6px;
-webkit-border-bottom-right-radius: 6px;
border-top-right-radius: 6px;
border-bottom-right-radius: 6px;
}
.OxButtonGroup > .OxButton.OxMedium:first-child {
-moz-border-radius-topleft: 8px;
-moz-border-radius-bottomleft: 8px;
-webkit-border-top-left-radius: 8px;
-webkit-border-bottom-left-radius: 8px;
border-top-left-radius: 8px;
border-bottom-left-radius: 8px;
}
.OxButtonGroup > .OxButton.OxMedium:last-child {
-moz-border-radius-topright: 8px;
-moz-border-radius-bottomright: 8px;
-webkit-border-top-right-radius: 8px;
-webkit-border-bottom-right-radius: 8px;
border-top-right-radius: 8px;
border-bottom-right-radius: 8px;
}
.OxButtonGroup > .OxButton.OxSmall:first-child {
-moz-border-radius-topleft: 2px;
-moz-border-radius-bottomleft: 2px;
-webkit-border-top-left-radius: 2px;
-webkit-border-bottom-left-radius: 2px;
border-top-left-radius: 2px;
border-bottom-left-radius: 2px;
}
.OxButtonGroup > .OxButton.OxSmall:last-child {
-moz-border-radius-topright: 2px;
-moz-border-radius-bottomright: 2px;
-webkit-border-top-right-radius: 2px;
-webkit-border-bottom-right-radius: 2px;
border-top-right-radius: 2px;
border-bottom-right-radius: 2px;
}
.OxButtonGroup > .OxButton.OxTab {
-moz-border-radius-topleft: 8px;
-moz-border-radius-topright: 8px;
-moz-border-radius-bottomleft: 0;
-moz-border-radius-bottomright: 0;
-webkit-border-top-left-radius: 8px;
-webkit-border-top-right-radius: 8px;
-webkit-border-bottom-left-radius: 0;
-webkit-border-bottom-right-radius: 0;
border-top-left-radius: 8px;
border-top-right-radius: 8px;
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
.OxButtonGroup > .OxButton.OxTab:first-child {
-moz-border-radius-bottomleft: 0;
-webkit-border-bottom-left-radius: 0;
border-bottom-left-radius: 0;
}
.OxButtonGroup > .OxButton.OxTab:last-child {
-moz-border-radius-bottomright: 0;
-webkit-border-bottom-right-radius: 0;
border-bottom-right-radius: 0;
}
/*
--------------------------------------------------------------------------------
@ -658,14 +645,12 @@ OxCheckbox
*/
div.OxCheckbox {
height: 16px;
-moz-border-radius: 8px;
-webkit-border-radius: 8px;
border-radius: 8px;
}
input.OxCheckbox {
border-width: 1px;
border-style: solid;
-moz-border-radius: 8px;
-webkit-border-radius: 8px;
border-radius: 8px;
}
.OxCheckboxGroup > div.OxCheckbox {
float: left;
@ -709,12 +694,10 @@ div.OxInput.OxMedium {
height: 16px;
}
div.OxInput.OxRounded {
-moz-border-radius: 8px;
-webkit-border-radius: 8px;
border-radius: 8px;
}
div.OxInput.OxSquare {
-moz-border-radius: 0;
-webkit-border-radius: 0;
border-radius: 0;
}
div.OxInput > .OxInputLabel {
float: left;
@ -770,13 +753,12 @@ OxLabel
height: 14px;
border-width: 1px;
border-style: solid;
border-radius: 8px;
padding: 0 6px 0 6px;
text-overflow: ellipsis;
cursor: default;
overflow: hidden;
white-space: nowrap;
-moz-border-radius: 8px;
-webkit-border-radius: 8px;
}
/*
--------------------------------------------------------------------------------
@ -786,19 +768,17 @@ OxPicker
.OxPicker {
position: absolute;
z-index: 13;
-moz-border-radius: 0 8px 8px 8px;
-webkit-border-radius: 0 8px 8px 8px;
border-radius: 0 8px 8px 8px;
-moz-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.75);
-o-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.75);
-webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.75);
}
.OxPicker > div:first-child {
background: rgb(240, 240, 240);
-moz-border-radius: 0 8px 0 0;
-webkit-border-radius: 0 8px 0 0;
border-radius: 0 8px 0 0;
}
.OxPicker > .OxBar {
-moz-border-radius: 0 0 8px 8px;
-webkit-border-radius: 0 0 8px 8px;
border-radius: 0 0 8px 8px;
}
.OxPicker > .OxBar > .OxLabel {
float: left;
@ -827,8 +807,7 @@ OxRange
border-width: 1px;
border-style: solid;
height: 14px;
-moz-border-radius: 8px;
-webkit-border-radius: 8px;
border-radius: 8px;
}
.OxRange > .OxTrack > div {
float: left;
@ -842,19 +821,16 @@ OxRange
-webkit-user-select: none;
}
.OxRange > .OxTrack > div > img.OxFirstChild {
-moz-border-radius: 7px;
-webkit-border-top-left-radius: 7px;
-webkit-border-bottom-left-radius: 7px;
border-top-left-radius: 7px;
border-bottom-left-radius: 7px;
}
.OxRange > .OxTrack > div > img.OxLastChild {
-moz-border-radius: 0 7px 7px 0;
-webkit-border-top-right-radius: 7px;
-webkit-border-bottom-right-radius: 7px;
border-top-right-radius: 7px;
border-bottom-right-radius: 7px;
}
.OxRange > .OxTrack > div > img.OxFirstChild.OxLastChild {
margin-left: 7px;
-moz-border-radius: 0;
-webkit-border-radius: 0;
border-radius: 0;
}
.OxRange > .OxTrack > .OxThumb {
float: left;
@ -875,13 +851,11 @@ OxSelect
height: 14px;
border-width: 1px;
border-style: solid;
-moz-border-radius: 8px;
-webkit-border-radius: 8px;
border-radius: 8px;
}
.OxSelect.OxSelected,
.OxSelect.OxSelected > .OxLabel {
-moz-border-radius: 8px 8px 0 0;
-webkit-border-radius: 8px 8px 0 0;
border-radius: 8px 8px 0 0;
}
.OxSelect > .OxLabel {
float: left;
@ -978,6 +952,7 @@ Images
.OxReflection > img {
-moz-transform: scaleY(-1);
-o-transform: scaleY(-1);
-webkit-transform: scaleY(-1);
}
@ -1116,10 +1091,10 @@ Lists
max-width: 124px;
word-wrap: break-word;
cursor: pointer;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
//-moz-user-select: text;
//-webkit-user-select: text;
}
.OxTextList {
@ -1212,8 +1187,7 @@ Lists
text-align: center;
cursor: pointer;
overflow: hidden;
-moz-border-radius: 0;
-webkit-border-radius: 0;
border-radius: 0;
}
.OxTextList .OxBar .OxSelect > input {
margin-right: -3px;
@ -1329,6 +1303,7 @@ Menus
.OxMainMenu {
z-index: 9;
-moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
-o-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
.OxMainMenu.OxLarge {
@ -1347,6 +1322,7 @@ Menus
float: left;
cursor: default;
-moz-user-select: none;
-o-user-select: none;
-webkit-user-select: none;
}
.OxMainMenu.OxLarge > .OxTitle {
@ -1390,30 +1366,25 @@ Menus
position: absolute;
display: none;
z-index: 12;
-moz-border-radius-bottomleft: 4px;
-moz-border-radius-bottomright: 4px;
-webkit-border-bottom-left-radius: 4px;
-webkit-border-bottom-right-radius: 4px;
border-bottom-left-radius: 4px;
border-bottom-right-radius: 4px;
-moz-user-select: none;
-o-user-select: none;
-webkit-user-select: none;
}
.OxMenu.OxRight {
-moz-border-radius-topright: 4px;
-webkit-border-top-right-radius: 4px;
border-top-right-radius: 4px;
}
.OxMenu .OxTop {
height: 4px;
}
.OxMenu.OxRight .OxTop {
-moz-border-radius-topright: 4px;
-webkit-border-top-right-radius: 4px;
border-top-right-radius: 4px;
}
.OxMenu .OxBottom {
height: 4px;
-moz-border-radius-bottomleft: 4px;
-moz-border-radius-bottomright: 4px;
-webkit-border-bottom-left-radius: 4px;
-webkit-border-bottom-right-radius: 4px;
border-bottom-left-radius: 4px;
border-bottom-right-radius: 4px;
}
.OxMenu .OxContainer {
background: transparent;
@ -1465,20 +1436,17 @@ Menus
.OxMenu.OxLarge .OxItem .OxCell.OxIcon img {
width: 16px;
height: 16px;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
border-radius: 2px;
}
.OxMenu.OxMedium .OxItem .OxCell.OxIcon img {
width: 12px;
height: 12px;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
border-radius: 2px;
}
.OxMenu.OxSmall .OxItem .OxCell.OxIcon img {
width: 8px;
height: 8px;
-moz-border-radius: 1px;
-webkit-border-radius: 1px;
border-radius: 1px;
}
.OxMenu .OxItem .OxCell.OxTitle {
padding-left: 4px;
@ -1571,8 +1539,7 @@ Panels
.OxCollapsePanel > .OxBar > .OxExtras > .OxButton {
//position: absolute;
//right: 0px;
-moz-border-radius: 0;
-webkit-border-radius: 0;
border-radius: 0;
}
.OxCollapsePanel > .OxBar > .OxExtras > .OxSelect {
//position: absolute;
@ -1582,8 +1549,7 @@ Panels
padding: 1px 1px 0 0;
border-width: 0;
background: rgba(0, 0, 0, 0);
-moz-border-radius: 0;
-webkit-border-radius: 0;
border-radius: 0;
}
.OxCollapsePanel > .OxContent {
@ -1611,6 +1577,7 @@ Panels
.OxSplitPanel_ {
display: box;
display: -moz-box;
display: -o-box;
display: -webkit-box;
overflow: hidden;
box-flex: 0;
@ -1620,11 +1587,13 @@ Panels
.OxSplitPanel_.OxHorizontal {
box-orient: horizontal;
-moz-box-orient: horizontal;
-o-box-orient: horizontal;
-webkit-box-orient: horizontal;
}
.OxSplitPanel_.OxVertical {
box-orient: vertical;
-moz-box-orient: vertical;
-o-box-orient: vertical;
-webkit-box-orient: vertical;
}
.OxSplitPanel_ > * {
@ -1686,6 +1655,7 @@ Requests
.OxLoadingIcon {
opacity: 0;
-moz-user-select: none;
-o-user-select: none;
-webkit-user-select: none;
}
@ -1717,10 +1687,10 @@ Scrollbars
height: 12px;
}
::-webkit-scrollbar-thumb {
-webkit-border-radius: 6px;
border-radius: 6px;
}
::-webkit-scrollbar-track {
-webkit-border-radius: 6px;
border-radius: 6px;
}
/*
@ -1738,11 +1708,13 @@ SyntaxHightlighter
.OxSyntaxHighlighter > .OxLineNumbers {
text-align: right;
-moz-user-select: none;
-o-user-select: none;
-webkit-user-select: none;
}
.OxSyntaxHighlighter > .OxSourceCode {
white-space: nowrap;
-moz-user-select: text;
-o-user-select: text;
-webkit-user-select: text;
}
.OxSyntaxHighlighter > .OxSourceCode .OxLinebreak {
@ -1859,6 +1831,7 @@ Video
overflow: hidden;
z-index: 10;
-moz-box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
-o-box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
-webkit-box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
}
.OxLargeVideoTimeline .OxSubtitle.OxHighlight {
@ -1943,6 +1916,7 @@ Video
}
.OxVideoPlayer.OxFocus {
-moz-box-shadow: 0 0 2px rgb(128, 128, 128);
-o-box-shadow: 0 0 2px rgb(128, 128, 128);
-webkit-box-shadow: 0 0 2px rgb(128, 128, 128);
}
@ -1973,10 +1947,12 @@ Video
.OxVideoPlayer .OxInput {
background: transparent;
-moz-box-shadow: 0 0 0;
-o-box-shadow: 0 0 0;
-webkit-box-shadow: 0 0 0;
}
.OxVideoPlayer div.OxInput.OxFocus {
-moz-box-shadow: 0 0 0;
-o-box-shadow: 0 0 0;
-webkit-box-shadow: 0 0 0;
}
.OxVideoPlayer input.OxInput {
@ -2184,6 +2160,5 @@ Miscellaneous
font-size: 9px;
//opacity: 0;
z-index: 1001;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
}