Skip to content
Snippets Groups Projects
Commit c05692b7 authored by randx's avatar randx
Browse files

scss refactoring

parent fee26c58
No related branches found
No related tags found
No related merge requests found
Loading
@@ -468,12 +468,8 @@ form {
Loading
@@ -468,12 +468,8 @@ form {
h5, .title { h5, .title {
padding: 0 10px; padding: 0 10px;
@include round-borders-top(4px); @include round-borders-top(4px);
@include bg-gray-gradient;
border-bottom: 1px solid #bbb; border-bottom: 1px solid #bbb;
background:#eee;
background-image: -webkit-gradient(linear, 0 0, 0 30, color-stop(0.066, #eee), to(#dfdfdf));
background-image: -webkit-linear-gradient(#eee 6.6%, #dfdfdf);
background-image: -moz-linear-gradient(#eee 6.6%, #dfdfdf);
background-image: -o-linear-gradient(#eee 6.6%, #dfdfdf);
   
&.small { &.small {
line-height: 28px; line-height: 28px;
Loading
@@ -499,10 +495,7 @@ form {
Loading
@@ -499,10 +495,7 @@ form {
} }
   
.bottom { .bottom {
background-image: -webkit-gradient(linear, 0 0, 0 30, color-stop(0.066, #eee), to(#dfdfdf)); @include bg-gray-gradient;
background-image: -webkit-linear-gradient(#eee 6.6%, #dfdfdf);
background-image: -moz-linear-gradient(#eee 6.6%, #dfdfdf);
background-image: -o-linear-gradient(#eee 6.6%, #dfdfdf);
@include round-borders-bottom(4px); @include round-borders-bottom(4px);
border-bottom:none; border-bottom:none;
border-top: 1px solid #bbb; border-top: 1px solid #bbb;
Loading
@@ -555,11 +548,7 @@ table.admin-table {
Loading
@@ -555,11 +548,7 @@ table.admin-table {
th { th {
border-color: #CCC; border-color: #CCC;
border-bottom: 1px solid #bbb; border-bottom: 1px solid #bbb;
background:#eee; @include bg-gray-gradient;
background-image: -webkit-gradient(linear, 0 0, 0 30, color-stop(0.066, #eee), to(#dfdfdf));
background-image: -webkit-linear-gradient(#eee 6.6%, #dfdfdf);
background-image: -moz-linear-gradient(#eee 6.6%, #dfdfdf);
background-image: -o-linear-gradient(#eee 6.6%, #dfdfdf);
} }
} }
   
Loading
@@ -682,11 +671,7 @@ h3.page_title {
Loading
@@ -682,11 +671,7 @@ h3.page_title {
   
.file_title { .file_title {
border-bottom: 1px solid #bbb; border-bottom: 1px solid #bbb;
background:#eee; @include bg-gray-gradient;
background-image: -webkit-gradient(linear, 0 0, 0 30, color-stop(0.066, #eee), to(#dfdfdf));
background-image: -webkit-linear-gradient(#eee 6.6%, #dfdfdf);
background-image: -moz-linear-gradient(#eee 6.6%, #dfdfdf);
background-image: -o-linear-gradient(#eee 6.6%, #dfdfdf);
margin: 0; margin: 0;
font-weight: normal; font-weight: normal;
font-weight: bold; font-weight: bold;
Loading
Loading
Loading
@@ -72,7 +72,13 @@ $hover: #FDF5D9;
Loading
@@ -72,7 +72,13 @@ $hover: #FDF5D9;
border-radius: $radius; border-radius: $radius;
} }
   
@mixin bg-gray-gradient {
background:#eee;
background-image: -webkit-gradient(linear, 0 0, 0 30, color-stop(0.066, #eee), to(#dfdfdf));
background-image: -webkit-linear-gradient(#eee 6.6%, #dfdfdf);
background-image: -moz-linear-gradient(#eee 6.6%, #dfdfdf);
background-image: -o-linear-gradient(#eee 6.6%, #dfdfdf);
}
   
/** /**
* Header of application. * Header of application.
Loading
Loading
Loading
@@ -33,9 +33,7 @@
Loading
@@ -33,9 +33,7 @@
} }
   
.chzn-single { .chzn-single {
background:#ddd; @include bg-gray-gradient;
//border:none;
//box-shadow:none;
   
div { div {
background:transparent; background:transparent;
Loading
Loading
Loading
@@ -6,11 +6,7 @@
Loading
@@ -6,11 +6,7 @@
h4 { h4 {
padding:0 10px; padding:0 10px;
border-bottom: 1px solid #bbb; border-bottom: 1px solid #bbb;
background:#eee; @include bg-gray-gradient;
background-image: -webkit-gradient(linear, 0 0, 0 30, color-stop(0.066, #eee), to(#dfdfdf));
background-image: -webkit-linear-gradient(#eee 6.6%, #dfdfdf);
background-image: -moz-linear-gradient(#eee 6.6%, #dfdfdf);
background-image: -o-linear-gradient(#eee 6.6%, #dfdfdf);
} }
   
.graph { .graph {
Loading
Loading
Loading
@@ -6,13 +6,9 @@ ul.main_menu {
Loading
@@ -6,13 +6,9 @@ ul.main_menu {
border-radius: 4px; border-radius: 4px;
margin: auto; margin: auto;
margin:30px 0; margin:30px 0;
background:#eee;
border:1px solid #bbb; border:1px solid #bbb;
height:37px; height:37px;
background-image: -webkit-gradient(linear, 0 0, 0 30, color-stop(0.066, #eee), to(#dfdfdf)); @include bg-gray-gradient;
background-image: -webkit-linear-gradient(#eee 6.6%, #dfdfdf);
background-image: -moz-linear-gradient(#eee 6.6%, #dfdfdf);
background-image: -o-linear-gradient(#eee 6.6%, #dfdfdf);
position:relative; position:relative;
overflow:hidden; overflow:hidden;
@include shade; @include shade;
Loading
Loading
Loading
@@ -72,11 +72,7 @@
Loading
@@ -72,11 +72,7 @@
th { th {
border-color: #CCC; border-color: #CCC;
border-bottom: 1px solid #bbb; border-bottom: 1px solid #bbb;
background:#eee; @include bg-gray-gradient;
background-image: -webkit-gradient(linear, 0 0, 0 30, color-stop(0.066, #eee), to(#dfdfdf));
background-image: -webkit-linear-gradient(#eee 6.6%, #dfdfdf);
background-image: -moz-linear-gradient(#eee 6.6%, #dfdfdf);
background-image: -o-linear-gradient(#eee 6.6%, #dfdfdf);
} }
} }
   
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment