Skip to content

Commit e479d33

Browse files
committed
update bootstrap core files
1 parent b015f3f commit e479d33

6 files changed

Lines changed: 230 additions & 113 deletions

File tree

src/assets/lib/bootstrap/css/bootstrap-theme.css

Lines changed: 112 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -32,100 +32,136 @@
3232

3333
.btn-default {
3434
text-shadow: 0 1px 0 #fff;
35-
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#ffffff), to(#e6e6e6));
36-
background-image: -webkit-linear-gradient(top, #ffffff, 0%, #e6e6e6, 100%);
37-
background-image: -moz-linear-gradient(top, #ffffff 0%, #e6e6e6 100%);
38-
background-image: linear-gradient(to bottom, #ffffff 0%, #e6e6e6 100%);
35+
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#ffffff), to(#e0e0e0));
36+
background-image: -webkit-linear-gradient(top, #ffffff, 0%, #e0e0e0, 100%);
37+
background-image: -moz-linear-gradient(top, #ffffff 0%, #e0e0e0 100%);
38+
background-image: linear-gradient(to bottom, #ffffff 0%, #e0e0e0 100%);
3939
background-repeat: repeat-x;
40-
border-color: #e0e0e0;
40+
border-color: #dbdbdb;
4141
border-color: #ccc;
42-
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
42+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe0e0e0', GradientType=0);
43+
}
44+
45+
.btn-default:hover,
46+
.btn-default:focus {
47+
background-color: #e0e0e0;
48+
background-position: 0 -15px;
4349
}
4450

4551
.btn-default:active,
4652
.btn-default.active {
47-
background-color: #e6e6e6;
48-
border-color: #e0e0e0;
53+
background-color: #e0e0e0;
54+
border-color: #dbdbdb;
4955
}
5056

5157
.btn-primary {
52-
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#428bca), to(#3071a9));
53-
background-image: -webkit-linear-gradient(top, #428bca, 0%, #3071a9, 100%);
54-
background-image: -moz-linear-gradient(top, #428bca 0%, #3071a9 100%);
55-
background-image: linear-gradient(to bottom, #428bca 0%, #3071a9 100%);
58+
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#428bca), to(#2d6ca2));
59+
background-image: -webkit-linear-gradient(top, #428bca, 0%, #2d6ca2, 100%);
60+
background-image: -moz-linear-gradient(top, #428bca 0%, #2d6ca2 100%);
61+
background-image: linear-gradient(to bottom, #428bca 0%, #2d6ca2 100%);
5662
background-repeat: repeat-x;
57-
border-color: #2d6ca2;
58-
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff3071a9', GradientType=0);
63+
border-color: #2b669a;
64+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff2d6ca2', GradientType=0);
65+
}
66+
67+
.btn-primary:hover,
68+
.btn-primary:focus {
69+
background-color: #2d6ca2;
70+
background-position: 0 -15px;
5971
}
6072

6173
.btn-primary:active,
6274
.btn-primary.active {
63-
background-color: #3071a9;
64-
border-color: #2d6ca2;
75+
background-color: #2d6ca2;
76+
border-color: #2b669a;
6577
}
6678

6779
.btn-success {
68-
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#5cb85c), to(#449d44));
69-
background-image: -webkit-linear-gradient(top, #5cb85c, 0%, #449d44, 100%);
70-
background-image: -moz-linear-gradient(top, #5cb85c 0%, #449d44 100%);
71-
background-image: linear-gradient(to bottom, #5cb85c 0%, #449d44 100%);
80+
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#5cb85c), to(#419641));
81+
background-image: -webkit-linear-gradient(top, #5cb85c, 0%, #419641, 100%);
82+
background-image: -moz-linear-gradient(top, #5cb85c 0%, #419641 100%);
83+
background-image: linear-gradient(to bottom, #5cb85c 0%, #419641 100%);
7284
background-repeat: repeat-x;
73-
border-color: #419641;
74-
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff449d44', GradientType=0);
85+
border-color: #3e8f3e;
86+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff419641', GradientType=0);
87+
}
88+
89+
.btn-success:hover,
90+
.btn-success:focus {
91+
background-color: #419641;
92+
background-position: 0 -15px;
7593
}
7694

7795
.btn-success:active,
7896
.btn-success.active {
79-
background-color: #449d44;
80-
border-color: #419641;
97+
background-color: #419641;
98+
border-color: #3e8f3e;
8199
}
82100

83101
.btn-warning {
84-
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#f0ad4e), to(#ec971f));
85-
background-image: -webkit-linear-gradient(top, #f0ad4e, 0%, #ec971f, 100%);
86-
background-image: -moz-linear-gradient(top, #f0ad4e 0%, #ec971f 100%);
87-
background-image: linear-gradient(to bottom, #f0ad4e 0%, #ec971f 100%);
102+
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#f0ad4e), to(#eb9316));
103+
background-image: -webkit-linear-gradient(top, #f0ad4e, 0%, #eb9316, 100%);
104+
background-image: -moz-linear-gradient(top, #f0ad4e 0%, #eb9316 100%);
105+
background-image: linear-gradient(to bottom, #f0ad4e 0%, #eb9316 100%);
88106
background-repeat: repeat-x;
89-
border-color: #eb9316;
90-
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffec971f', GradientType=0);
107+
border-color: #e38d13;
108+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffeb9316', GradientType=0);
109+
}
110+
111+
.btn-warning:hover,
112+
.btn-warning:focus {
113+
background-color: #eb9316;
114+
background-position: 0 -15px;
91115
}
92116

93117
.btn-warning:active,
94118
.btn-warning.active {
95-
background-color: #ec971f;
96-
border-color: #eb9316;
119+
background-color: #eb9316;
120+
border-color: #e38d13;
97121
}
98122

99123
.btn-danger {
100-
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#d9534f), to(#c9302c));
101-
background-image: -webkit-linear-gradient(top, #d9534f, 0%, #c9302c, 100%);
102-
background-image: -moz-linear-gradient(top, #d9534f 0%, #c9302c 100%);
103-
background-image: linear-gradient(to bottom, #d9534f 0%, #c9302c 100%);
124+
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#d9534f), to(#c12e2a));
125+
background-image: -webkit-linear-gradient(top, #d9534f, 0%, #c12e2a, 100%);
126+
background-image: -moz-linear-gradient(top, #d9534f 0%, #c12e2a 100%);
127+
background-image: linear-gradient(to bottom, #d9534f 0%, #c12e2a 100%);
104128
background-repeat: repeat-x;
105-
border-color: #c12e2a;
106-
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc9302c', GradientType=0);
129+
border-color: #b92c28;
130+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc12e2a', GradientType=0);
131+
}
132+
133+
.btn-danger:hover,
134+
.btn-danger:focus {
135+
background-color: #c12e2a;
136+
background-position: 0 -15px;
107137
}
108138

109139
.btn-danger:active,
110140
.btn-danger.active {
111-
background-color: #c9302c;
112-
border-color: #c12e2a;
141+
background-color: #c12e2a;
142+
border-color: #b92c28;
113143
}
114144

115145
.btn-info {
116-
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#5bc0de), to(#31b0d5));
117-
background-image: -webkit-linear-gradient(top, #5bc0de, 0%, #31b0d5, 100%);
118-
background-image: -moz-linear-gradient(top, #5bc0de 0%, #31b0d5 100%);
119-
background-image: linear-gradient(to bottom, #5bc0de 0%, #31b0d5 100%);
146+
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#5bc0de), to(#2aabd2));
147+
background-image: -webkit-linear-gradient(top, #5bc0de, 0%, #2aabd2, 100%);
148+
background-image: -moz-linear-gradient(top, #5bc0de 0%, #2aabd2 100%);
149+
background-image: linear-gradient(to bottom, #5bc0de 0%, #2aabd2 100%);
120150
background-repeat: repeat-x;
121-
border-color: #2aabd2;
122-
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff31b0d5', GradientType=0);
151+
border-color: #28a4c9;
152+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2aabd2', GradientType=0);
153+
}
154+
155+
.btn-info:hover,
156+
.btn-info:focus {
157+
background-color: #2aabd2;
158+
background-position: 0 -15px;
123159
}
124160

125161
.btn-info:active,
126162
.btn-info.active {
127-
background-color: #31b0d5;
128-
border-color: #2aabd2;
163+
background-color: #2aabd2;
164+
border-color: #28a4c9;
129165
}
130166

131167
.thumbnail,
@@ -135,7 +171,16 @@
135171
}
136172

137173
.dropdown-menu > li > a:hover,
138-
.dropdown-menu > li > a:focus,
174+
.dropdown-menu > li > a:focus {
175+
background-color: #e8e8e8;
176+
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#f5f5f5), to(#e8e8e8));
177+
background-image: -webkit-linear-gradient(top, #f5f5f5, 0%, #e8e8e8, 100%);
178+
background-image: -moz-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
179+
background-image: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%);
180+
background-repeat: repeat-x;
181+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);
182+
}
183+
139184
.dropdown-menu > .active > a,
140185
.dropdown-menu > .active > a:hover,
141186
.dropdown-menu > .active > a:focus {
@@ -148,7 +193,7 @@
148193
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff357ebd', GradientType=0);
149194
}
150195

151-
.navbar {
196+
.navbar-default {
152197
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#ffffff), to(#f8f8f8));
153198
background-image: -webkit-linear-gradient(top, #ffffff, 0%, #f8f8f8, 100%);
154199
background-image: -moz-linear-gradient(top, #ffffff 0%, #f8f8f8 100%);
@@ -160,8 +205,15 @@
160205
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 5px rgba(0, 0, 0, 0.075);
161206
}
162207

163-
.navbar .navbar-nav > .active > a {
164-
background-color: #f8f8f8;
208+
.navbar-default .navbar-nav > .active > a {
209+
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#ebebeb), to(#f3f3f3));
210+
background-image: -webkit-linear-gradient(top, #ebebeb, 0%, #f3f3f3, 100%);
211+
background-image: -moz-linear-gradient(top, #ebebeb 0%, #f3f3f3 100%);
212+
background-image: linear-gradient(to bottom, #ebebeb 0%, #f3f3f3 100%);
213+
background-repeat: repeat-x;
214+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff3f3f3', GradientType=0);
215+
-webkit-box-shadow: inset 0 3px 9px rgba(0, 0, 0, 0.075);
216+
box-shadow: inset 0 3px 9px rgba(0, 0, 0, 0.075);
165217
}
166218

167219
.navbar-brand,
@@ -179,7 +231,14 @@
179231
}
180232

181233
.navbar-inverse .navbar-nav > .active > a {
182-
background-color: #222222;
234+
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#222222), to(#282828));
235+
background-image: -webkit-linear-gradient(top, #222222, 0%, #282828, 100%);
236+
background-image: -moz-linear-gradient(top, #222222 0%, #282828 100%);
237+
background-image: linear-gradient(to bottom, #222222 0%, #282828 100%);
238+
background-repeat: repeat-x;
239+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff222222', endColorstr='#ff282828', GradientType=0);
240+
-webkit-box-shadow: inset 0 3px 9px rgba(0, 0, 0, 0.25);
241+
box-shadow: inset 0 3px 9px rgba(0, 0, 0, 0.25);
183242
}
184243

185244
.navbar-inverse .navbar-brand,

0 commit comments

Comments
 (0)