Commit da8ede59 authored by Dries's avatar Dries

- Patch #889256 by tim.plunkett: clean up CSS coding style.

parent d961f5eb
...@@ -155,7 +155,7 @@ html.js #preview { ...@@ -155,7 +155,7 @@ html.js #preview {
} }
#preview-footer-wrapper .preview-block { #preview-footer-wrapper .preview-block {
border: 1px solid #444; border: 1px solid #444;
border-color: rgba(255,255,255,0.1); border-color: rgba(255, 255, 255, 0.1);
margin: 20px 0; margin: 20px 0;
padding: 10px; padding: 10px;
} }
...@@ -196,6 +196,6 @@ html.js #preview { ...@@ -196,6 +196,6 @@ html.js #preview {
#preview-footer-columns .preview-content li a:hover, #preview-footer-columns .preview-content li a:hover,
#preview-footer-columns .preview-content li a:focus { #preview-footer-columns .preview-content li a:focus {
background-color: #1f1f21; background-color: #1f1f21;
background-color: rgba(255,255,255,.05); background-color: rgba(255, 255, 255, 0.05);
text-decoration: none; text-decoration: none;
} }
...@@ -55,7 +55,7 @@ fieldset legend { ...@@ -55,7 +55,7 @@ fieldset legend {
} }
#footer-wrapper a { #footer-wrapper a {
color: #fcfcfc; color: #fcfcfc;
} }
#footer-wrapper a:hover, #footer-wrapper a:hover,
#footer-wrapper a:focus { #footer-wrapper a:focus {
color: #fefefe; color: #fefefe;
......
...@@ -7,7 +7,7 @@ th, ...@@ -7,7 +7,7 @@ th,
td { td {
text-align: right; text-align: right;
} }
blockquote{ blockquote {
border-left: none; border-left: none;
border-right: 4px solid #afafaf; border-right: 4px solid #afafaf;
} }
...@@ -171,7 +171,7 @@ a.button { ...@@ -171,7 +171,7 @@ a.button {
#footer li a { #footer li a {
float: right; float: right;
border-left: 1px solid #555; border-left: 1px solid #555;
border-color: rgba(255,255,255,0.15); border-color: rgba(255, 255, 255, 0.15);
border-right: none; border-right: none;
} }
#footer li.first a { #footer li.first a {
......
...@@ -18,7 +18,7 @@ a:visited { ...@@ -18,7 +18,7 @@ a:visited {
} }
a:hover, a:hover,
a:active, a:active,
a:focus{ a:focus {
text-decoration: underline; text-decoration: underline;
} }
h1, h1,
...@@ -95,7 +95,7 @@ kbd { ...@@ -95,7 +95,7 @@ kbd {
pre { pre {
background-color: #f2f2f2; background-color: #f2f2f2;
background-color: rgba(40, 40, 0, 0.06); background-color: rgba(40, 40, 0, 0.06);
margin: 10px 0px; margin: 10px 0;
overflow: hidden; overflow: hidden;
padding: 15px; padding: 15px;
white-space: pre-wrap; white-space: pre-wrap;
...@@ -142,21 +142,21 @@ blockquote { ...@@ -142,21 +142,21 @@ blockquote {
border-left: 1px solid #bbb; border-left: 1px solid #bbb;
font-style: italic; font-style: italic;
margin: 1.5em 10px; margin: 1.5em 10px;
padding: .5em 10px; padding: 0.5em 10px;
} }
blockquote:before { blockquote:before {
color: #bbb; color: #bbb;
content: "\201C"; content: "\201C";
font-size: 3em; font-size: 3em;
line-height: .1em; line-height: 0.1em;
margin-right: .2em; margin-right: 0.2em;
vertical-align: -.4em; vertical-align: -.4em;
} }
blockquote:after { blockquote:after {
color: #bbb; color: #bbb;
content: "\201D"; content: "\201D";
font-size: 3em; font-size: 3em;
line-height: .1em; line-height: 0.1em;
vertical-align: -.45em; vertical-align: -.45em;
} }
blockquote :first-child { blockquote :first-child {
...@@ -205,11 +205,11 @@ tr th { ...@@ -205,11 +205,11 @@ tr th {
#footer-wrapper tr td, #footer-wrapper tr td,
#footer-wrapper tr th { #footer-wrapper tr th {
border-color: #555; border-color: #555;
border-color: rgba(255,255,255,0.18); border-color: rgba(255, 255, 255, 0.18);
} }
tr.odd { tr.odd {
background: #e4e4e4; background: #e4e4e4;
background: rgba(0, 0, 0, 0.105) background: rgba(0, 0, 0, 0.105);
} }
tr, tr,
tr.even { tr.even {
...@@ -376,7 +376,7 @@ h1#site-name { ...@@ -376,7 +376,7 @@ h1#site-name {
.region-header .block-menu li a:focus, .region-header .block-menu li a:focus,
.region-header .block-menu li a:active { .region-header .block-menu li a:active {
text-decoration: none; text-decoration: none;
background: rgba(255, 255, 255, 0.15) background: rgba(255, 255, 255, 0.15);
} }
.region-header .block-menu li.last a { .region-header .block-menu li.last a {
border-bottom: 0; border-bottom: 0;
...@@ -426,7 +426,7 @@ h1#site-name { ...@@ -426,7 +426,7 @@ h1#site-name {
.region-header #block-user-login .form-actions { .region-header #block-user-login .form-actions {
margin: 4px 0 0; margin: 4px 0 0;
padding: 0; padding: 0;
clear: both clear: both;
} }
.region-header #block-user-login input.form-submit { .region-header #block-user-login input.form-submit {
border: 1px solid; border: 1px solid;
...@@ -780,13 +780,13 @@ ul.links { ...@@ -780,13 +780,13 @@ ul.links {
#triptych-wrapper { #triptych-wrapper {
background-color: #fafafa; background-color: #fafafa;
background: rgba(40,40,0,0.08); background: rgba(40, 40, 0, 0.08);
} }
#triptych h2 { #triptych h2 {
color: #000; color: #000;
font-size: 1.714em; font-size: 1.714em;
margin-bottom: 0.8em; margin-bottom: 0.8em;
text-shadow: 0px 1px 0 #fff; text-shadow: 0 1px 0 #fff;
text-align: center; text-align: center;
line-height: 1; line-height: 1;
} }
...@@ -835,23 +835,23 @@ ul.links { ...@@ -835,23 +835,23 @@ ul.links {
#footer-wrapper { #footer-wrapper {
color: #c0c0c0; color: #c0c0c0;
color: rgba(255,255,255,0.65); color: rgba(255, 255, 255, 0.65);
font-size: 0.857em; font-size: 0.857em;
} }
#footer-wrapper a { #footer-wrapper a {
color: #fcfcfc; color: #fcfcfc;
color: rgba(255,255,255,0.8); color: rgba(255, 255, 255, 0.8);
} }
#footer-wrapper a:hover, #footer-wrapper a:hover,
#footer-wrapper a:focus { #footer-wrapper a:focus {
color: #fefefe; color: #fefefe;
color: rgba(255,255,255,0.95); color: rgba(255, 255, 255, 0.95);
text-decoration: underline; text-decoration: underline;
} }
#footer-wrapper .block { #footer-wrapper .block {
margin: 20px 0; margin: 20px 0;
border: 1px solid #444; border: 1px solid #444;
border-color: rgba(255,255,255,0.1); border-color: rgba(255, 255, 255, 0.1);
padding: 10px; padding: 10px;
} }
#footer-columns .block-menu, #footer-columns .block-menu,
...@@ -861,10 +861,10 @@ ul.links { ...@@ -861,10 +861,10 @@ ul.links {
border: none; border: none;
} }
#footer .block { #footer .block {
margin: .5em 0; margin: 0.5em 0;
} }
#footer .block .content { #footer .block .content {
padding: .5em 0; padding: 0.5em 0;
margin-top: 0; margin-top: 0;
} }
#footer .block h2 { #footer .block h2 {
...@@ -872,7 +872,7 @@ ul.links { ...@@ -872,7 +872,7 @@ ul.links {
} }
#footer-columns h2 { #footer-columns h2 {
border-bottom: 1px solid #555; border-bottom: 1px solid #555;
border-color: rgba(255,255,255,0.15); border-color: rgba(255, 255, 255, 0.15);
font-size: 1em; font-size: 1em;
margin-bottom: 0; margin-bottom: 0;
padding-bottom: 3px; padding-bottom: 3px;
...@@ -887,7 +887,7 @@ ul.links { ...@@ -887,7 +887,7 @@ ul.links {
#footer-columns .content ul { #footer-columns .content ul {
list-style: none; list-style: none;
padding-left: 0; /* LTR */ padding-left: 0; /* LTR */
margin-left: 0 margin-left: 0;
} }
#footer-columns .content li { #footer-columns .content li {
list-style: none; list-style: none;
...@@ -897,7 +897,7 @@ ul.links { ...@@ -897,7 +897,7 @@ ul.links {
#footer-columns .content li a { #footer-columns .content li a {
display: block; display: block;
border-bottom: 1px solid #555; border-bottom: 1px solid #555;
border-color: rgba(255,255,255,0.15); border-color: rgba(255, 255, 255, 0.15);
line-height: 1.2; line-height: 1.2;
padding: 0.8em 2px 0.8em 20px; /* LTR */ padding: 0.8em 2px 0.8em 20px; /* LTR */
text-indent: -15px; text-indent: -15px;
...@@ -905,14 +905,14 @@ ul.links { ...@@ -905,14 +905,14 @@ ul.links {
#footer-columns .content li a:hover, #footer-columns .content li a:hover,
#footer-columns .content li a:focus { #footer-columns .content li a:focus {
background-color: #1f1f21; background-color: #1f1f21;
background-color: rgba(255,255,255,.05); background-color: rgba(255, 255, 255, 0.05);
text-decoration: none; text-decoration: none;
} }
#footer { #footer {
letter-spacing: 0.2px; letter-spacing: 0.2px;
margin-top: 30px; margin-top: 30px;
border-top: 1px solid #555; border-top: 1px solid #555;
border-color: rgba(255,255,255,0.15); border-color: rgba(255, 255, 255, 0.15);
} }
#footer .region { #footer .region {
margin-top: 20px; margin-top: 20px;
...@@ -931,7 +931,7 @@ ul.links { ...@@ -931,7 +931,7 @@ ul.links {
padding: 0 12px; padding: 0 12px;
display: block; display: block;
border-right: 1px solid #555; /* LTR */ border-right: 1px solid #555; /* LTR */
border-color: rgba(255,255,255,0.15); border-color: rgba(255, 255, 255, 0.15);
} }
#footer li.first a { #footer li.first a {
padding-left: 0; /* LTR */ padding-left: 0; /* LTR */
...@@ -945,7 +945,7 @@ ul.links { ...@@ -945,7 +945,7 @@ ul.links {
} }
#footer-wrapper tr.even { #footer-wrapper tr.even {
background-color: #2c2c2c; background-color: #2c2c2c;
background-color: rgba(0,0,0,0.15) background-color: rgba(0, 0, 0, 0.15);
} }
/* --------------- System Tabs --------------- */ /* --------------- System Tabs --------------- */
...@@ -1008,7 +1008,7 @@ ul.links { ...@@ -1008,7 +1008,7 @@ ul.links {
padding-left: 0; /* LTR */ padding-left: 0; /* LTR */
} }
.tabs ul.secondary li a { .tabs ul.secondary li a {
padding: .25em .5em; padding: 0.25em 0.5em;
} }
.tabs ul.secondary li a.active { .tabs ul.secondary li a.active {
background: #f2f2f2; background: #f2f2f2;
...@@ -1021,7 +1021,7 @@ ul.links { ...@@ -1021,7 +1021,7 @@ ul.links {
ul.action-links { ul.action-links {
list-style: none; list-style: none;
margin: 5px; margin: 5px;
padding: .5em 1em; padding: 0.5em 1em;
} }
ul.action-links li { ul.action-links li {
display: inline-block; display: inline-block;
...@@ -1317,7 +1317,7 @@ html.js input.throbbing { ...@@ -1317,7 +1317,7 @@ html.js input.throbbing {
/* Comment form */ /* Comment form */
.comment-form .form-item { .comment-form .form-item {
overflow: hidden; overflow: hidden;
margin-bottom: .8em; margin-bottom: 0.8em;
} }
.comment-form .form-type-textfield label, .comment-form .form-type-textfield label,
.comment-form .form-type-item label { .comment-form .form-type-item label {
...@@ -1471,7 +1471,7 @@ div.add-or-remove-shortcuts { ...@@ -1471,7 +1471,7 @@ div.add-or-remove-shortcuts {
text-shadow: none; text-shadow: none;
} }
.page-admin-structure-block-demo #featured .block-region { .page-admin-structure-block-demo #featured .block-region {
font-size: .55em; font-size: 0.55em;
} }
.page-admin-structure-block-demo #header .block-region { .page-admin-structure-block-demo #header .block-region {
width: 500px; width: 500px;
...@@ -1496,7 +1496,7 @@ div.admin-panel { ...@@ -1496,7 +1496,7 @@ div.admin-panel {
background: #fbfbfb; background: #fbfbfb;
border: 1px solid #ccc; border: 1px solid #ccc;
margin: 10px 0; margin: 10px 0;
padding: 0px 5px 5px; padding: 0 5px 5px;
} }
div.admin-panel h3 { div.admin-panel h3 {
margin: 16px 7px; margin: 16px 7px;
...@@ -1533,8 +1533,8 @@ div.admin-panel .description { ...@@ -1533,8 +1533,8 @@ div.admin-panel .description {
display: none; display: none;
} }
.overlay-processed .field-type-image { .overlay-processed .field-type-image {
display: block; display: block;
float: none; float: none;
} }
.overlay #messages { .overlay #messages {
width: auto; width: auto;
......
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