Commit 01eb7bff authored by Dries's avatar Dries
Browse files

- Patch #748798 by casey, Rob Loach, Jacine: changed CSS Coding Standards.

parent fe2fdd4f
......@@ -7,11 +7,13 @@
position: absolute;
cursor: crosshair;
}
.farbtastic, .farbtastic .wheel {
.farbtastic,
.farbtastic .wheel {
width: 195px;
height: 195px;
}
.farbtastic .color, .farbtastic .overlay {
.farbtastic .color,
.farbtastic .overlay {
top: 47px;
left: 47px;
width: 101px;
......
......@@ -17,7 +17,8 @@
margin-bottom: 0;
font-size: 1.3em;
}
#aggregator .feed-item-meta, #aggregator .feed-item-body {
#aggregator .feed-item-meta,
#aggregator .feed-item-body {
margin-bottom: 0.5em;
}
#aggregator .feed-item-categories {
......
......@@ -14,7 +14,8 @@
float: right;
clear: right;
}
.color-form .form-text, .color-form .form-select {
.color-form .form-text,
.color-form .form-select {
float: right;
}
.color-form .form-text {
......@@ -24,7 +25,9 @@
#palette .hook {
float: right;
}
#palette .down, #palette .up, #palette .both {
#palette .down,
#palette .up,
#palette .both {
background: url(images/hook-rtl.png) no-repeat 0 0;
}
#palette .up {
......
......@@ -23,7 +23,8 @@
clear: left; /* LTR */
width: 10em;
}
.color-form .form-text, .color-form .form-select {
.color-form .form-text,
.color-form .form-select {
float: left; /* LTR */
}
.color-form .form-text {
......@@ -38,7 +39,9 @@
width: 16px;
height: 16px;
}
#palette .down, #palette .up, #palette .both {
#palette .down,
#palette .up,
#palette .both {
background: url(images/hook.png) no-repeat 100% 0; /* LTR */
}
#palette .up {
......
......@@ -26,7 +26,8 @@
float: none;
}
#dashboard #disabled-blocks .block, #dashboard .block-placeholder {
#dashboard #disabled-blocks .block,
#dashboard .block-placeholder {
background: #e2e1dc;
padding: 6px 4px 6px 8px;
margin: 3px 3px 3px 0;
......@@ -92,7 +93,8 @@
background: #0074BD;
}
#dashboard #disabled-blocks .block .content, #dashboard .ui-sortable-helper .content {
#dashboard #disabled-blocks .block .content,
#dashboard .ui-sortable-helper .content {
display: none;
}
......
/* $Id$ */
.form-item-type, .form-item-severity {
.form-item-type,
.form-item-severity {
float: right;
padding-right: 0;
padding-left: .8em;
......
/* $Id$ */
.form-item-type, .form-item-severity {
.form-item-type,
.form-item-severity {
float: left; /* LTR */
padding-right: .8em; /* LTR */
margin: 0.1em;
......@@ -31,10 +32,12 @@ tr.dblog-content {
tr.dblog-content .active {
background: #cce;
}
tr.dblog-page-not-found, tr.dblog-access-denied {
tr.dblog-page-not-found,
tr.dblog-access-denied {
background: #dfd;
}
tr.dblog-page-not-found .active, tr.dblog-access-denied .active {
tr.dblog-page-not-found .active,
tr.dblog-access-denied .active {
background: #cec;
}
tr.dblog-error {
......
......@@ -4,7 +4,12 @@
font-size: 0.9em;
margin: 0.5em;
}
#forum td.created, #forum td.posts, #forum td.topics, #forum td.last-reply, #forum td.replies, #forum td.pager {
#forum td.created,
#forum td.posts,
#forum td.topics,
#forum td.last-reply,
#forum td.replies,
#forum td.pager {
white-space: nowrap;
}
#forum tr td.forum {
......
......@@ -5,7 +5,9 @@
text-decoration: line-through;
}
.form-item-language, .form-item-translation, .form-item-group {
.form-item-language,
.form-item-translation,
.form-item-group {
float: left; /* LTR */
padding-right: .8em; /* LTR */
margin: 0.1em;
......
......@@ -7,7 +7,8 @@
background-color: #ffffea;
}
/* Override the default multiselect layout in system-behavior.css. */
#node-admin-content dl.multiselect dd, dl.multiselect dd .form-item {
#node-admin-content dl.multiselect dd,
dl.multiselect dd .form-item {
width: 20em; /* 6em label + 14em select */
}
#node-admin-content dl.multiselect dd .form-item label {
......
......@@ -38,7 +38,8 @@ body.overlay-autofit {
min-height: 100px;
}
.overlay.ui-widget-content, .overlay .ui-widget-header {
.overlay.ui-widget-content,
.overlay .ui-widget-header {
background: none;
border: none;
}
......
......@@ -23,7 +23,8 @@ div.admin .expert-link {
padding-left: 4px;
}
table.system-status-report th, table.system-status-report tr.merge-up td {
table.system-status-report th,
table.system-status-report tr.merge-up td {
padding-right: 30px;
}
......@@ -38,7 +39,8 @@ table.screenshot {
.date-container {
clear: right;
}
.date-container .select-container, .date-container .custom-container {
.date-container .select-container,
.date-container .custom-container {
float: right;
}
.date-container .custom-container {
......
......@@ -47,7 +47,8 @@ table.package .description {
table.package .version {
direction: ltr;
}
div.admin-requirements, div.admin-required {
div.admin-requirements,
div.admin-required {
font-size: 0.9em;
color: #444;
}
......@@ -67,7 +68,8 @@ span.admin-missing {
table.system-status-report th {
border-bottom: 1px solid #ccc;
}
table.system-status-report th, table.system-status-report tr.merge-up td {
table.system-status-report th,
table.system-status-report tr.merge-up td {
padding-left: 30px; /* LTR */
}
table.system-status-report th {
......@@ -125,7 +127,8 @@ table.screenshot {
.date-container .form-item {
margin-top: 0;
}
.date-container .select-container, .date-container .custom-container {
.date-container .select-container,
.date-container .custom-container {
float: left; /* LTR */
}
.date-container .custom-container {
......
......@@ -71,14 +71,16 @@ div.indentation {
padding: 0.42em 0.6em 0.42em 0;
float: right;
}
div.tree-child, div.tree-child-last {
div.tree-child,
div.tree-child-last {
background-position: -65px center;
}
/**
* Multiselect form
*/
dl.multiselect dt, dl.multiselect dd {
dl.multiselect dt,
dl.multiselect dd {
float: right;
margin: 0 0 0 1em;
}
......@@ -176,12 +176,15 @@ tr .ajax-progress .throbber {
/**
* Multiselect form
*/
dl.multiselect dd, dl.multiselect dd .form-item, dl.multiselect dd select {
dl.multiselect dd,
dl.multiselect dd .form-item,
dl.multiselect dd select {
font-family: inherit;
font-size: inherit;
width: 14em;
}
dl.multiselect dt, dl.multiselect dd {
dl.multiselect dt,
dl.multiselect dd {
float: left; /* LTR */
line-height: 1.75em;
padding: 0;
......@@ -217,7 +220,8 @@ dl.multiselect .form-item {
width: 0%;
background-color: #47C965;
}
input.password-confirm, input.password-field {
input.password-confirm,
input.password-field {
width: 16em;
margin-bottom: 0.4em;
}
......
......@@ -9,6 +9,8 @@ ul.menu li {
ul li.collapsed {
list-style-image: url(../../misc/menu-collapsed-rtl.png);
}
li.expanded, li.collapsed, li.leaf {
li.expanded,
li.collapsed,
li.leaf {
padding: 0.2em 0 0 0.5em;
}
......@@ -20,7 +20,9 @@ ul li.leaf {
list-style-type: square;
list-style-image: url(../../misc/menu-leaf.png);
}
li.expanded, li.collapsed, li.leaf {
li.expanded,
li.collapsed,
li.leaf {
padding: 0.2em 0.5em 0 0; /* LTR */
margin: 0;
}
......
......@@ -29,7 +29,8 @@ th {
th.active img {
display: inline;
}
tr.even, tr.odd {
tr.even,
tr.odd {
background-color: #eee;
border-bottom: 1px solid #ccc;
padding: 0.1em 0.6em;
......@@ -43,7 +44,8 @@ tr.drag-previous {
td.active {
background-color: #ddd;
}
td.checkbox, th.checkbox {
td.checkbox,
th.checkbox {
text-align: center;
}
tbody {
......@@ -86,18 +88,25 @@ thead th {
margin-top: 1em;
margin-bottom: 1em;
}
tr.odd .form-item, tr.even .form-item {
tr.odd .form-item,
tr.even .form-item {
margin-top: 0;
margin-bottom: 0;
white-space: nowrap;
}
tr.merge-down, tr.merge-down td, tr.merge-down th {
tr.merge-down,
tr.merge-down td,
tr.merge-down th {
border-bottom-width: 0 !important;
}
tr.merge-up, tr.merge-up td, tr.merge-up th {
tr.merge-up,
tr.merge-up td,
tr.merge-up th {
border-top-width: 0 !important;
}
.form-item input.error, .form-item textarea.error, .form-item select.error {
.form-item input.error,
.form-item textarea.error,
.form-item select.error {
border: 2px solid red;
}
.form-item .description {
......@@ -111,33 +120,40 @@ tr.merge-up, tr.merge-up td, tr.merge-up th {
display: inline;
font-weight: normal;
}
.form-checkboxes, .form-radios {
.form-checkboxes,
.form-radios {
margin: 1em 0;
}
.form-checkboxes .form-item, .form-radios .form-item {
.form-checkboxes .form-item,
.form-radios .form-item {
margin-top: 0.4em;
margin-bottom: 0.4em;
}
.form-type-radio .description, .form-type-checkbox .description {
.form-type-radio .description,
.form-type-checkbox .description {
margin-left: 2.4em;
}
input.form-checkbox, input.form-radio {
input.form-checkbox,
input.form-radio {
vertical-align: middle;
}
.marker, .form-required {
.marker,
.form-required {
color: #f00;
}
.more-help-link {
text-align: right; /* LTR */
}
.more-help-link a, a.module-link {
.more-help-link a,
a.module-link {
padding: 1px 0 1px 20px; /* LTR */
}
a.module-link {
display: block;
white-space: nowrap;
}
.more-help-link a, a.module-link-help {
.more-help-link a,
a.module-link-help {
background: url(../../misc/help.png) 0 50% no-repeat; /* LTR */
}
a.module-link-permissions {
......
......@@ -52,7 +52,8 @@
background: #ffe;
}
.current-version, .new-version {
.current-version,
.new-version {
direction: ltr; /* Note: version numbers should always be LTR. */
}
......
......@@ -6,11 +6,13 @@
#permissions td.permission {
padding-left: 1.5em; /* LTR */
}
#permissions tr.odd .form-item, #permissions tr.even .form-item {
#permissions tr.odd .form-item,
#permissions tr.even .form-item {
white-space: normal;
}
/* Override the default multiselect layout in system-behavior.css. */
#user-filter-form dl.multiselect dd, dl.multiselect dd .form-item {
#user-filter-form dl.multiselect dd,
dl.multiselect dd .form-item {
width: 20em; /* 6em label + 14em select */
}
#user-filter-form dl.multiselect dd .form-item label {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment