Added some uniformity, all css properties and values are separated by a colon and a space :

This commit is contained in:
Koen Punt 2012-11-23 17:33:43 +01:00
parent 755e4a4700
commit 84de1b71d1
26 changed files with 502 additions and 502 deletions

View file

@ -15,7 +15,7 @@
@extend .borders;
@extend .prepend-top-20;
@extend .append-bottom-20;
border-width:1px;
border-width: 1px;
@include solid_shade;
@ -30,22 +30,22 @@
.top_box_content,
.middle_box_content,
.bottom_box_content {
padding:15px;
padding: 15px;
pre {
background: none !important;
margin:0;
border:none;
padding:0;
margin: 0;
border: none;
padding: 0;
}
}
.middle_box_content {
border-radius:0;
border:none;
font-size:12px;
border-radius: 0;
border: none;
font-size: 12px;
background-color:#f5f5f5;
border:none;
border: none;
border-top:1px solid #eee;
}
@ -70,7 +70,7 @@
}
ul {
margin:0;
margin: 0;
}
h5, .title {
@ -82,21 +82,21 @@
&.small {
line-height: 28px;
font-size: 14px;
line-height:28px;
line-height: 28px;
text-shadow: 0 1px 1px white;
}
form {
padding:9px 0;
margin:0px;
margin: 0px;
}
.nav-pills {
li {
padding:3px 0;
&.active a { background-color:$style_color; }
&.active a { background-color: $style_color; }
a {
border-radius:7px;
border-radius: 7px;
}
}
}
@ -105,7 +105,7 @@
.bottom {
@include bg-gray-gradient;
@include round-borders-bottom(4px);
border-bottom:none;
border-bottom: none;
border-top: 1px solid #bbb;
}
@ -121,33 +121,33 @@
padding: 0 20px;
border-top:1px solid #eee;
border-bottom:1px solid #eee;
font-size:14px;
font-size: 14px;
color:#777;
}
}
.row_title {
font-weight:bold;
font-weight: bold;
color:#444;
&:hover {
color:#444;
text-decoration:underline;
text-decoration: underline;
}
}
li, .wll {
padding:10px;
padding: 10px;
&:first-child {
@include round-borders-top(4px);
border-top:none;
border-top: none;
}
&:last-child {
@include round-borders-bottom(4px);
border:none;
border: none;
}
}
.ui-box-body {
padding:10px;
padding: 10px;
}
}

View file

@ -14,7 +14,7 @@
color:#fff;
text-shadow: 0 1px 1px #268;
&:hover {
background:$blue_link;
background: $blue_link;
color:#fff;
}
@ -30,7 +30,7 @@
color:#fff;
text-shadow: 0 1px 1px #268;
&:hover {
background:$blue_link;
background: $blue_link;
color:#fff;
}
@ -60,12 +60,12 @@
}
&.cancel-btn {
float:right;
float: right;
}
&.wide {
padding-left:30px;
padding-right:30px;
padding-left: 30px;
padding-right: 30px;
}
&.danger {
@ -92,19 +92,19 @@
}
&.very_small {
font-size:11px;
font-size: 11px;
padding:2px 6px;
line-height: 16px;
margin:2px;
margin: 2px;
}
&.grouped {
margin-right:7px;
float:left;
margin-right: 7px;
float: left;
}
&.padded {
margin-right:3px;
margin-right: 3px;
padding:4px 10px 4px;
}
}

View file

