oxjstmp/build/css/ox.ui.css

337 lines
7.3 KiB
CSS
Raw Normal View History

2010-01-07 20:21:07 +00:00
@import url("ox.ui.classic.css");
@import url("ox.ui.modern.css");
@import url("ox.ui.future.css");
/*
================================================================================
Base
================================================================================
*/
body {
margin: 0;
overflow: hidden;
//-webkit-user-select: none
}
div, input {
font-family: Lucida Grande, Lucida Sans Unicode, Segoe UI;
font-size: 11px;
}
/*
================================================================================
Core
================================================================================
*/
.OxContainer {
left: 0;
top: 0;
right: 0;
bottom: 0;
overflow: hidden;
}
.OxContent {
overflow: auto;
}
/*
================================================================================
Bars
================================================================================
*/
.OxBar {
overflow: hidden;
white-space: nowrap;
}
.OxTabbar > .OxButtonGroup {
margin: 4px 0 0 4px;
}
2010-01-31 08:03:22 +00:00
/*
================================================================================
Dialog
================================================================================
*/
.OxLayer {
position: absolute;
width: 100%;
height: 100%;
overflow: hidden;
z-index: 10;
}
.OxDialog {
position: absolute;
-moz-border-radius: 8px;
-webkit-border-radius: 8px;
}
.OxDialog > .OxTitleBar {
//left: 0px;
//right: 0px;
//height: 16px;
padding: 3px 8px 5px 8px;
padding: 3px 0 5px 0;
cursor: move;
overflow: hidden;
white-space: nowrap;
-moz-border-radius-topleft: 8px;
-moz-border-radius-topright: 8px;
-webkit-border-top-left-radius: 8px;
-webkit-border-top-right-radius: 8px;
}
.OxDialog > .OxTitleBar > .OxTitle {
margin: 0 8px 0 8px;
font-size: 13px;
font-weight: bold;
text-overflow: ellipsis;
}
.OxDialog > .OxContent {
top: 24px;
height: 100%;
2010-01-31 09:32:41 +00:00
padding: 16px;
2010-01-31 10:06:52 +00:00
font-size: 12px;
line-height: 16px;
2010-01-31 08:03:22 +00:00
}
.OxDialog > .OxButtonsBar {
left: 0px;
right: 0px;
bottom: 0px;
2010-01-31 09:32:41 +00:00
height: 32px;
padding: 0 4px 0 4px;
2010-01-31 08:03:22 +00:00
text-align: right;
-moz-border-radius-bottomleft: 8px;
-moz-border-radius-bottomright: 8px;
-webkit-border-bottom-left-radius: 8px;
-webkit-border-bottom-right-radius: 8px;
}
2010-01-31 09:32:41 +00:00
.OxDialog > .OxButtonsBar > .OxButton {
margin: 8px 4px 0 4px;
}
2010-01-07 20:21:07 +00:00
/*
================================================================================
Forms
================================================================================
*/
input {
padding: 0;
border: 1px;
margin: 0;
}
input[type=button],
input[type=reset],
input[type=submit] {
-moz-box-sizing: content-box;
-webkit-box-sizing: content-box;
}
input:focus {
outline: none;
}
input.OxXlarge {
height: 26px;
font-size: 19px;
padding: 0 12px 0 12px;
-moz-border-radius: 14px;
-webkit-border-radius: 14px;
}
input.OxLarge {
height: 22px;
font-size: 16px;
padding: 0 10px 0 10px;
-moz-border-radius: 12px;
-webkit-border-radius: 12px;
}
input.OxMedium {
height: 18px;
font-size: 13px;
padding: 0 8px 0 8px;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
}
input.OxSmall {
height: 14px;
padding: 0 6px 0 6px;
font-size: 11px;
-moz-border-radius: 8px;
-webkit-border-radius: 8px;
}
input.OxXsmall {
height: 10px;
padding: 0 4px 0 4px;
font-size: 8px;
-moz-border-radius: 6px;
-webkit-border-radius: 6px;
}
input[type=image] {
padding: 0;
-moz-user-select: none;
-webkit-user-select: none;
}
input[type=image].OxLarge {
width: 22px;
}
input[type=image].OxMedium {
width: 18px;
}
input[type=image].OxSmall {
width: 14px;
}
input::-moz-focus-inner {
border: none;
}
.OxButton.OxSymbol,
.OxButton.OxSymbol:active {
border: 1px solid rgba(0, 0, 0, 0);
background: rgba(0, 0, 0, 0);
}
/*
--------------------------------------------------------------------------------
OxButtonGroup
--------------------------------------------------------------------------------
*/
.OxButtonGroup {
display: table-cell;
float: left;
//overflow: hidden;
//white-space: nowrap;
}
.OxButtonGroup > .OxButton {
border-right-width: 0;
-moz-border-radius: 0;
-webkit-border-radius: 0;
}
.OxButtonGroup > .OxButton:last-child {
border-right-width: 1px;
}
.OxButtonGroup > .OxButton.OxSmall:first-child {
-moz-border-radius-topleft: 4px;
-moz-border-radius-bottomleft: 4px;
-webkit-border-top-left-radius: 4px;
-webkit-border-bottom-left-radius: 4px;
}
.OxButtonGroup > .OxButton.OxSmall:last-child {
-moz-border-radius-topright: 4px;
-moz-border-radius-bottomright: 4px;
-webkit-border-top-right-radius: 4px;
-webkit-border-bottom-right-radius: 4px;
}
.OxButtonGroup > .OxButton.OxXsmall:first-child {
-moz-border-radius-topleft: 2px;
-moz-border-radius-bottomleft: 2px;
-webkit-border-top-left-radius: 2px;
-webkit-border-bottom-left-radius: 2px;
}
.OxButtonGroup > .OxButton.OxXsmall:last-child {
-moz-border-radius-topright: 2px;
-moz-border-radius-bottomright: 2px;
-webkit-border-top-right-radius: 2px;
-webkit-border-bottom-right-radius: 2px;
}
.OxButtonGroup > .OxButton.OxTab {
-moz-border-radius-topleft: 4px;
-moz-border-radius-topright: 4px;
-moz-border-radius-bottomleft: 0;
-moz-border-radius-bottomright: 0;
-webkit-border-top-left-radius: 4px;
-webkit-border-top-right-radius: 4px;
-webkit-border-bottom-left-radius: 0;
-webkit-border-bottom-right-radius: 0;
}
.OxButtonGroup > .OxButton.OxTab:first-child {
-moz-border-radius-bottomleft: 0;
-webkit-border-bottom-left-radius: 0;
}
.OxButtonGroup > .OxButton.OxTab:last-child {
-moz-border-radius-bottomright: 0;
-webkit-border-bottom-right-radius: 0;
}
/*
--------------------------------------------------------------------------------
OxRange
--------------------------------------------------------------------------------
*/
.OxRange {
height: 14px;
border: 1px;
-moz-border-radius: 8px;
-webkit-border-radius: 8px;
}
.OxRange > .OxArrow:first-child {
float: left;
margin-top: -1px;
}
.OxRange > .OxArrow:last-child {
float: left;
margin-left: -1px;
margin-top: -1px;
}
.OxRange > .OxTrack {
float: left;
height: 14px;
margin-left: -1px;
margin-top: -1px;
-moz-border-radius: 8px;
-webkit-border-radius: 8px;
}
.OxRange > .OxTrack > .OxImage {
float: left;
height: 14px;
-moz-border-radius: 6px;
-webkit-border-radius: 6px;
}
.OxRange > .OxTrack > .OxThumb {
float: left;
margin-top: -15px;
}
.OxRange > .OxTrack > .OxThumb:first-child {
margin-top: -1px;
}
/*
================================================================================
Panels
================================================================================
*/
.OxCollapsePanel > .OxBar {
position: relative;
z-index: 1;
}
.OxCollapsePanel > .OxBar > .OxButton {
float: left;
margin: 2px 0 0 4px;
}
.OxCollapsePanel > .OxBar > .OxTitle {
float: left;
margin: 3px 0 0 4px;
font-weight: bold;
}
.OxCollapsePanel > .OxContent {
position: relative;
left: 0;
right: 0;
}
.OxPanel {
overflow: auto;
}
.OxSplitPanel {
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
overflow: hidden;
}