system-clients 3.2.3 → 3.2.4-aodeToV4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.js +16 -16
- package/.gradle/7.1/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/.gradle/7.1/executionHistory/executionHistory.bin +0 -0
- package/.gradle/7.1/executionHistory/executionHistory.lock +0 -0
- package/.gradle/7.1/fileChanges/last-build.bin +0 -0
- package/.gradle/7.1/fileHashes/fileHashes.bin +0 -0
- package/.gradle/7.1/fileHashes/fileHashes.lock +0 -0
- package/.gradle/7.1/gc.properties +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +2 -2
- package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
- package/.gradle/checksums/checksums.lock +0 -0
- package/.gradle/vcs-1/gc.properties +0 -0
- package/SystemClient.iml +11 -11
- package/build/webpack.base.conf.js +78 -75
- package/build.gradle +6 -6
- package/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/gradle/wrapper/gradle-wrapper.properties +5 -0
- package/gradlew +185 -0
- package/gradlew.bat +89 -0
- package/index.html +21 -21
- package/package.json +2 -2
- package/src/App.vue +24 -24
- package/src/LodopFuncs.js +123 -123
- package/src/components/Main.vue +46 -152
- package/src/components/Util.js +343 -343
- package/src/components/equipment/EquipmentManage.vue +65 -65
- package/src/components/equipment/PcAdd.vue +105 -105
- package/src/components/equipment/PcList.vue +120 -119
- package/src/components/equipment/PcManage.vue +60 -60
- package/src/components/equipment/PhoneAdd.vue +94 -94
- package/src/components/equipment/PhoneList.vue +102 -102
- package/src/components/equipment/PhoneManage.vue +60 -60
- package/src/components/equipment/PosAdd.vue +156 -137
- package/src/components/equipment/PosList.vue +164 -164
- package/src/components/equipment/PosManage.vue +68 -67
- package/src/components/materialManage/materialData.vue +44 -44
- package/src/components/materialManage/materialList.vue +255 -255
- package/src/components/parammanage/ParamManage.vue +42 -42
- package/src/components/parammanage/ParamPage.vue +314 -314
- package/src/components/parammanage/ParamPages.vue +222 -222
- package/src/components/parammanage/SinglePage.vue +235 -235
- package/src/components/parammanage/SinglePages.vue +167 -167
- package/src/components/server/AddChangeMsg.vue +66 -66
- package/src/components/server/ChangeDeclare.vue +45 -45
- package/src/components/server/LeftTree.vue +111 -111
- package/src/components/server/LoadData.vue +36 -36
- package/src/components/server/Login.vue +726 -624
- package/src/components/server/Menu.vue +188 -188
- package/src/components/server/ModifyPw.vue +112 -106
- package/src/components/server/NewResSelectGroup.vue +211 -0
- package/src/components/server/ResSelect.vue +153 -150
- package/src/components/server/ResSelectGroup.vue +159 -142
- package/src/components/server/RightTree.vue +343 -263
- package/src/components/server/RoleSelector.vue +90 -89
- package/src/components/server/TestResSelect.vue +58 -58
- package/src/components/server/TestResSelectGroup.vue +388 -388
- package/src/plugins/EncryptUtil.js +53 -0
- package/src/plugins/GetLoginInfoService.js +88 -104
- package/src/plugins/HeatGetLoginInfoService.js +491 -0
- package/src/plugins/validation.js +7 -7
- package/src/project/State.js +17 -17
- package/src/stores/AppData.js +38 -38
- package/src/stores/HeatAppData.js +38 -0
- package/src/styles/fonts/PINGFANG LIGHT.TTF +0 -0
- package/src/styles/fonts/PingFangSC-Regular.ttf +0 -0
- package/src/styles/fonts/glyphicons-halflings-regular.eot +0 -0
- package/src/styles/fonts/glyphicons-halflings-regular.svg +288 -0
- package/src/styles/fonts/glyphicons-halflings-regular.ttf +0 -0
- package/src/styles/fonts/glyphicons-halflings-regular.woff +0 -0
- package/src/styles/fonts/glyphicons-halflings-regular.woff2 +0 -0
- package/src/styles/fonts/pingfang-bold.ttf +0 -0
- package/src/styles/fonts/pingfang-medium.ttf +0 -0
- package/src/styles/fonts/pingfang-regular.ttf +0 -0
- package/src/styles/fonts/trendstrends.ttf +0 -0
- package/src/styles/fonts//346/261/211/344/273/252/350/217/261/345/277/203/344/275/223/347/256/200.ttf +0 -0
- package/src/styles/less/.csscomb.json +304 -0
- package/src/styles/less/.csslintrc +19 -0
- package/src/styles/less/alerts.less +73 -0
- package/src/styles/less/aofeng/animate.min.css +11 -0
- package/src/styles/less/aofeng/expandcss.less +569 -0
- package/src/styles/less/aofeng/standard.less +2121 -0
- package/src/styles/less/aofeng/themeOne/BinaryTemplate.less +686 -0
- package/src/styles/less/aofeng/themeOne/loginStyle.less +1586 -0
- package/src/styles/less/aofeng/themeOne/systemStyle.less +2650 -0
- package/src/styles/less/aofeng/themeOne.less +17 -0
- package/src/styles/less/aofeng/themeTwo/newStyle1.less +415 -0
- package/src/styles/less/aofeng/themeTwo.less +3 -0
- package/src/styles/less/badges.less +66 -0
- package/src/styles/less/bootstrap.less +66 -0
- package/src/styles/less/breadcrumbs.less +26 -0
- package/src/styles/less/button-groups.less +247 -0
- package/src/styles/less/buttons.less +172 -0
- package/src/styles/less/carousel.less +269 -0
- package/src/styles/less/close.less +34 -0
- package/src/styles/less/code.less +69 -0
- package/src/styles/less/component-animations.less +33 -0
- package/src/styles/less/dropdowns.less +216 -0
- package/src/styles/less/fonts-list.less +25 -0
- package/src/styles/less/forms.less +626 -0
- package/src/styles/less/glyphicons.less +305 -0
- package/src/styles/less/grid.less +84 -0
- package/src/styles/less/input-groups.less +167 -0
- package/src/styles/less/jumbotron.less +52 -0
- package/src/styles/less/labels.less +64 -0
- package/src/styles/less/list-group.less +141 -0
- package/src/styles/less/manageStyle/manageChile.less +180 -0
- package/src/styles/less/manageStyle/manageStyle.less +1102 -0
- package/src/styles/less/manageStyle/safeStyle.less +498 -0
- package/src/styles/less/media.less +66 -0
- package/src/styles/less/mixins/alerts.less +14 -0
- package/src/styles/less/mixins/background-variant.less +9 -0
- package/src/styles/less/mixins/border-radius.less +18 -0
- package/src/styles/less/mixins/buttons.less +69 -0
- package/src/styles/less/mixins/center-block.less +7 -0
- package/src/styles/less/mixins/clearfix.less +22 -0
- package/src/styles/less/mixins/forms.less +90 -0
- package/src/styles/less/mixins/gradients.less +59 -0
- package/src/styles/less/mixins/grid-framework.less +92 -0
- package/src/styles/less/mixins/grid.less +122 -0
- package/src/styles/less/mixins/hide-text.less +21 -0
- package/src/styles/less/mixins/image.less +33 -0
- package/src/styles/less/mixins/labels.less +12 -0
- package/src/styles/less/mixins/list-group.less +30 -0
- package/src/styles/less/mixins/nav-divider.less +10 -0
- package/src/styles/less/mixins/nav-vertical-align.less +9 -0
- package/src/styles/less/mixins/opacity.less +8 -0
- package/src/styles/less/mixins/pagination.less +24 -0
- package/src/styles/less/mixins/panels.less +24 -0
- package/src/styles/less/mixins/progress-bar.less +10 -0
- package/src/styles/less/mixins/reset-filter.less +8 -0
- package/src/styles/less/mixins/reset-text.less +18 -0
- package/src/styles/less/mixins/resize.less +6 -0
- package/src/styles/less/mixins/responsive-visibility.less +15 -0
- package/src/styles/less/mixins/size.less +10 -0
- package/src/styles/less/mixins/tab-focus.less +9 -0
- package/src/styles/less/mixins/table-row.less +44 -0
- package/src/styles/less/mixins/text-emphasis.less +9 -0
- package/src/styles/less/mixins/text-overflow.less +8 -0
- package/src/styles/less/mixins/vendor-prefixes.less +227 -0
- package/src/styles/less/mixins.less +40 -0
- package/src/styles/less/modals.less +151 -0
- package/src/styles/less/navbar.less +660 -0
- package/src/styles/less/navs.less +285 -0
- package/src/styles/less/normalize.less +424 -0
- package/src/styles/less/pager.less +76 -0
- package/src/styles/less/pagination.less +89 -0
- package/src/styles/less/panels.less +275 -0
- package/src/styles/less/popovers.less +131 -0
- package/src/styles/less/print.less +101 -0
- package/src/styles/less/progress-bars.less +87 -0
- package/src/styles/less/responsive-embed.less +35 -0
- package/src/styles/less/responsive-utilities.less +194 -0
- package/src/styles/less/scaffolding.less +161 -0
- package/src/styles/less/stand.less +207 -0
- package/src/styles/less/tables.less +262 -0
- package/src/styles/less/theme.less +291 -0
- package/src/styles/less/thumbnails.less +36 -0
- package/src/styles/less/tooltip.less +102 -0
- package/src/styles/less/type.less +303 -0
- package/src/styles/less/utilities.less +55 -0
- package/src/styles/less/variables.less +896 -0
- package/src/styles/less/wells.less +29 -0
- package/src/system.js +85 -76
- package/static/aodelogo.png +0 -0
- package/static/aodenewlogo.png +0 -0
- package/static/ewmlogo.png +0 -0
- package/.gradle/buildOutputCleanup/cache.properties.lock +0 -1
- /package/.gradle/{buildOutputCleanup/built.bin → 7.1/dependencies-accessors/gc.properties} +0 -0
@@ -0,0 +1,262 @@
|
|
1
|
+
//
|
2
|
+
// Tables
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
table {
|
7
|
+
background-color: @table-bg;
|
8
|
+
}
|
9
|
+
caption {
|
10
|
+
padding-top: @table-cell-padding;
|
11
|
+
padding-bottom: @table-cell-padding;
|
12
|
+
color: @text-muted;
|
13
|
+
text-align: left;
|
14
|
+
}
|
15
|
+
th {
|
16
|
+
text-align: left;
|
17
|
+
}
|
18
|
+
|
19
|
+
|
20
|
+
// Baseline styles
|
21
|
+
|
22
|
+
.table {
|
23
|
+
width: 100%;
|
24
|
+
max-width: 100%;
|
25
|
+
margin-bottom: @line-height-computed;
|
26
|
+
// Cells
|
27
|
+
> thead,
|
28
|
+
> tbody,
|
29
|
+
> tfoot {
|
30
|
+
> tr {
|
31
|
+
> th,
|
32
|
+
> td {
|
33
|
+
padding: @table-cell-padding;
|
34
|
+
line-height: @line-height-base;
|
35
|
+
vertical-align: middle; // 原本为top
|
36
|
+
border-top: 0px solid @table-border-color; // 原本为0px
|
37
|
+
text-align: left;// 原本没有
|
38
|
+
color: #304A66;
|
39
|
+
// 原本没有,自己添加
|
40
|
+
font-family: 微软雅黑;
|
41
|
+
|
42
|
+
}
|
43
|
+
}
|
44
|
+
}
|
45
|
+
// Bottom align for column headings
|
46
|
+
> thead > tr > th {
|
47
|
+
text-align: center;
|
48
|
+
vertical-align: middle; // 原本为bottom
|
49
|
+
border-bottom: 2px solid @table-border-color;
|
50
|
+
font-weight: 600;
|
51
|
+
}
|
52
|
+
// Remove top border from thead by default
|
53
|
+
> caption + thead,
|
54
|
+
> colgroup + thead,
|
55
|
+
> thead:first-child {
|
56
|
+
> tr:first-child {
|
57
|
+
> th,
|
58
|
+
> td {
|
59
|
+
border-top: 0;
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
63
|
+
// Account for multiple tbody instances
|
64
|
+
> tbody + tbody {
|
65
|
+
border-top: 2px solid @table-border-color;
|
66
|
+
}
|
67
|
+
|
68
|
+
// Nesting
|
69
|
+
.table {
|
70
|
+
background-color: @body-bg;
|
71
|
+
}
|
72
|
+
}
|
73
|
+
|
74
|
+
|
75
|
+
// Condensed table w/ half padding
|
76
|
+
|
77
|
+
.table-condensed {
|
78
|
+
> thead,
|
79
|
+
> tbody,
|
80
|
+
> tfoot {
|
81
|
+
> tr {
|
82
|
+
> th,
|
83
|
+
> td {
|
84
|
+
padding: @table-condensed-cell-padding;
|
85
|
+
}
|
86
|
+
}
|
87
|
+
}
|
88
|
+
}
|
89
|
+
|
90
|
+
|
91
|
+
// Bordered version
|
92
|
+
//
|
93
|
+
// Add borders all around the table and between all the columns.
|
94
|
+
|
95
|
+
.table-bordered {
|
96
|
+
border: 1px solid @table-border-color;
|
97
|
+
> thead,
|
98
|
+
> tbody,
|
99
|
+
> tfoot {
|
100
|
+
> tr {
|
101
|
+
> th,
|
102
|
+
> td {
|
103
|
+
border: 1px solid @table-border-color;
|
104
|
+
}
|
105
|
+
}
|
106
|
+
}
|
107
|
+
> thead > tr {
|
108
|
+
> th,
|
109
|
+
> td {
|
110
|
+
// border-bottom-width: 2px;
|
111
|
+
border: 0px;
|
112
|
+
background: #F2F6FA;
|
113
|
+
}
|
114
|
+
}
|
115
|
+
}
|
116
|
+
|
117
|
+
|
118
|
+
// Zebra-striping
|
119
|
+
//
|
120
|
+
// Default zebra-stripe styles (alternating gray and transparent backgrounds)
|
121
|
+
|
122
|
+
.table-striped {
|
123
|
+
> tbody
|
124
|
+
> tr:nth-of-type(odd) {
|
125
|
+
background-color: @table-bg-accent;
|
126
|
+
}
|
127
|
+
}
|
128
|
+
// 一下原本没有,自己添加,添加繁琐,有待修改
|
129
|
+
.table-striped {
|
130
|
+
> tbody > tr:nth-of-type(even) {
|
131
|
+
background-color: #fff;
|
132
|
+
}
|
133
|
+
}
|
134
|
+
// 一下自己添加
|
135
|
+
.table-striped thead tr th {
|
136
|
+
background-color: #00A3F0;
|
137
|
+
padding:10px;
|
138
|
+
border-left:solid 0px #dae4f2;
|
139
|
+
border-top:solid 1px #dae4f2;
|
140
|
+
border-right: none;
|
141
|
+
border-bottom: none;
|
142
|
+
text-align:center;
|
143
|
+
color:white;
|
144
|
+
}
|
145
|
+
// Hover effect
|
146
|
+
//
|
147
|
+
// Placed here since it has to come after the potential zebra striping
|
148
|
+
|
149
|
+
.table-hover {
|
150
|
+
> tbody > tr:hover {
|
151
|
+
// 修改前
|
152
|
+
background-color: @table-bg-hover;
|
153
|
+
// 修改后
|
154
|
+
// background-color: #FCFEEE;
|
155
|
+
}
|
156
|
+
}
|
157
|
+
|
158
|
+
|
159
|
+
// Table cell sizing
|
160
|
+
//
|
161
|
+
// Reset default table behavior
|
162
|
+
|
163
|
+
table col[class*="col-"] {
|
164
|
+
position: static; // Prevent border hiding in Firefox and IE9-11 (see https://github.com/twbs/bootstrap/issues/11623)
|
165
|
+
float: none;
|
166
|
+
display: table-column;
|
167
|
+
}
|
168
|
+
table {
|
169
|
+
td,
|
170
|
+
th {
|
171
|
+
&[class*="col-"] {
|
172
|
+
position: static; // Prevent border hiding in Firefox and IE9-11 (see https://github.com/twbs/bootstrap/issues/11623)
|
173
|
+
float: none;
|
174
|
+
display: table-cell;
|
175
|
+
}
|
176
|
+
}
|
177
|
+
}
|
178
|
+
|
179
|
+
|
180
|
+
// Table backgrounds
|
181
|
+
//
|
182
|
+
// Exact selectors below required to override `.table-striped` and prevent
|
183
|
+
// inheritance to nested tables.
|
184
|
+
|
185
|
+
// Generate the contextual variants
|
186
|
+
.table-row-variant(active; @table-bg-active);
|
187
|
+
.table-row-variant(success; @state-success-bg);
|
188
|
+
.table-row-variant(info; @state-info-bg);
|
189
|
+
.table-row-variant(warning; @state-warning-bg);
|
190
|
+
.table-row-variant(danger; @state-danger-bg);
|
191
|
+
|
192
|
+
|
193
|
+
// Responsive tables
|
194
|
+
//
|
195
|
+
// Wrap your tables in `.table-responsive` and we'll make them mobile friendly
|
196
|
+
// by enabling horizontal scrolling. Only applies <768px. Everything above that
|
197
|
+
// will display normally.
|
198
|
+
|
199
|
+
.table-responsive {
|
200
|
+
overflow-x: auto;
|
201
|
+
min-height: 0.01%; // Workaround for IE9 bug (see https://github.com/twbs/bootstrap/issues/14837)
|
202
|
+
|
203
|
+
@media screen and (max-width: @screen-xs-max) {
|
204
|
+
width: 100%;
|
205
|
+
margin-bottom: (@line-height-computed * 0.75);
|
206
|
+
overflow-y: hidden;
|
207
|
+
-ms-overflow-style: -ms-autohiding-scrollbar;
|
208
|
+
border: 1px solid @table-border-color;
|
209
|
+
|
210
|
+
// Tighten up spacing
|
211
|
+
> .table {
|
212
|
+
margin-bottom: 0;
|
213
|
+
|
214
|
+
// Ensure the content doesn't wrap
|
215
|
+
> thead,
|
216
|
+
> tbody,
|
217
|
+
> tfoot {
|
218
|
+
> tr {
|
219
|
+
> th,
|
220
|
+
> td {
|
221
|
+
white-space: nowrap;
|
222
|
+
}
|
223
|
+
}
|
224
|
+
}
|
225
|
+
}
|
226
|
+
|
227
|
+
// Special overrides for the bordered tables
|
228
|
+
> .table-bordered {
|
229
|
+
border: 0;
|
230
|
+
|
231
|
+
// Nuke the appropriate borders so that the parent can handle them
|
232
|
+
> thead,
|
233
|
+
> tbody,
|
234
|
+
> tfoot {
|
235
|
+
> tr {
|
236
|
+
> th:first-child,
|
237
|
+
> td:first-child {
|
238
|
+
border-left: 0;
|
239
|
+
}
|
240
|
+
> th:last-child,
|
241
|
+
> td:last-child {
|
242
|
+
border-right: 0;
|
243
|
+
}
|
244
|
+
}
|
245
|
+
}
|
246
|
+
|
247
|
+
// Only nuke the last row's bottom-border in `tbody` and `tfoot` since
|
248
|
+
// chances are there will be only one `tr` in a `thead` and that would
|
249
|
+
// remove the border altogether.
|
250
|
+
> tbody,
|
251
|
+
> tfoot {
|
252
|
+
> tr:last-child {
|
253
|
+
> th,
|
254
|
+
> td {
|
255
|
+
border-bottom: 0;
|
256
|
+
}
|
257
|
+
}
|
258
|
+
}
|
259
|
+
|
260
|
+
}
|
261
|
+
}
|
262
|
+
}
|
@@ -0,0 +1,291 @@
|
|
1
|
+
/*!
|
2
|
+
* Bootstrap v3.3.5 (http://getbootstrap.com)
|
3
|
+
* Copyright 2011-2015 Twitter, Inc.
|
4
|
+
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
5
|
+
*/
|
6
|
+
|
7
|
+
//
|
8
|
+
// Load core variables and mixins
|
9
|
+
// --------------------------------------------------
|
10
|
+
|
11
|
+
@import "variables.less";
|
12
|
+
@import "mixins.less";
|
13
|
+
|
14
|
+
|
15
|
+
//
|
16
|
+
// Buttons
|
17
|
+
// --------------------------------------------------
|
18
|
+
|
19
|
+
// Common styles
|
20
|
+
.btn-default,
|
21
|
+
.btn-primary,
|
22
|
+
.btn-success,
|
23
|
+
.btn-info,
|
24
|
+
.btn-warning,
|
25
|
+
.btn-danger {
|
26
|
+
text-shadow: 0 -1px 0 rgba(0,0,0,.2);
|
27
|
+
@shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 1px 1px rgba(0,0,0,.075);
|
28
|
+
.box-shadow(@shadow);
|
29
|
+
|
30
|
+
// Reset the shadow
|
31
|
+
&:active,
|
32
|
+
&.active {
|
33
|
+
.box-shadow(inset 0 3px 5px rgba(0,0,0,.125));
|
34
|
+
}
|
35
|
+
|
36
|
+
&.disabled,
|
37
|
+
&[disabled],
|
38
|
+
fieldset[disabled] & {
|
39
|
+
.box-shadow(none);
|
40
|
+
}
|
41
|
+
|
42
|
+
.badge {
|
43
|
+
text-shadow: none;
|
44
|
+
}
|
45
|
+
}
|
46
|
+
|
47
|
+
// Mixin for generating new styles
|
48
|
+
.btn-styles(@btn-color: #555) {
|
49
|
+
#gradient > .vertical(@start-color: @btn-color; @end-color: darken(@btn-color, 12%));
|
50
|
+
.reset-filter(); // Disable gradients for IE9 because filter bleeds through rounded corners; see https://github.com/twbs/bootstrap/issues/10620
|
51
|
+
background-repeat: repeat-x;
|
52
|
+
border-color: darken(@btn-color, 14%);
|
53
|
+
|
54
|
+
&:hover,
|
55
|
+
&:focus {
|
56
|
+
background-color: darken(@btn-color, 12%);
|
57
|
+
background-position: 0 -15px;
|
58
|
+
}
|
59
|
+
|
60
|
+
&:active,
|
61
|
+
&.active {
|
62
|
+
background-color: darken(@btn-color, 12%);
|
63
|
+
border-color: darken(@btn-color, 14%);
|
64
|
+
}
|
65
|
+
|
66
|
+
&.disabled,
|
67
|
+
&[disabled],
|
68
|
+
fieldset[disabled] & {
|
69
|
+
&,
|
70
|
+
&:hover,
|
71
|
+
&:focus,
|
72
|
+
&.focus,
|
73
|
+
&:active,
|
74
|
+
&.active {
|
75
|
+
background-color: darken(@btn-color, 12%);
|
76
|
+
background-image: none;
|
77
|
+
}
|
78
|
+
}
|
79
|
+
}
|
80
|
+
|
81
|
+
// Common styles
|
82
|
+
.btn {
|
83
|
+
// Remove the gradient for the pressed/active state
|
84
|
+
&:active,
|
85
|
+
&.active {
|
86
|
+
background-image: none;
|
87
|
+
}
|
88
|
+
}
|
89
|
+
|
90
|
+
// Apply the mixin to the buttons
|
91
|
+
.btn-default { .btn-styles(@btn-default-bg); text-shadow: 0 1px 0 #fff; border-color: #ccc; }
|
92
|
+
.btn-primary { .btn-styles(@btn-primary-bg); }
|
93
|
+
.btn-success { .btn-styles(@btn-success-bg); }
|
94
|
+
.btn-info { .btn-styles(@btn-info-bg); }
|
95
|
+
.btn-warning { .btn-styles(@btn-warning-bg); }
|
96
|
+
.btn-danger { .btn-styles(@btn-danger-bg); }
|
97
|
+
|
98
|
+
|
99
|
+
//
|
100
|
+
// Images
|
101
|
+
// --------------------------------------------------
|
102
|
+
|
103
|
+
.thumbnail,
|
104
|
+
.img-thumbnail {
|
105
|
+
.box-shadow(0 1px 2px rgba(0,0,0,.075));
|
106
|
+
}
|
107
|
+
|
108
|
+
|
109
|
+
//
|
110
|
+
// Dropdowns
|
111
|
+
// --------------------------------------------------
|
112
|
+
|
113
|
+
.dropdown-menu > li > a:hover,
|
114
|
+
.dropdown-menu > li > a:focus {
|
115
|
+
#gradient > .vertical(@start-color: @dropdown-link-hover-bg; @end-color: darken(@dropdown-link-hover-bg, 5%));
|
116
|
+
background-color: darken(@dropdown-link-hover-bg, 5%);
|
117
|
+
}
|
118
|
+
.dropdown-menu > .active > a,
|
119
|
+
.dropdown-menu > .active > a:hover,
|
120
|
+
.dropdown-menu > .active > a:focus {
|
121
|
+
#gradient > .vertical(@start-color: @dropdown-link-active-bg; @end-color: darken(@dropdown-link-active-bg, 5%));
|
122
|
+
background-color: darken(@dropdown-link-active-bg, 5%);
|
123
|
+
}
|
124
|
+
|
125
|
+
|
126
|
+
//
|
127
|
+
// Navbar
|
128
|
+
// --------------------------------------------------
|
129
|
+
|
130
|
+
// Default navbar
|
131
|
+
.navbar-default {
|
132
|
+
#gradient > .vertical(@start-color: lighten(@navbar-default-bg, 10%); @end-color: @navbar-default-bg);
|
133
|
+
.reset-filter(); // Remove gradient in IE<10 to fix bug where dropdowns don't get triggered
|
134
|
+
border-radius: @navbar-border-radius;
|
135
|
+
@shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 1px 5px rgba(0,0,0,.075);
|
136
|
+
.box-shadow(@shadow);
|
137
|
+
|
138
|
+
.navbar-nav > .open > a,
|
139
|
+
.navbar-nav > .active > a {
|
140
|
+
#gradient > .vertical(@start-color: darken(@navbar-default-link-active-bg, 5%); @end-color: darken(@navbar-default-link-active-bg, 2%));
|
141
|
+
.box-shadow(inset 0 3px 9px rgba(0,0,0,.075));
|
142
|
+
}
|
143
|
+
}
|
144
|
+
.navbar-brand,
|
145
|
+
.navbar-nav > li > a {
|
146
|
+
text-shadow: 0 1px 0 rgba(255,255,255,.25);
|
147
|
+
}
|
148
|
+
|
149
|
+
// Inverted navbar
|
150
|
+
.navbar-inverse {
|
151
|
+
#gradient > .vertical(@start-color: lighten(@navbar-inverse-bg, 10%); @end-color: @navbar-inverse-bg);
|
152
|
+
.reset-filter(); // Remove gradient in IE<10 to fix bug where dropdowns don't get triggered; see https://github.com/twbs/bootstrap/issues/10257
|
153
|
+
border-radius: @navbar-border-radius;
|
154
|
+
.navbar-nav > .open > a,
|
155
|
+
.navbar-nav > .active > a {
|
156
|
+
#gradient > .vertical(@start-color: @navbar-inverse-link-active-bg; @end-color: lighten(@navbar-inverse-link-active-bg, 2.5%));
|
157
|
+
.box-shadow(inset 0 3px 9px rgba(0,0,0,.25));
|
158
|
+
}
|
159
|
+
|
160
|
+
.navbar-brand,
|
161
|
+
.navbar-nav > li > a {
|
162
|
+
text-shadow: 0 -1px 0 rgba(0,0,0,.25);
|
163
|
+
}
|
164
|
+
}
|
165
|
+
|
166
|
+
// Undo rounded corners in static and fixed navbars
|
167
|
+
.navbar-static-top,
|
168
|
+
.navbar-fixed-top,
|
169
|
+
.navbar-fixed-bottom {
|
170
|
+
border-radius: 0;
|
171
|
+
}
|
172
|
+
|
173
|
+
// Fix active state of dropdown items in collapsed mode
|
174
|
+
@media (max-width: @grid-float-breakpoint-max) {
|
175
|
+
.navbar .navbar-nav .open .dropdown-menu > .active > a {
|
176
|
+
&,
|
177
|
+
&:hover,
|
178
|
+
&:focus {
|
179
|
+
color: #fff;
|
180
|
+
#gradient > .vertical(@start-color: @dropdown-link-active-bg; @end-color: darken(@dropdown-link-active-bg, 5%));
|
181
|
+
}
|
182
|
+
}
|
183
|
+
}
|
184
|
+
|
185
|
+
|
186
|
+
//
|
187
|
+
// Alerts
|
188
|
+
// --------------------------------------------------
|
189
|
+
|
190
|
+
// Common styles
|
191
|
+
.alert {
|
192
|
+
text-shadow: 0 1px 0 rgba(255,255,255,.2);
|
193
|
+
@shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 1px 2px rgba(0,0,0,.05);
|
194
|
+
.box-shadow(@shadow);
|
195
|
+
}
|
196
|
+
|
197
|
+
// Mixin for generating new styles
|
198
|
+
.alert-styles(@color) {
|
199
|
+
#gradient > .vertical(@start-color: @color; @end-color: darken(@color, 7.5%));
|
200
|
+
border-color: darken(@color, 15%);
|
201
|
+
}
|
202
|
+
|
203
|
+
// Apply the mixin to the alerts
|
204
|
+
.alert-success { .alert-styles(@alert-success-bg); }
|
205
|
+
.alert-info { .alert-styles(@alert-info-bg); }
|
206
|
+
.alert-warning { .alert-styles(@alert-warning-bg); }
|
207
|
+
.alert-danger { .alert-styles(@alert-danger-bg); }
|
208
|
+
|
209
|
+
|
210
|
+
//
|
211
|
+
// Progress bars
|
212
|
+
// --------------------------------------------------
|
213
|
+
|
214
|
+
// Give the progress background some depth
|
215
|
+
.progress {
|
216
|
+
#gradient > .vertical(@start-color: darken(@progress-bg, 4%); @end-color: @progress-bg)
|
217
|
+
}
|
218
|
+
|
219
|
+
// Mixin for generating new styles
|
220
|
+
.progress-bar-styles(@color) {
|
221
|
+
#gradient > .vertical(@start-color: @color; @end-color: darken(@color, 10%));
|
222
|
+
}
|
223
|
+
|
224
|
+
// Apply the mixin to the progress bars
|
225
|
+
.progress-bar { .progress-bar-styles(@progress-bar-bg); }
|
226
|
+
.progress-bar-success { .progress-bar-styles(@progress-bar-success-bg); }
|
227
|
+
.progress-bar-info { .progress-bar-styles(@progress-bar-info-bg); }
|
228
|
+
.progress-bar-warning { .progress-bar-styles(@progress-bar-warning-bg); }
|
229
|
+
.progress-bar-danger { .progress-bar-styles(@progress-bar-danger-bg); }
|
230
|
+
|
231
|
+
// Reset the striped class because our mixins don't do multiple gradients and
|
232
|
+
// the above custom styles override the new `.progress-bar-striped` in v3.2.0.
|
233
|
+
.progress-bar-striped {
|
234
|
+
#gradient > .striped();
|
235
|
+
}
|
236
|
+
|
237
|
+
|
238
|
+
//
|
239
|
+
// List groups
|
240
|
+
// --------------------------------------------------
|
241
|
+
|
242
|
+
.list-group {
|
243
|
+
border-radius: @border-radius-base;
|
244
|
+
.box-shadow(0 1px 2px rgba(0,0,0,.075));
|
245
|
+
}
|
246
|
+
.list-group-item.active,
|
247
|
+
.list-group-item.active:hover,
|
248
|
+
.list-group-item.active:focus {
|
249
|
+
text-shadow: 0 -1px 0 darken(@list-group-active-bg, 10%);
|
250
|
+
#gradient > .vertical(@start-color: @list-group-active-bg; @end-color: darken(@list-group-active-bg, 7.5%));
|
251
|
+
border-color: darken(@list-group-active-border, 7.5%);
|
252
|
+
|
253
|
+
.badge {
|
254
|
+
text-shadow: none;
|
255
|
+
}
|
256
|
+
}
|
257
|
+
|
258
|
+
|
259
|
+
//
|
260
|
+
// Panels
|
261
|
+
// --------------------------------------------------
|
262
|
+
|
263
|
+
// Common styles
|
264
|
+
.panel {
|
265
|
+
.box-shadow(0 1px 2px rgba(0,0,0,.05));
|
266
|
+
}
|
267
|
+
|
268
|
+
// Mixin for generating new styles
|
269
|
+
.panel-heading-styles(@color) {
|
270
|
+
#gradient > .vertical(@start-color: @color; @end-color: darken(@color, 5%));
|
271
|
+
}
|
272
|
+
|
273
|
+
// Apply the mixin to the panel headings only
|
274
|
+
.panel-default > .panel-heading { .panel-heading-styles(@panel-default-heading-bg); }
|
275
|
+
.panel-primary > .panel-heading { .panel-heading-styles(@panel-primary-heading-bg); }
|
276
|
+
.panel-success > .panel-heading { .panel-heading-styles(@panel-success-heading-bg); }
|
277
|
+
.panel-info > .panel-heading { .panel-heading-styles(@panel-info-heading-bg); }
|
278
|
+
.panel-warning > .panel-heading { .panel-heading-styles(@panel-warning-heading-bg); }
|
279
|
+
.panel-danger > .panel-heading { .panel-heading-styles(@panel-danger-heading-bg); }
|
280
|
+
|
281
|
+
|
282
|
+
//
|
283
|
+
// Wells
|
284
|
+
// --------------------------------------------------
|
285
|
+
|
286
|
+
.well {
|
287
|
+
#gradient > .vertical(@start-color: darken(@well-bg, 5%); @end-color: @well-bg);
|
288
|
+
border-color: darken(@well-bg, 10%);
|
289
|
+
@shadow: inset 0 1px 3px rgba(0,0,0,.05), 0 1px 0 rgba(255,255,255,.1);
|
290
|
+
.box-shadow(@shadow);
|
291
|
+
}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
//
|
2
|
+
// Thumbnails
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
// Mixin and adjust the regular image class
|
7
|
+
.thumbnail {
|
8
|
+
display: block;
|
9
|
+
padding: @thumbnail-padding;
|
10
|
+
margin-bottom: @line-height-computed;
|
11
|
+
line-height: @line-height-base;
|
12
|
+
background-color: @thumbnail-bg;
|
13
|
+
border: 1px solid @thumbnail-border;
|
14
|
+
border-radius: @thumbnail-border-radius;
|
15
|
+
.transition(border .2s ease-in-out);
|
16
|
+
|
17
|
+
> img,
|
18
|
+
a > img {
|
19
|
+
&:extend(.img-responsive);
|
20
|
+
margin-left: auto;
|
21
|
+
margin-right: auto;
|
22
|
+
}
|
23
|
+
|
24
|
+
// Add a hover state for linked versions only
|
25
|
+
a&:hover,
|
26
|
+
a&:focus,
|
27
|
+
a&.active {
|
28
|
+
border-color: @link-color;
|
29
|
+
}
|
30
|
+
|
31
|
+
// Image captions
|
32
|
+
.caption {
|
33
|
+
padding: @thumbnail-caption-padding;
|
34
|
+
color: @thumbnail-caption-color;
|
35
|
+
}
|
36
|
+
}
|
@@ -0,0 +1,102 @@
|
|
1
|
+
//
|
2
|
+
// Tooltips
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
// Base class
|
7
|
+
.tooltip {
|
8
|
+
position: absolute;
|
9
|
+
z-index: @zindex-tooltip;
|
10
|
+
display: block;
|
11
|
+
// Our parent element can be arbitrary since tooltips are by default inserted as a sibling of their target element.
|
12
|
+
// So reset our font and text properties to avoid inheriting weird values.
|
13
|
+
.reset-text();
|
14
|
+
font-size: @font-size-small;
|
15
|
+
|
16
|
+
.opacity(90);
|
17
|
+
|
18
|
+
&.in { .opacity(@tooltip-opacity); }
|
19
|
+
&.top { margin-top: -3px; padding: @tooltip-arrow-width 0; }
|
20
|
+
&.right { margin-left: 3px; padding: 0 @tooltip-arrow-width; }
|
21
|
+
&.bottom { margin-top: 3px; padding: @tooltip-arrow-width 0; }
|
22
|
+
&.left { margin-left: -3px; padding: 0 @tooltip-arrow-width; }
|
23
|
+
}
|
24
|
+
|
25
|
+
// Wrapper for the tooltip content
|
26
|
+
.tooltip-inner {
|
27
|
+
max-width: @tooltip-max-width;
|
28
|
+
padding: 3px 8px;
|
29
|
+
// color: @tooltip-color;
|
30
|
+
color: #fff;
|
31
|
+
text-align: center;
|
32
|
+
background-color: @tooltip-bg;
|
33
|
+
border-radius: @border-radius-base;
|
34
|
+
}
|
35
|
+
|
36
|
+
// Arrows
|
37
|
+
.tooltip-arrow {
|
38
|
+
position: absolute;
|
39
|
+
width: 0;
|
40
|
+
height: 0;
|
41
|
+
border-color: transparent;
|
42
|
+
border-style: solid;
|
43
|
+
}
|
44
|
+
// Note: Deprecated .top-left, .top-right, .bottom-left, and .bottom-right as of v3.3.1
|
45
|
+
.tooltip {
|
46
|
+
&.top .tooltip-arrow {
|
47
|
+
bottom: 0;
|
48
|
+
left: 50%;
|
49
|
+
margin-left: -@tooltip-arrow-width;
|
50
|
+
border-width: @tooltip-arrow-width @tooltip-arrow-width 0;
|
51
|
+
border-top-color: @tooltip-arrow-color;
|
52
|
+
}
|
53
|
+
&.top-left .tooltip-arrow {
|
54
|
+
bottom: 0;
|
55
|
+
right: @tooltip-arrow-width;
|
56
|
+
margin-bottom: -@tooltip-arrow-width;
|
57
|
+
border-width: @tooltip-arrow-width @tooltip-arrow-width 0;
|
58
|
+
border-top-color: @tooltip-arrow-color;
|
59
|
+
}
|
60
|
+
&.top-right .tooltip-arrow {
|
61
|
+
bottom: 0;
|
62
|
+
left: @tooltip-arrow-width;
|
63
|
+
margin-bottom: -@tooltip-arrow-width;
|
64
|
+
border-width: @tooltip-arrow-width @tooltip-arrow-width 0;
|
65
|
+
border-top-color: @tooltip-arrow-color;
|
66
|
+
}
|
67
|
+
&.right .tooltip-arrow {
|
68
|
+
top: 50%;
|
69
|
+
left: 0;
|
70
|
+
margin-top: -@tooltip-arrow-width;
|
71
|
+
border-width: @tooltip-arrow-width @tooltip-arrow-width @tooltip-arrow-width 0;
|
72
|
+
border-right-color: @tooltip-arrow-color;
|
73
|
+
}
|
74
|
+
&.left .tooltip-arrow {
|
75
|
+
top: 50%;
|
76
|
+
right: 0;
|
77
|
+
margin-top: -@tooltip-arrow-width;
|
78
|
+
border-width: @tooltip-arrow-width 0 @tooltip-arrow-width @tooltip-arrow-width;
|
79
|
+
border-left-color: @tooltip-arrow-color;
|
80
|
+
}
|
81
|
+
&.bottom .tooltip-arrow {
|
82
|
+
top: 0;
|
83
|
+
left: 50%;
|
84
|
+
margin-left: -@tooltip-arrow-width;
|
85
|
+
border-width: 0 @tooltip-arrow-width @tooltip-arrow-width;
|
86
|
+
border-bottom-color: @tooltip-arrow-color;
|
87
|
+
}
|
88
|
+
&.bottom-left .tooltip-arrow {
|
89
|
+
top: 0;
|
90
|
+
right: @tooltip-arrow-width;
|
91
|
+
margin-top: -@tooltip-arrow-width;
|
92
|
+
border-width: 0 @tooltip-arrow-width @tooltip-arrow-width;
|
93
|
+
border-bottom-color: @tooltip-arrow-color;
|
94
|
+
}
|
95
|
+
&.bottom-right .tooltip-arrow {
|
96
|
+
top: 0;
|
97
|
+
left: @tooltip-arrow-width;
|
98
|
+
margin-top: -@tooltip-arrow-width;
|
99
|
+
border-width: 0 @tooltip-arrow-width @tooltip-arrow-width;
|
100
|
+
border-bottom-color: @tooltip-arrow-color;
|
101
|
+
}
|
102
|
+
}
|