11// CSH Material Bootstrap 3.3.6
22// Main Theme
33// -----------------------------------------------------
4-
54@import " variables" ;
65@import " ../bower_components/bootstrap-sass/assets/stylesheets/bootstrap" ;
76
@@ -12,14 +11,30 @@ $web-font-path: "https://fonts.googleapis.com/css?family=Roboto:300,400,500,700"
1211
1312.navbar {
1413 border : none ;
15- @include box-shadow (0 1px 2px rgba (0 ,0 , 0 , .3 ));
14+ @include box-shadow (0 1px 2px rgba (0 , 0 , 0 , .3 ));
1615
1716 & -brand {
1817 font-size : 24px ;
1918 padding-left : 60px ;
2019 background : $navbar-default-logo 11px 11px / 40px 40px no-repeat ;
2120 }
2221
22+ & -user {
23+ @media (min-width : $grid-float-breakpoint ) {
24+ & > a {
25+ padding-top : 16px !important ;
26+ padding-bottom : 16px !important ;
27+ }
28+ }
29+
30+ & a > img {
31+ width : 32px ;
32+ height : 32px ;
33+ border-radius : 50% ;
34+ margin-right : 5px ;
35+ }
36+ }
37+
2338 & -inverse {
2439 .navbar-brand {
2540 background-image : $navbar-inverse-logo ;
@@ -43,7 +58,7 @@ $web-font-path: "https://fonts.googleapis.com/css?family=Roboto:300,400,500,700"
4358
4459// Buttons ====================================================================
4560
46- @mixin btn ($class ,$bg ){
61+ @mixin btn ($class ,$bg ) {
4762 .btn-#{$class } {
4863 background-size : 200% 200% ;
4964 background-position : 50% ;
@@ -61,23 +76,23 @@ $web-font-path: "https://fonts.googleapis.com/css?family=Roboto:300,400,500,700"
6176 background-color : darken ($bg , 12% );
6277 @include gradient-radial (darken ($bg , 12% ) 10% , $bg 11% );
6378 background-size : 1000% 1000% ;
64- @include box-shadow (2px 2px 4px rgba (0 ,0 , 0 , .4 ));
79+ @include box-shadow (2px 2px 4px rgba (0 , 0 , 0 , .4 ));
6580 }
6681 }
6782}
6883
69- @include btn (default ,$btn-default-bg );
70- @include btn (primary,$btn-primary-bg );
71- @include btn (success,$btn-success-bg );
72- @include btn (info,$btn-info-bg );
73- @include btn (warning,$btn-warning-bg );
74- @include btn (danger,$btn-danger-bg );
75- @include btn (link,#fff );
84+ @include btn (default , $btn-default-bg );
85+ @include btn (primary, $btn-primary-bg );
86+ @include btn (success, $btn-success-bg );
87+ @include btn (info, $btn-info-bg );
88+ @include btn (warning, $btn-warning-bg );
89+ @include btn (danger, $btn-danger-bg );
90+ @include btn (link, #fff );
7691
7792.btn {
7893 text-transform : uppercase ;
7994 border : none ;
80- @include box-shadow (1px 1px 4px rgba (0 ,0 , 0 , .4 ));
95+ @include box-shadow (1px 1px 4px rgba (0 , 0 , 0 , .4 ));
8196 @include transition (all 0.4s );
8297
8398 & -link {
@@ -206,7 +221,8 @@ select.form-control {
206221 -moz-appearance : none ;
207222 appearance : none ;
208223 padding-left : 0 ;
209- padding-right : 0 \9 ; // remove padding for < ie9 since default arrow can't be removed
224+ padding-right : 0 \9
225+ ; // remove padding for < ie9 since default arrow can't be removed
210226 background-image : url (data:image/png;base64 ,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAMAAACelLz8AAAAJ1BMVEVmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmaP/QSjAAAADHRSTlMAAgMJC0uWpKa6wMxMdjkoAAAANUlEQVR4AeXJyQEAERAAsNl7Hf3X6xt0QL6JpZWq30pdvdadme+0PMdzvHm8YThHcT1H7K0BtOMDniZhWOgAAAAASUVORK5CYII= );
211227 background-size : 13px ;
212228 background-repeat : no-repeat ;
@@ -481,7 +497,7 @@ input[type="checkbox"],
481497.dropdown-menu {
482498 margin-top : 0 ;
483499 border : none ;
484- @include box-shadow (0 1px 4px rgba (0 ,0 , 0 , .3 ));
500+ @include box-shadow (0 1px 4px rgba (0 , 0 , 0 , .3 ));
485501}
486502
487503// Indicators =================================================================
@@ -602,7 +618,7 @@ input[type="checkbox"],
602618.panel {
603619 border : none ;
604620 border-radius : 2px ;
605- @include box-shadow (0 1px 4px rgba (0 ,0 , 0 , .3 ));
621+ @include box-shadow (0 1px 4px rgba (0 , 0 , 0 , .3 ));
606622
607623 & -heading {
608624 border-bottom : none ;
@@ -615,7 +631,7 @@ input[type="checkbox"],
615631
616632.popover {
617633 border : none ;
618- @include box-shadow (0 1px 4px rgba (0 ,0 , 0 , .3 ));
634+ @include box-shadow (0 1px 4px rgba (0 , 0 , 0 , .3 ));
619635}
620636
621637.carousel {
0 commit comments