replaced redundant -*-border-radius box-shadows and others with corresponding mixins

This commit is contained in:
Koen Punt 2012-11-23 17:51:38 +01:00
parent 84de1b71d1
commit b825582eb1
26 changed files with 240 additions and 268 deletions

View file

@ -41,16 +41,16 @@
}
.middle_box_content {
border-radius: 0;
@include border-radius(0);
border: none;
font-size: 12px;
background-color:#f5f5f5;
background-color: #f5f5f5;
border: none;
border-top:1px solid #eee;
border-top: 1px solid #eee;
}
.bottom_box_content {
border-top:1px solid #eee;
border-top: 1px solid #eee;
}
}
@ -59,14 +59,14 @@
*
*/
.ui-box {
background:#F9F9F9;
background: #F9F9F9;
margin-bottom: 25px;
@include round-borders-all(4px);
border-color: #CCC;
@include solid_shade;
&.white {
background:#fff;
background: #fff;
}
ul {
@ -87,16 +87,16 @@
}
form {
padding:9px 0;
padding: 9px 0;
margin: 0px;
}
.nav-pills {
li {
padding:3px 0;
padding: 3px 0;
&.active a { background-color: $style_color; }
a {
border-radius: 7px;
@include border-radius(7px);
}
}
}
@ -116,20 +116,20 @@
padding: 5px 20px;
}
.middle_title {
background:#f5f5f5;
background: #f5f5f5;
margin:20px -20px;
padding: 0 20px;
border-top:1px solid #eee;
border-bottom:1px solid #eee;
border-top: 1px solid #eee;
border-bottom: 1px solid #eee;
font-size: 14px;
color:#777;
color: #777;
}
}
.row_title {
font-weight: bold;
color:#444;
color: #444;
&:hover {
color:#444;
color: #444;
text-decoration: underline;
}
}

View file

@ -1,42 +1,42 @@
.btn {
@include bg-gradient(#f7f7f7, #d5d5d5);
border-color:#aaa;
border-color: #aaa;
&:hover {
@include bg-gray-gradient;
border-color:#bbb;
color:#333;
border-color: #bbb;
color: #333;
}
&.primary {
background:#2a79A3;
background: #2a79A3;
@include bg-gradient(#47A7b7, #2585b5);
border-color: #2A79A3;
color:#fff;
color: #fff;
text-shadow: 0 1px 1px #268;
&:hover {
background: $blue_link;
color:#fff;
color: #fff;
}
&.disabled {
color:#fff;
background:#29B;
color: #fff;
background: #29B;
}
}
&.btn-info {
background:#5aB9C3;
background: #5aB9C3;
border-color: $blue_link;
color:#fff;
color: #fff;
text-shadow: 0 1px 1px #268;
&:hover {
background: $blue_link;
color:#fff;
color: #fff;
}
&.disabled {
color:#fff;
background:#29B;
color: #fff;
background: #29B;
}
}
@ -49,8 +49,8 @@
}
&.disabled {
color:#fff;
background:#2b2;
color: #fff;
background: #2b2;
}
}
@ -73,7 +73,7 @@
border-color: #BD362F;
&:hover {
color:#fff;
color: #fff;
background: #EE4E49;
}
}
@ -87,13 +87,13 @@
}
&.active {
border-color:#aaa;
background-color:#ccc;
border-color: #aaa;
background-color: #ccc;
}
&.very_small {
font-size: 11px;
padding:2px 6px;
padding: 2px 6px;
line-height: 16px;
margin: 2px;
}
@ -105,6 +105,6 @@
&.padded {
margin-right: 3px;
padding:4px 10px 4px;
padding: 4px 10px 4px;
}
}

View file

@ -32,22 +32,22 @@
.light { color: #888 }
/** PILLS & TABS**/
.nav-pills a:hover { background-color:#888; }
.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.nav-tabs {
li {
> a {
padding:8px 20px;
padding: 8px 20px;
margin-right: 7px;
line-height: 19px;
border-color: #EEE;
color:#888;
color: #888;
border-bottom: 1px solid #ddd;
.badge {
background-color: #eee;
color:#888;
text-shadow:0 1px 1px #fff;
color: #888;
text-shadow: 0 1px 1px #fff;
}
i[class^="icon-"] {
line-height: 14px;
@ -57,7 +57,7 @@
> a {
border-color: #CCC;
border-bottom: 1px solid #fff;
color:#333;
color: #333;
}
}
}
@ -69,7 +69,7 @@
.alert-message.error { @extend .alert-error; }
/** AVATARS **/
img.avatar { float: left; margin-right: 12px; width: 40px; border:1px solid #ddd; padding: 1px; }
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; }
@ -77,8 +77,8 @@ 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 {
@ -87,7 +87,7 @@ input[type='search'].search-text-input {
background-position: 10px;
padding-left: 25px;
@include border-radius(4px);
border:1px solid #ccc;
border: 1px solid #ccc;
}
fieldset legend { font-size: 17px; }

View file

@ -3,7 +3,7 @@
*
*/
.file_holder {
border:1px solid #BBB;
border: 1px solid #BBB;
margin-bottom: 1em;
@include solid_shade;
@ -28,19 +28,19 @@
font-size: 14px;
text-shadow: 0 1px 1px #fff;
small {
color:#999;
color: #999;
font-size: 13px;
}
}
}
.file_content {
background:#fff;
background: #fff;
font-size: 11px;
&.wiki {
font-size: 13px;
code {
padding:0 4px;
padding: 0 4px;
}
padding: 20px;
h1, h2 {
@ -52,7 +52,7 @@
}
&.image_file {
background:#eee;
background: #eee;
text-align: center;
img {
padding: 100px;
@ -83,12 +83,12 @@
&:last-child {
border-right: none;
}
background:#fff;
background: #fff;
padding: 5px;
}
.author,
.blame_commit {
background:#f5f5f5;
background: #f5f5f5;
vertical-align: top;
}
.lines {
@ -102,7 +102,7 @@
}
&.logs {
background:#eee;
background: #eee;
max-height: 700px;
overflow-y: auto;
@ -113,10 +113,10 @@
margin-bottom: 0;
background: white;
li {
color:#888;
color: #888;
p {
margin: 0;
color:#333;
color: #333;
line-height: 24px;
padding-left: 10px;
}

View file

@ -12,10 +12,10 @@ ul {
border-bottom: 1px solid #eee;
border-bottom: 1px solid rgba(0, 0, 0, 0.05);
&.smoke { background-color:#f5f5f5; }
&.smoke { background-color: #f5f5f5; }
&:hover {
background: $hover;
border-bottom:1px solid #ADF;
border-bottom: 1px solid #ADF;
}
&:last-child { border:none }
.author { color: #999; }
@ -23,7 +23,7 @@ ul {
p {
padding-top: 1px;
margin: 0;
color:#222;
color: #222;
img {
position: relative;
top: 3px;

View file

@ -2,7 +2,7 @@ table {
@extend .table;
@extend .table-striped;
@include solid_shade;
border:1px solid #bbb;
border: 1px solid #bbb;
width: 100%;
&.low {
@ -31,7 +31,7 @@ table {
}
td {
border-color:#f1f1f1;
border-color: #f1f1f1;
line-height: 28px;
.s16 {
@ -40,11 +40,11 @@ table {
}
&:first-child {
border-left:1px solid #bbb;
border-left: 1px solid #bbb;
}
&:last-child {
border-right:1px solid #bbb;
border-right: 1px solid #bbb;
}
}

View file

@ -8,7 +8,7 @@ h3, h4, h5, h6 { line-height: 36px; }
h5 { font-size: 14px; }
h3.page_title {
color:#456;
color: #456;
font-size: 20px;
font-weight: normal;
line-height: 28px;
@ -25,7 +25,7 @@ pre {
&.dark {
background: #333;
color:#f5f5f5;
color: #f5f5f5;
}
}
@ -63,8 +63,8 @@ a {
&.supp_diff_link {
text-align: center;
padding:20px 0;
background:#f1f1f1;
padding: 20px 0;
background: #f1f1f1;
width: 100%;
float: left;
}