gecko-dev/mobile/xul/themes/core/config.css
2012-05-21 12:12:37 +01:00

98 lines
1.9 KiB
CSS

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
@media (max-width: 499px) {
#editor-container > hbox {
-moz-box-orient: vertical;
}
}
richlistitem {
-moz-box-align: center;
}
richlistitem .preferences-title {
pointer-events: none;
min-width: 200px;
-moz-box-flex: 1;
margin-right: 8px;
}
/* XXX look + sync */
richlistitem[default="false"] .preferences-title {
font-weight: bold;
}
richlistitem .preferences-value {
min-width: 200px;
pointer-events: none;
-moz-box-flex: 4;
text-align: end;
color: grey;
}
/* Editor */
#editor-row {
padding: 0;
background: #E9E9E9;
}
#editor {
border-bottom: 1px solid rgb(207,207,207);
}
#editor > hbox > #editor-name,
#editor > hbox > #editor-cancel,
#editor > hbox > #editor-done {
display: none;
}
#editor-container > #editor > hbox > #editor-name,
#editor-container > #editor > hbox > #editor-cancel,
#editor-container > #editor > hbox > #editor-done {
display: -moz-box;
}
#editor-container > #editor > hbox > #editor-reset {
display: none;
}
#editor-container > hbox > label {
pointer-events: none;
color: black;
}
#editor + richlistitem {
display: none;
}
#editor[default="false"] .preferences-title {
font-weight: bold;
}
#editor-setting setting {
border-color: transparent !important;
}
#editor-setting[type="string"] .setting-input {
-moz-box-flex: 4;
}
#editor-setting[type="string"] .setting-input > textbox {
-moz-box-flex: 1;
}
/* bug 647650: keep 'text-align: right' here instead of using start/end since
* the field should looks like ltr as much as possible
*/
#editor-setting[type="string"] .setting-input > textbox:-moz-locale-dir(rtl) {
direction: ltr;
text-align: right;
}
#editor-buttons {
margin: 2px;
}