1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
|
// Spacelab 3.3.5
// Bootswatch
// -----------------------------------------------------
$web-font-path: "https://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700" !default;
@import url($web-font-path);
@mixin btn-shadow($color){
@include gradient-vertical-three-colors(lighten($color, 15%), $color, 50%, darken($color, 4%));
filter: none;
border: 1px solid darken($color, 10%);
}
// Navbar =====================================================================
.navbar {
@include btn-shadow($navbar-default-bg);
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
&-inverse {
@include btn-shadow($navbar-inverse-bg);
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
.badge {
background-color: #fff;
color: $navbar-inverse-bg;
}
}
.badge {
text-shadow: none;
}
&-nav > li > a,
&-nav > li > a:hover {
padding-top: ($navbar-padding-vertical + 2px);
padding-bottom: ($navbar-padding-vertical - 2px);
@include transition(color ease-in-out .2s);
}
&-brand,
&-brand:hover {
@include transition(color ease-in-out .2s);
}
.caret,
.caret:hover {
@include transition(border-color ease-in-out .2s);
}
.dropdown-menu {
text-shadow: none;
}
}
// Buttons ====================================================================
.btn {
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
&-default {
@include btn-shadow($btn-default-bg);
&:hover {
@include btn-shadow(darken($btn-default-bg, 4%));
}
}
&-primary {
@include btn-shadow($btn-primary-bg);
&:hover {
@include btn-shadow(darken($btn-primary-bg, 4%));
}
}
&-success {
@include btn-shadow($btn-success-bg);
&:hover {
@include btn-shadow(darken($btn-success-bg, 4%));
}
}
&-info {
@include btn-shadow($btn-info-bg);
&:hover {
@include btn-shadow(darken($btn-info-bg, 4%));
}
}
&-warning {
@include btn-shadow($btn-warning-bg);
&:hover {
@include btn-shadow(darken($btn-warning-bg, 4%));
}
}
&-danger {
@include btn-shadow($btn-danger-bg);
&:hover {
@include btn-shadow(darken($btn-danger-bg, 4%));
}
}
&-link {
text-shadow: none;
}
&:active,
&.active {
background-image: none;
@include box-shadow(inset 0 3px 5px rgba(0,0,0,.125));
}
}
// Typography =================================================================
// Tables =====================================================================
// Forms ======================================================================
// Navs =======================================================================
// Indicators =================================================================
// Progress bars ==============================================================
// Containers =================================================================
.panel {
&-primary {
.panel-title {
color: #fff;
}
}
}
|