Debian Codegraph @

inst/lib/bsw3/simplex/_bootswatch.scss

raw
1 // Simplex 3.4.1
2 // Bootswatch
3 // -----------------------------------------------------
4
5 $web-font-path: "https://fonts.googleapis.com/css?family=Open+Sans:400,700" !default;
6 @import url($web-font-path);
7
8 @mixin btn-shadow($color){
9 @include gradient-vertical-three-colors(lighten($color, 3%), $color, 6%, darken($color, 3%));
10 filter: none;
11 border: 1px solid darken($color, 10%);
12 }
13
14 // Navbar =====================================================================
15
16 .navbar {
17
18 &-inverse {
19
20 .badge {
21 background-color: #fff;
22 color: $brand-primary;
23 }
24 }
25 }
26
27 // Buttons ====================================================================
28
29 .btn {
30 font-family: $headings-font-family;
31 }
32
33 .btn-default,
34 .btn-default:hover {
35 @include btn-shadow($btn-default-bg);
36 }
37
38 .btn-primary,
39 .btn-primary:hover {
40 @include btn-shadow($btn-primary-bg);
41 }
42
43 .btn-success,
44 .btn-success:hover {
45 @include btn-shadow($btn-success-bg);
46 }
47
48 .btn-info,
49 .btn-info:hover {
50 @include btn-shadow($btn-info-bg);
51 }
52
53 .btn-warning,
54 .btn-warning:hover {
55 @include btn-shadow($btn-warning-bg);
56 }
57
58 .btn-danger,
59 .btn-danger:hover {
60 @include btn-shadow($btn-danger-bg);
61 }
62
63 // Typography =================================================================
64
65 body {
66 font-weight: 200;
67 }
68
69 // Tables =====================================================================
70
71 th {
72 color: $headings-color;
73 }
74
75 // Forms ======================================================================
76
77 legend {
78 color: $headings-color;
79 }
80
81 label {
82 font-weight: normal;
83 }
84
85 .has-warning {
86 .help-block,
87 .control-label,
88 .radio,
89 .checkbox,
90 .radio-inline,
91 .checkbox-inline,
92 &.radio label,
93 &.checkbox label,
94 &.radio-inline label,
95 &.checkbox-inline label,
96 .form-control-feedback {
97 color: $brand-danger;
98 }
99
100 .form-control,
101 .form-control:focus {
102 border-color: $brand-danger;
103 }
104 }
105
106 .has-error {
107 .help-block,
108 .control-label,
109 .radio,
110 .checkbox,
111 .radio-inline,
112 .checkbox-inline,
113 &.radio label,
114 &.checkbox label,
115 &.radio-inline label,
116 &.checkbox-inline label,
117 .form-control-feedback {
118 color: $brand-primary;
119 }
120
121 .form-control,
122 .form-control:focus {
123 border-color: $brand-primary;
124 }
125 }
126
127 .has-success {
128 .help-block,
129 .control-label,
130 .radio,
131 .checkbox,
132 .radio-inline,
133 .checkbox-inline,
134 &.radio label,
135 &.checkbox label,
136 &.radio-inline label,
137 &.checkbox-inline label,
138 .form-control-feedback {
139 color: $brand-success;
140 }
141
142 .form-control,
143 .form-control:focus {
144 border-color: $brand-success;
145 }
146 }
147
148 // Navs =======================================================================
149
150 .pager {
151 a {
152 color: $headings-color;
153 }
154
155 a:hover,
156 .active > a, {
157 border-color: $brand-primary;
158 color: #fff;
159 }
160
161 .disabled > a {
162 border-color: $pager-border;
163 }
164 }
165
166 // Indicators =================================================================
167
168 // Progress bars ==============================================================
169
170 // Containers =================================================================