@ -24,7 +24,7 @@
.lborder { border-left:1px solid #eee }
.no-padding { padding:0 !important; }
.underlined { border-bottom: 1px solid #CCC; }
.no-borders { border:none; }
.no-borders { border: none; }
.vlink { color: $link_color !important; }
.underlined_link { text-decoration: underline; }
.borders { border: 1px solid #ccc; @include shade; }
@ -34,7 +34,7 @@
/** PILLS & TABS**/
.nav-pills a:hover { background-color:#888; }
.nav-pills .active a { background-color: $style_color; }
.nav-tabs > li > a, .nav-pills > li > a { color:$style_color; }
.nav-tabs > li > a, .nav-pills > li > a { color: $style_color; }
.nav.nav-tabs {
li {
> a {
@ -50,7 +50,7 @@
text-shadow:0 1px 1px #fff;
}
i[class^="icon-"] {
line-height:14px;
line-height: 14px;
}
}
&.active {
@ -69,23 +69,23 @@
.alert-message.error { @extend .alert-error; }
/** AVATARS **/
img.avatar { float:left; margin-right:12px; width:40px; border:1px solid #ddd; padding:1px; }
img.avatar.s16 { width:16px; height:16px; margin-right:6px; }
img.avatar.s24 { width:24px; height:24px; margin-right:8px; }
img.avatar.s32 { width:32px; height:32px; margin-right:10px; }
img.lil_av { padding-left: 4px; padding-right:3px; }
img.avatar { float: left; margin-right: 12px; width: 40px; border:1px solid #ddd; padding: 1px; }
img.avatar.s16 { width: 16px; height: 16px; margin-right: 6px; }
img.avatar.s24 { width: 24px; height: 24px; margin-right: 8px; }
img.avatar.s32 { width: 32px; height: 32px; margin-right: 10px; }
img.lil_av { padding-left: 4px; padding-right: 3px; }
img.small { width: 80px; }
/** HELPERS **/
.nothing_here_message { text-align:center; padding:20px; color:#777; }
p.slead { color:#456; font-size:16px; margin-bottom: 12px; font-weight: 200; line-height: 24px; }
.nothing_here_message { text-align: center; padding: 20px; color:#777; }
p.slead { color:#456; font-size: 16px; margin-bottom: 12px; font-weight: 200; line-height: 24px; }
/** FORMS **/
input[type='search'].search-text-input {
background-image: url("icon-search.png");
background-repeat: no-repeat;
background-position: 10px;
padding-left:25px;
padding-left: 25px;
@include border-radius(4px);
border:1px solid #ccc;
}

View file

@ -4,7 +4,7 @@
*/
.file_holder {
border:1px solid #BBB;
margin-bottom:1em;
margin-bottom: 1em;
@include solid_shade;
.file_title {
@ -16,20 +16,20 @@
text-align: left;
color: #666;
padding: 9px 10px;
height:18px;
height: 18px;
.options {
float:right;
float: right;
margin-top: -5px;
}
.file_name {
color:$style_color;
font-size:14px;
color: $style_color;
font-size: 14px;
text-shadow: 0 1px 1px #fff;
small {
color:#999;
font-size:13px;
font-size: 13px;
}
}
}
@ -42,7 +42,7 @@
code {
padding:0 4px;
}
padding:20px;
padding: 20px;
h1, h2 {
line-height: 46px;
}
@ -53,10 +53,10 @@
&.image_file {
background:#eee;
text-align:center;
text-align: center;
img {
padding:100px;
max-width:300px;
padding: 100px;
max-width: 300px;
}
}
@ -69,34 +69,34 @@
*/
&.blame {
table {
border:none;
box-shadow:none;
margin:0;
border: none;
box-shadow: none;
margin: 0;
}
tr {
border-bottom: 1px solid #eee;
}
td {
&:first-child {
border-left:none;
border-left: none;
}
&:last-child {
border-right:none;
border-right: none;
}
background:#fff;
padding:5px;
padding: 5px;
}
.author,
.blame_commit {
background:#f5f5f5;
vertical-align:top;
vertical-align: top;
}
.lines {
pre {
padding:0;
margin:0;
border:none;
border-radius: 0;
padding: 0;
margin: 0;
background: none;
border: none;
}
}
}
@ -107,22 +107,22 @@
overflow-y: auto;
ol {
margin-left:40px;
margin-left: 40px;
padding: 10px 0;
border-left: 1px solid #CCC;
margin-bottom:0;
margin-bottom: 0;
background: white;
li {
color:#888;
p {
margin:0;
margin: 0;
color:#333;
line-height:24px;
line-height: 24px;
padding-left: 10px;
}
&:hover {
background:$hover;
background: $hover;
}
}
}

View file

@ -14,7 +14,7 @@ ul {
&.smoke { background-color:#f5f5f5; }
&:hover {
background:$hover;
background: $hover;
border-bottom:1px solid #ADF;
}
&:last-child { border:none }
@ -22,11 +22,11 @@ ul {
p {
padding-top: 1px;
margin:0;
margin: 0;
color:#222;
img {
position:relative;
top:3px;
position: relative;
top: 3px;
}
}
}
@ -35,7 +35,7 @@ ul {
ol, ul {
&.styled {
li {
padding:2px;
padding: 2px;
}
}
}

View file

@ -3,11 +3,11 @@ table {
@extend .table-striped;
@include solid_shade;
border:1px solid #bbb;
width:100%;
width: 100%;
&.low {
td {
line-height:18px;
line-height: 18px;
}
}
@ -32,7 +32,7 @@ table {
td {
border-color:#f1f1f1;
line-height:28px;
line-height: 28px;
.s16 {
margin-top: 5px;
@ -53,10 +53,10 @@ table {
}
&.lite {
border:none;
box-shadow:none;
border: none;
box-shadow: none;
tr, td {
border:none;
border: none;
background:none !important;
}
}

View file

@ -5,11 +5,11 @@
h1, h2, h3, h4, h5, h6 { margin: 0; }
h3, h4, h5, h6 { line-height: 36px; }
h5 { font-size:14px; }
h5 { font-size: 14px; }
h3.page_title {
color:#456;
font-size:20px;
font-size: 20px;
font-weight: normal;
line-height: 28px;
}
@ -37,7 +37,7 @@ a {
outline: none;
color: $link_color;
&:hover {
text-decoration:none;
text-decoration: none;
color: $blue_link;
}
@ -53,24 +53,24 @@ a {
}
&.lined {
text-decoration:underline;
&:hover { text-decoration:underline; }
text-decoration: underline;
&:hover { text-decoration: underline; }
}
&.gray {
color:gray;
color: gray;
}
&.supp_diff_link {
text-align:center;
text-align: center;
padding:20px 0;
background:#f1f1f1;
width:100%;
float:left;
width: 100%;
float: left;
}
&.neib {
margin-right:15px;
margin-right: 15px;
}
}