RandomSec/main/webapp/modules/core/styles/common.less
2010-10-15 02:23:22 +00:00

341 lines
6.2 KiB
Plaintext

@import-less url("theme.less");
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, figure, footer, header, hgroup, menu, nav, section, menu, time, mark, audio, video { margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%; vertical-align: baseline; background: transparent; }
article, aside, figure, footer, header, hgroup, nav, section { display: block; }
ul { list-style-position: inside; }
a { margin: 0; padding: 0; font-size: 100%; vertical-align: baseline; background: transparent; }
table { border-collapse: collapse; border-spacing: 0; }
input, select { vertical-align: middle; }
body {
font-size: 62.5%;
font-family: Arial, sans-serif;
background: #fff;
}
h1 {
font-size: 1.8em;
}
h2 {
font-size: 1.3em;
font-weight: bold;
}
input[type=text] {
padding: @padding_tighter;
font-size: 1em;
font-family: inherit;
border: #ccc 1px solid;
border-top: #888 1px solid;
}
a {
color: @link_primary;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
a.secondary {
color: @link_secondary;
}
a.action, a.selected, a.inaction {
margin: 0 3px;
}
a.selected {
color: #000;
font-weight: bold;
cursor: default;
}
a.inaction {
color: @chrome_primary;
}
a.selected:hover, a.inaction:hover {
cursor: default;
text-decoration: none;
}
a img {
border: 0;
}
.button, a.button {
display: inline-block;
overflow: visible;
font-size: 1em;
line-height: 1.4;
color: #000;
text-decoration: none;
padding: 1px 6px;
border: 1px solid #bbb;
cursor: pointer;
background: #eee;
white-space: nowrap;
font-family: Arial, Helvetica, sans-serif;
.rounded_corners(3px);
}
.button:hover, a.button:hover {
border: 1px solid #666;
}
.button:active, a.button:active {
border: 1px solid #000;
}
.button-primary, a.button-primary {
font-weight: bold;
padding: 1px 15px;
}
.button-pill-left, a.button-pill-left {
border-right: 1px solid #bbb;
.sharp_corners_left();
}
.button-pill-right, a.button-pill-right {
border-left: 1px solid #fff;
.sharp_corners_right();
}
.button-disabled, a.button-disabled {
color: #666;
border: 1px solid #ddd;
background: #f3f3f3;
cursor: default;
}
.button-disabled:hover, a.button-disabled:hover {
color: #666;
border: 1px solid #ddd;
background: #f3f3f3;
cursor: default;
}
.button img, a.button img {
padding-left: 3px;
}
.button-menu, a.button-menu {
background: url(/images/down-arrow.png) no-repeat right 6px;
padding-right: 12px;
}
.form-table th, .form-table td {
vertical-align: top;
font-size: 1.3em;
padding: 2px;
}
.form-table th {
text-align: left;
padding-top: 8px;
font-weight: bold;
}
.list-table {
width: 100%;
}
.list-table th, .list-table td {
padding-top: @padding_tight;
text-align: left;
vertical-align: baseline;
padding: @padding_tighter @padding_tight;
font-size: 1.1em;
color: @metadata_grey;
border-bottom: dotted 1px @faint_grey;
}
.list-table th {
font-weight: bold;
color: #444;
background: #f2f2f2;
}
#loading-message {
text-align: center;
font-size: 300%;
color: @light_grey;
padding: 4em;
}
#loading-message img {
position: relative;
top: -4px;
}
#header {
height: 40px;
margin: 10px;
position: relative;
overflow: hidden;
}
#app-home-button {
position: absolute;
top: 0;
left: 0;
}
#body-info {
margin: 0 40px;
}
#body-info p {
font-size: 1.3em;
margin: 1.3em;
width: 50em;
line-height: 1.3;
}
#body-info h1 {
font-size: 3.0em;
font-weight: normal;
color: @metadata_grey;
}
#body-info h2 {
margin: 1.6em 0 .5em 0;
}
#body-info .license, #body-info .errorstack {
font-family: monospace;
font-size: 1.3em;
white-space: pre;
border: 1px solid #ddd;
background: #eee;
padding: @padding_looser;
width: 60em;
overflow: auto;
}
#body-info ul {
font-size: 1.3em;
margin: .5em 0 2em;
}
#body-info li {
margin: 0.4em;
}
input[type="checkbox"], input[type="radio"] {
vertical-align: baseline;
}
input.inline {
vertical-align: middle;
}
div.grid-layout > table {
border-collapse: separate;
}
div.grid-layout.layout-full > table {
width: 100%;
max-width: 100% !important;
}
div.grid-layout > table > tbody > tr > th, div.grid-layout > table > tbody > tr > td {
padding: 0px;
text-align: left;
vertical-align: baseline;
}
div.grid-layout.grid-layout-for-text > table > tbody > tr > th, div.grid-layout.grid-layout-for-text > table > tbody > tr > td {
vertical-align: middle;
}
div.grid-layout.grid-layout-for-ui > table > tbody > tr > th, div.grid-layout.grid-layout-for-ui > table > tbody > tr > td {
vertical-align: top;
}
div.grid-layout.layout-normal {
margin: -10px;
}
div.grid-layout.layout-normal > table {
border-spacing: 10px;
}
div.grid-layout.layout-tight {
margin: -7px;
}
div.grid-layout.layout-tight > table {
border-spacing: 7px;
}
div.grid-layout.layout-tighter {
margin: -5px;
}
div.grid-layout.layout-tighter > table {
border-spacing: 5px;
}
div.grid-layout.layout-tightest {
margin: -3px;
}
div.grid-layout.layout-tightest > table {
border-spacing: 3px;
}
div.grid-layout.layout-loose {
margin: -15px;
}
div.grid-layout.layout-loose > table {
border-spacing: 15px;
}
div.grid-layout.layout-looser {
margin: -20px;
}
div.grid-layout.layout-looser > table {
border-spacing: 20px;
}
div.input-container {
padding: 3px;
}
div.input-container > input, div.input-container > textarea {
display: block;
width: 100%;
padding: 2px;
border: 1px inset;
margin-left: -3px;
margin-top: -3px;
vertical-align: top;
}
input.code, textarea.code {
font-family: monospace;
}
img {
vertical-align: middle;
}
.hidden {
display: none;
}
.fbs-pane, .fbs-flyout-pane {
z-index: 2000;
}
.ui-widget {
font-family: inherit;
font-size: inherit;
}
.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button {
font-family: inherit;
font-size: inherit;
}