system-clients 3.2.6 → 3.2.7-rongcheng
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/3.5/file-changes/last-build.bin +0 -0
- package/.gradle/3.5/taskHistory/taskHistory.lock +0 -0
- package/.gradle/3.5.1/file-changes/last-build.bin +0 -0
- package/.gradle/3.5.1/taskHistory/taskHistory.lock +0 -0
- package/.gradle/buildOutputCleanup/built.bin +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +2 -0
- package/.gradle/buildOutputCleanup/cache.properties.lock +1 -0
- package/SystemClient.iml +5 -2
- package/build/webpack.base.conf.js +11 -21
- package/package.json +4 -6
- package/src/App.vue +24 -24
- package/src/components/Main.vue +476 -626
- package/src/components/equipment/EquipmentManage.vue +1 -1
- package/src/components/equipment/PcAdd.vue +5 -5
- package/src/components/equipment/PcList.vue +5 -5
- package/src/components/equipment/PhoneAdd.vue +13 -26
- package/src/components/equipment/PhoneList.vue +21 -31
- package/src/components/equipment/PosAdd.vue +45 -231
- package/src/components/equipment/PosList.vue +68 -198
- package/src/components/equipment/PosManage.vue +9 -80
- package/src/components/parammanage/ParamManage.vue +2 -2
- package/src/components/parammanage/ParamPage.vue +8 -30
- package/src/components/parammanage/SinglePage.vue +4 -4
- package/src/components/server/LoadData.vue +2 -21
- package/src/components/server/Login.vue +638 -889
- package/src/components/server/ModifyPw.vue +7 -12
- package/src/components/server/ResSelect.vue +0 -5
- package/src/components/server/RightTree.vue +204 -289
- package/src/plugins/GetLoginInfoService.js +515 -521
- package/src/plugins/validation.js +1 -9
- package/src/system.js +1 -34
- package/src/components/TabButton.vue +0 -201
- package/src/components/Tabs.vue +0 -67
- package/src/components/addressManage/AddressCascadingMenu.vue +0 -145
- package/src/components/equipment/PosManageBoth.vue +0 -125
- package/src/components/equipment/PosParamAdd.vue +0 -236
- package/src/components/equipment/PosParamList.vue +0 -121
- package/src/components/equipment/PosParamManage.vue +0 -51
- package/src/components/server/ImageVieweTest.vue +0 -56
- package/src/components/server/ImageViewer.vue +0 -350
- package/src/components/server/PcdBuildingSelect.vue +0 -241
- package/src/filiale/dongguan/Main.vue +0 -715
- package/src/filiale/dongguan/system.js +0 -5
- package/src/filiale/konggang/Login.vue +0 -840
- package/src/filiale/konggang/system.js +0 -7
- package/src/filiale/qianneng/ModifyPw.vue +0 -107
- package/src/filiale/qianneng/system.js +0 -7
- package/src/filiale/rizhao/LeftTree.vue +0 -111
- package/src/filiale/rizhao/Login.vue +0 -791
- package/src/filiale/rizhao/Main.vue +0 -606
- package/src/filiale/rizhao/system.js +0 -14
- package/src/filiale/yuchuan/Login.vue +0 -889
- package/src/filiale/yuchuan/Main.vue +0 -773
- package/src/filiale/yuchuan/system.js +0 -10
- package/src/plugins/EncryptUtil.js +0 -53
- package/src/plugins/HeatGetLoginInfoService.js +0 -491
- package/src/stores/HeatAppData.js +0 -38
- 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 +0 -288
- 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 +0 -304
- package/src/styles/less/.csslintrc +0 -19
- package/src/styles/less/alerts.less +0 -73
- package/src/styles/less/aofeng/animate.min.css +0 -11
- package/src/styles/less/aofeng/expandcss.less +0 -569
- package/src/styles/less/aofeng/standard.less +0 -2507
- package/src/styles/less/aofeng/themeOne/BinaryTemplate.less +0 -686
- package/src/styles/less/aofeng/themeOne/loginStyle.less +0 -1586
- package/src/styles/less/aofeng/themeOne/systemStyle.less +0 -2650
- package/src/styles/less/aofeng/themeOne.less +0 -17
- package/src/styles/less/aofeng/themeTwo/newStyle1.less +0 -415
- package/src/styles/less/aofeng/themeTwo.less +0 -3
- package/src/styles/less/badges.less +0 -66
- package/src/styles/less/bootstrap.less +0 -66
- package/src/styles/less/breadcrumbs.less +0 -26
- package/src/styles/less/button-groups.less +0 -247
- package/src/styles/less/buttons.less +0 -172
- package/src/styles/less/carousel.less +0 -269
- package/src/styles/less/close.less +0 -34
- package/src/styles/less/code.less +0 -69
- package/src/styles/less/component-animations.less +0 -33
- package/src/styles/less/dropdowns.less +0 -216
- package/src/styles/less/fonts-list.less +0 -25
- package/src/styles/less/forms.less +0 -626
- package/src/styles/less/glyphicons.less +0 -305
- package/src/styles/less/grid.less +0 -84
- package/src/styles/less/input-groups.less +0 -167
- package/src/styles/less/jumbotron.less +0 -52
- package/src/styles/less/labels.less +0 -64
- package/src/styles/less/list-group.less +0 -141
- package/src/styles/less/manageStyle/manageChile.less +0 -180
- package/src/styles/less/manageStyle/manageStyle/manageChile.less +0 -180
- package/src/styles/less/manageStyle/manageStyle/manageStyle.less +0 -1102
- package/src/styles/less/manageStyle/manageStyle/safeStyle.less +0 -498
- package/src/styles/less/manageStyle/manageStyle.less +0 -1102
- package/src/styles/less/manageStyle/safeStyle.less +0 -498
- package/src/styles/less/media.less +0 -66
- package/src/styles/less/mixins/alerts.less +0 -14
- package/src/styles/less/mixins/background-variant.less +0 -9
- package/src/styles/less/mixins/border-radius.less +0 -18
- package/src/styles/less/mixins/buttons.less +0 -69
- package/src/styles/less/mixins/center-block.less +0 -7
- package/src/styles/less/mixins/clearfix.less +0 -22
- package/src/styles/less/mixins/forms.less +0 -90
- package/src/styles/less/mixins/gradients.less +0 -59
- package/src/styles/less/mixins/grid-framework.less +0 -92
- package/src/styles/less/mixins/grid.less +0 -122
- package/src/styles/less/mixins/hide-text.less +0 -21
- package/src/styles/less/mixins/image.less +0 -33
- package/src/styles/less/mixins/labels.less +0 -12
- package/src/styles/less/mixins/list-group.less +0 -30
- package/src/styles/less/mixins/nav-divider.less +0 -10
- package/src/styles/less/mixins/nav-vertical-align.less +0 -9
- package/src/styles/less/mixins/opacity.less +0 -8
- package/src/styles/less/mixins/pagination.less +0 -24
- package/src/styles/less/mixins/panels.less +0 -24
- package/src/styles/less/mixins/progress-bar.less +0 -10
- package/src/styles/less/mixins/reset-filter.less +0 -8
- package/src/styles/less/mixins/reset-text.less +0 -18
- package/src/styles/less/mixins/resize.less +0 -6
- package/src/styles/less/mixins/responsive-visibility.less +0 -15
- package/src/styles/less/mixins/size.less +0 -10
- package/src/styles/less/mixins/tab-focus.less +0 -9
- package/src/styles/less/mixins/table-row.less +0 -44
- package/src/styles/less/mixins/text-emphasis.less +0 -9
- package/src/styles/less/mixins/text-overflow.less +0 -8
- package/src/styles/less/mixins/vendor-prefixes.less +0 -227
- package/src/styles/less/mixins.less +0 -40
- package/src/styles/less/modals.less +0 -151
- package/src/styles/less/navbar.less +0 -660
- package/src/styles/less/navs.less +0 -285
- package/src/styles/less/normalize.less +0 -424
- package/src/styles/less/pager.less +0 -76
- package/src/styles/less/pagination.less +0 -89
- package/src/styles/less/panels.less +0 -275
- package/src/styles/less/popovers.less +0 -131
- package/src/styles/less/print.less +0 -101
- package/src/styles/less/progress-bars.less +0 -87
- package/src/styles/less/responsive-embed.less +0 -35
- package/src/styles/less/responsive-utilities.less +0 -194
- package/src/styles/less/scaffolding.less +0 -161
- package/src/styles/less/stand.less +0 -207
- package/src/styles/less/tables.less +0 -312
- package/src/styles/less/theme.less +0 -291
- package/src/styles/less/thumbnails.less +0 -36
- package/src/styles/less/tooltip.less +0 -102
- package/src/styles/less/type.less +0 -316
- package/src/styles/less/utilities.less +0 -55
- package/src/styles/less/variables.less +0 -899
- package/src/styles/less/wells.less +0 -29
- package/src/util/Daiban.json +0 -12
- package/static/images/lefticon//345/220/210/345/220/214/347/256/241/347/220/206.png +0 -0
- package/static/logo.png +0 -0
- package/static/newStyle/about-us.png +0 -0
- package/static/rizhao.png +0 -0
- package/yarn-error.log +0 -6896
@@ -1,227 +0,0 @@
|
|
1
|
-
// Vendor Prefixes
|
2
|
-
//
|
3
|
-
// All vendor mixins are deprecated as of v3.2.0 due to the introduction of
|
4
|
-
// Autoprefixer in our Gruntfile. They will be removed in v4.
|
5
|
-
|
6
|
-
// - Animations
|
7
|
-
// - Backface visibility
|
8
|
-
// - Box shadow
|
9
|
-
// - Box sizing
|
10
|
-
// - Content columns
|
11
|
-
// - Hyphens
|
12
|
-
// - Placeholder text
|
13
|
-
// - Transformations
|
14
|
-
// - Transitions
|
15
|
-
// - User Select
|
16
|
-
|
17
|
-
|
18
|
-
// Animations
|
19
|
-
.animation(@animation) {
|
20
|
-
-webkit-animation: @animation;
|
21
|
-
-o-animation: @animation;
|
22
|
-
animation: @animation;
|
23
|
-
}
|
24
|
-
.animation-name(@name) {
|
25
|
-
-webkit-animation-name: @name;
|
26
|
-
animation-name: @name;
|
27
|
-
}
|
28
|
-
.animation-duration(@duration) {
|
29
|
-
-webkit-animation-duration: @duration;
|
30
|
-
animation-duration: @duration;
|
31
|
-
}
|
32
|
-
.animation-timing-function(@timing-function) {
|
33
|
-
-webkit-animation-timing-function: @timing-function;
|
34
|
-
animation-timing-function: @timing-function;
|
35
|
-
}
|
36
|
-
.animation-delay(@delay) {
|
37
|
-
-webkit-animation-delay: @delay;
|
38
|
-
animation-delay: @delay;
|
39
|
-
}
|
40
|
-
.animation-iteration-count(@iteration-count) {
|
41
|
-
-webkit-animation-iteration-count: @iteration-count;
|
42
|
-
animation-iteration-count: @iteration-count;
|
43
|
-
}
|
44
|
-
.animation-direction(@direction) {
|
45
|
-
-webkit-animation-direction: @direction;
|
46
|
-
animation-direction: @direction;
|
47
|
-
}
|
48
|
-
.animation-fill-mode(@fill-mode) {
|
49
|
-
-webkit-animation-fill-mode: @fill-mode;
|
50
|
-
animation-fill-mode: @fill-mode;
|
51
|
-
}
|
52
|
-
|
53
|
-
// Backface visibility
|
54
|
-
// Prevent browsers from flickering when using CSS 3D transforms.
|
55
|
-
// Default value is `visible`, but can be changed to `hidden`
|
56
|
-
|
57
|
-
.backface-visibility(@visibility){
|
58
|
-
-webkit-backface-visibility: @visibility;
|
59
|
-
-moz-backface-visibility: @visibility;
|
60
|
-
backface-visibility: @visibility;
|
61
|
-
}
|
62
|
-
|
63
|
-
// Drop shadows
|
64
|
-
//
|
65
|
-
// Note: Deprecated `.box-shadow()` as of v3.1.0 since all of Bootstrap's
|
66
|
-
// supported browsers that have box shadow capabilities now support it.
|
67
|
-
|
68
|
-
.box-shadow(@shadow) {
|
69
|
-
-webkit-box-shadow: @shadow; // iOS <4.3 & Android <4.1
|
70
|
-
box-shadow: @shadow;
|
71
|
-
}
|
72
|
-
|
73
|
-
// Box sizing
|
74
|
-
.box-sizing(@boxmodel) {
|
75
|
-
-webkit-box-sizing: @boxmodel;
|
76
|
-
-moz-box-sizing: @boxmodel;
|
77
|
-
box-sizing: @boxmodel;
|
78
|
-
}
|
79
|
-
|
80
|
-
// CSS3 Content Columns
|
81
|
-
.content-columns(@column-count; @column-gap: @grid-gutter-width) {
|
82
|
-
-webkit-column-count: @column-count;
|
83
|
-
-moz-column-count: @column-count;
|
84
|
-
column-count: @column-count;
|
85
|
-
-webkit-column-gap: @column-gap;
|
86
|
-
-moz-column-gap: @column-gap;
|
87
|
-
column-gap: @column-gap;
|
88
|
-
}
|
89
|
-
|
90
|
-
// Optional hyphenation
|
91
|
-
.hyphens(@mode: auto) {
|
92
|
-
word-wrap: break-word;
|
93
|
-
-webkit-hyphens: @mode;
|
94
|
-
-moz-hyphens: @mode;
|
95
|
-
-ms-hyphens: @mode; // IE10+
|
96
|
-
-o-hyphens: @mode;
|
97
|
-
hyphens: @mode;
|
98
|
-
}
|
99
|
-
|
100
|
-
// Placeholder text
|
101
|
-
.placeholder(@color: @input-color-placeholder) {
|
102
|
-
// Firefox
|
103
|
-
&::-moz-placeholder {
|
104
|
-
color: @color;
|
105
|
-
opacity: 1; // Override Firefox's unusual default opacity; see https://github.com/twbs/bootstrap/pull/11526
|
106
|
-
}
|
107
|
-
&:-ms-input-placeholder { color: @color; } // Internet Explorer 10+
|
108
|
-
&::-webkit-input-placeholder { color: @color; } // Safari and Chrome
|
109
|
-
}
|
110
|
-
|
111
|
-
// Transformations
|
112
|
-
.scale(@ratio) {
|
113
|
-
-webkit-transform: scale(@ratio);
|
114
|
-
-ms-transform: scale(@ratio); // IE9 only
|
115
|
-
-o-transform: scale(@ratio);
|
116
|
-
transform: scale(@ratio);
|
117
|
-
}
|
118
|
-
.scale(@ratioX; @ratioY) {
|
119
|
-
-webkit-transform: scale(@ratioX, @ratioY);
|
120
|
-
-ms-transform: scale(@ratioX, @ratioY); // IE9 only
|
121
|
-
-o-transform: scale(@ratioX, @ratioY);
|
122
|
-
transform: scale(@ratioX, @ratioY);
|
123
|
-
}
|
124
|
-
.scaleX(@ratio) {
|
125
|
-
-webkit-transform: scaleX(@ratio);
|
126
|
-
-ms-transform: scaleX(@ratio); // IE9 only
|
127
|
-
-o-transform: scaleX(@ratio);
|
128
|
-
transform: scaleX(@ratio);
|
129
|
-
}
|
130
|
-
.scaleY(@ratio) {
|
131
|
-
-webkit-transform: scaleY(@ratio);
|
132
|
-
-ms-transform: scaleY(@ratio); // IE9 only
|
133
|
-
-o-transform: scaleY(@ratio);
|
134
|
-
transform: scaleY(@ratio);
|
135
|
-
}
|
136
|
-
.skew(@x; @y) {
|
137
|
-
-webkit-transform: skewX(@x) skewY(@y);
|
138
|
-
-ms-transform: skewX(@x) skewY(@y); // See https://github.com/twbs/bootstrap/issues/4885; IE9+
|
139
|
-
-o-transform: skewX(@x) skewY(@y);
|
140
|
-
transform: skewX(@x) skewY(@y);
|
141
|
-
}
|
142
|
-
.translate(@x; @y) {
|
143
|
-
-webkit-transform: translate(@x, @y);
|
144
|
-
-ms-transform: translate(@x, @y); // IE9 only
|
145
|
-
-o-transform: translate(@x, @y);
|
146
|
-
transform: translate(@x, @y);
|
147
|
-
}
|
148
|
-
.translate3d(@x; @y; @z) {
|
149
|
-
-webkit-transform: translate3d(@x, @y, @z);
|
150
|
-
transform: translate3d(@x, @y, @z);
|
151
|
-
}
|
152
|
-
.rotate(@degrees) {
|
153
|
-
-webkit-transform: rotate(@degrees);
|
154
|
-
-ms-transform: rotate(@degrees); // IE9 only
|
155
|
-
-o-transform: rotate(@degrees);
|
156
|
-
transform: rotate(@degrees);
|
157
|
-
}
|
158
|
-
.rotateX(@degrees) {
|
159
|
-
-webkit-transform: rotateX(@degrees);
|
160
|
-
-ms-transform: rotateX(@degrees); // IE9 only
|
161
|
-
-o-transform: rotateX(@degrees);
|
162
|
-
transform: rotateX(@degrees);
|
163
|
-
}
|
164
|
-
.rotateY(@degrees) {
|
165
|
-
-webkit-transform: rotateY(@degrees);
|
166
|
-
-ms-transform: rotateY(@degrees); // IE9 only
|
167
|
-
-o-transform: rotateY(@degrees);
|
168
|
-
transform: rotateY(@degrees);
|
169
|
-
}
|
170
|
-
.perspective(@perspective) {
|
171
|
-
-webkit-perspective: @perspective;
|
172
|
-
-moz-perspective: @perspective;
|
173
|
-
perspective: @perspective;
|
174
|
-
}
|
175
|
-
.perspective-origin(@perspective) {
|
176
|
-
-webkit-perspective-origin: @perspective;
|
177
|
-
-moz-perspective-origin: @perspective;
|
178
|
-
perspective-origin: @perspective;
|
179
|
-
}
|
180
|
-
.transform-origin(@origin) {
|
181
|
-
-webkit-transform-origin: @origin;
|
182
|
-
-moz-transform-origin: @origin;
|
183
|
-
-ms-transform-origin: @origin; // IE9 only
|
184
|
-
transform-origin: @origin;
|
185
|
-
}
|
186
|
-
|
187
|
-
|
188
|
-
// Transitions
|
189
|
-
|
190
|
-
.transition(@transition) {
|
191
|
-
-webkit-transition: @transition;
|
192
|
-
-o-transition: @transition;
|
193
|
-
transition: @transition;
|
194
|
-
}
|
195
|
-
.transition-property(@transition-property) {
|
196
|
-
-webkit-transition-property: @transition-property;
|
197
|
-
transition-property: @transition-property;
|
198
|
-
}
|
199
|
-
.transition-delay(@transition-delay) {
|
200
|
-
-webkit-transition-delay: @transition-delay;
|
201
|
-
transition-delay: @transition-delay;
|
202
|
-
}
|
203
|
-
.transition-duration(@transition-duration) {
|
204
|
-
-webkit-transition-duration: @transition-duration;
|
205
|
-
transition-duration: @transition-duration;
|
206
|
-
}
|
207
|
-
.transition-timing-function(@timing-function) {
|
208
|
-
-webkit-transition-timing-function: @timing-function;
|
209
|
-
transition-timing-function: @timing-function;
|
210
|
-
}
|
211
|
-
.transition-transform(@transition) {
|
212
|
-
-webkit-transition: -webkit-transform @transition;
|
213
|
-
-moz-transition: -moz-transform @transition;
|
214
|
-
-o-transition: -o-transform @transition;
|
215
|
-
transition: transform @transition;
|
216
|
-
}
|
217
|
-
|
218
|
-
|
219
|
-
// User select
|
220
|
-
// For selecting text on the page
|
221
|
-
|
222
|
-
.user-select(@select) {
|
223
|
-
-webkit-user-select: @select;
|
224
|
-
-moz-user-select: @select;
|
225
|
-
-ms-user-select: @select; // IE10+
|
226
|
-
user-select: @select;
|
227
|
-
}
|
@@ -1,40 +0,0 @@
|
|
1
|
-
// Mixins
|
2
|
-
// --------------------------------------------------
|
3
|
-
|
4
|
-
// Utilities
|
5
|
-
@import "mixins/hide-text.less";
|
6
|
-
@import "mixins/opacity.less";
|
7
|
-
@import "mixins/image.less";
|
8
|
-
@import "mixins/labels.less";
|
9
|
-
@import "mixins/reset-filter.less";
|
10
|
-
@import "mixins/resize.less";
|
11
|
-
@import "mixins/responsive-visibility.less";
|
12
|
-
@import "mixins/size.less";
|
13
|
-
@import "mixins/tab-focus.less";
|
14
|
-
@import "mixins/reset-text.less";
|
15
|
-
@import "mixins/text-emphasis.less";
|
16
|
-
@import "mixins/text-overflow.less";
|
17
|
-
@import "mixins/vendor-prefixes.less";
|
18
|
-
|
19
|
-
// Components
|
20
|
-
@import "mixins/alerts.less";
|
21
|
-
@import "mixins/buttons.less";
|
22
|
-
@import "mixins/panels.less";
|
23
|
-
@import "mixins/pagination.less";
|
24
|
-
@import "mixins/list-group.less";
|
25
|
-
@import "mixins/nav-divider.less";
|
26
|
-
@import "mixins/forms.less";
|
27
|
-
@import "mixins/progress-bar.less";
|
28
|
-
@import "mixins/table-row.less";
|
29
|
-
|
30
|
-
// Skins
|
31
|
-
@import "mixins/background-variant.less";
|
32
|
-
@import "mixins/border-radius.less";
|
33
|
-
@import "mixins/gradients.less";
|
34
|
-
|
35
|
-
// Layout
|
36
|
-
@import "mixins/clearfix.less";
|
37
|
-
@import "mixins/center-block.less";
|
38
|
-
@import "mixins/nav-vertical-align.less";
|
39
|
-
@import "mixins/grid-framework.less";
|
40
|
-
@import "mixins/grid.less";
|
@@ -1,151 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// Modals
|
3
|
-
// --------------------------------------------------
|
4
|
-
|
5
|
-
// .modal-open - body class for killing the scroll
|
6
|
-
// .modal - container to scroll within
|
7
|
-
// .modal-dialog - positioning shell for the actual modal
|
8
|
-
// .modal-content - actual modal w/ bg and corners and shit
|
9
|
-
|
10
|
-
// Kill the scroll on the body
|
11
|
-
.modal-open {
|
12
|
-
overflow: hidden;
|
13
|
-
}
|
14
|
-
|
15
|
-
// Container that the modal scrolls within
|
16
|
-
.modal {
|
17
|
-
display: none;
|
18
|
-
overflow: hidden;
|
19
|
-
position: fixed;
|
20
|
-
top: 0;
|
21
|
-
right: 0;
|
22
|
-
bottom: 0;
|
23
|
-
left: 0;
|
24
|
-
z-index: @zindex-modal;
|
25
|
-
-webkit-overflow-scrolling: touch;
|
26
|
-
|
27
|
-
// Prevent Chrome on Windows from adding a focus outline. For details, see
|
28
|
-
// https://github.com/twbs/bootstrap/pull/10951.
|
29
|
-
outline: 0;
|
30
|
-
|
31
|
-
// When fading in the modal, animate it to slide down
|
32
|
-
&.fade .modal-dialog {
|
33
|
-
.translate(0, -25%);
|
34
|
-
.transition-transform(~"0.3s ease-out");
|
35
|
-
}
|
36
|
-
&.in .modal-dialog { .translate(0, 0) }
|
37
|
-
}
|
38
|
-
.modal-open .modal {
|
39
|
-
overflow-x: hidden;
|
40
|
-
overflow-y: auto;
|
41
|
-
}
|
42
|
-
|
43
|
-
// Shell div to position the modal with bottom padding
|
44
|
-
.modal-dialog {
|
45
|
-
position: relative;
|
46
|
-
width: auto;
|
47
|
-
margin: 10px;
|
48
|
-
height: auto; // 原本没有,自己添加
|
49
|
-
}
|
50
|
-
|
51
|
-
// Actual modal
|
52
|
-
.modal-content {
|
53
|
-
position: relative;
|
54
|
-
background-color: @modal-content-bg;
|
55
|
-
border: 1px solid @modal-content-fallback-border-color; //old browsers fallback (ie8 etc)
|
56
|
-
border: 1px solid @modal-content-border-color;
|
57
|
-
border-radius: @border-radius-large;
|
58
|
-
.box-shadow(0 3px 9px rgba(0,0,0,.5));
|
59
|
-
background-clip: padding-box;
|
60
|
-
// Remove focus outline from opened modal
|
61
|
-
outline: 0;
|
62
|
-
}
|
63
|
-
|
64
|
-
// Modal background
|
65
|
-
.modal-backdrop {
|
66
|
-
position: fixed;
|
67
|
-
top: 0;
|
68
|
-
right: 0;
|
69
|
-
bottom: 0;
|
70
|
-
left: 0;
|
71
|
-
z-index: @zindex-modal-background;
|
72
|
-
background-color: @modal-backdrop-bg;
|
73
|
-
// Fade for backdrop
|
74
|
-
&.fade { .opacity(0); }
|
75
|
-
&.in { .opacity(@modal-backdrop-opacity); }
|
76
|
-
}
|
77
|
-
|
78
|
-
// Modal header
|
79
|
-
// Top section of the modal w/ title and dismiss
|
80
|
-
.modal-header {
|
81
|
-
padding: @modal-title-padding;
|
82
|
-
border-bottom: 1px solid @modal-header-border-color;
|
83
|
-
min-height: (@modal-title-padding + @modal-title-line-height);
|
84
|
-
}
|
85
|
-
// Close icon
|
86
|
-
.modal-header .close {
|
87
|
-
margin-top: -2px;
|
88
|
-
}
|
89
|
-
|
90
|
-
// Title text within header
|
91
|
-
.modal-title {
|
92
|
-
margin: 0;
|
93
|
-
line-height: @modal-title-line-height;
|
94
|
-
}
|
95
|
-
|
96
|
-
// Modal body
|
97
|
-
// Where all modal content resides (sibling of .modal-header and .modal-footer)
|
98
|
-
.modal-body {
|
99
|
-
position: relative;
|
100
|
-
padding: @modal-inner-padding;
|
101
|
-
}
|
102
|
-
|
103
|
-
// Footer (for actions)
|
104
|
-
.modal-footer {
|
105
|
-
padding: @modal-inner-padding;
|
106
|
-
text-align: right; // right align buttons
|
107
|
-
border-top: 1px solid @modal-footer-border-color;
|
108
|
-
&:extend(.clearfix all); // clear it in case folks use .pull-* classes on buttons
|
109
|
-
|
110
|
-
// Properly space out buttons
|
111
|
-
.btn + .btn {
|
112
|
-
margin-left: 5px;
|
113
|
-
margin-bottom: 0; // account for input[type="submit"] which gets the bottom margin like all other inputs
|
114
|
-
}
|
115
|
-
// but override that for button groups
|
116
|
-
.btn-group .btn + .btn {
|
117
|
-
margin-left: -1px;
|
118
|
-
}
|
119
|
-
// and override it for block buttons as well
|
120
|
-
.btn-block + .btn-block {
|
121
|
-
margin-left: 0;
|
122
|
-
}
|
123
|
-
}
|
124
|
-
|
125
|
-
// Measure scrollbar width for padding body during modal show/hide
|
126
|
-
.modal-scrollbar-measure {
|
127
|
-
position: absolute;
|
128
|
-
top: -9999px;
|
129
|
-
width: 50px;
|
130
|
-
height: 50px;
|
131
|
-
overflow: scroll;
|
132
|
-
}
|
133
|
-
|
134
|
-
// Scale up the modal
|
135
|
-
@media (min-width: @screen-sm-min) {
|
136
|
-
// Automatically set modal's width for larger viewports
|
137
|
-
.modal-dialog {
|
138
|
-
width: @modal-md;
|
139
|
-
margin: 30px auto;
|
140
|
-
}
|
141
|
-
.modal-content {
|
142
|
-
.box-shadow(0 5px 15px rgba(0,0,0,.5));
|
143
|
-
}
|
144
|
-
|
145
|
-
// Modal sizes
|
146
|
-
.modal-sm { width: @modal-sm; }
|
147
|
-
}
|
148
|
-
|
149
|
-
@media (min-width: @screen-md-min) {
|
150
|
-
.modal-lg { width: @modal-lg; }
|
151
|
-
}
|