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.
Files changed (169) hide show
  1. package/.eslintrc.js +16 -16
  2. package/.gradle/7.1/dependencies-accessors/dependencies-accessors.lock +0 -0
  3. package/.gradle/7.1/executionHistory/executionHistory.bin +0 -0
  4. package/.gradle/7.1/executionHistory/executionHistory.lock +0 -0
  5. package/.gradle/7.1/fileChanges/last-build.bin +0 -0
  6. package/.gradle/7.1/fileHashes/fileHashes.bin +0 -0
  7. package/.gradle/7.1/fileHashes/fileHashes.lock +0 -0
  8. package/.gradle/7.1/gc.properties +0 -0
  9. package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  10. package/.gradle/buildOutputCleanup/cache.properties +2 -2
  11. package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
  12. package/.gradle/checksums/checksums.lock +0 -0
  13. package/.gradle/vcs-1/gc.properties +0 -0
  14. package/SystemClient.iml +11 -11
  15. package/build/webpack.base.conf.js +78 -75
  16. package/build.gradle +6 -6
  17. package/gradle/wrapper/gradle-wrapper.jar +0 -0
  18. package/gradle/wrapper/gradle-wrapper.properties +5 -0
  19. package/gradlew +185 -0
  20. package/gradlew.bat +89 -0
  21. package/index.html +21 -21
  22. package/package.json +2 -2
  23. package/src/App.vue +24 -24
  24. package/src/LodopFuncs.js +123 -123
  25. package/src/components/Main.vue +46 -152
  26. package/src/components/Util.js +343 -343
  27. package/src/components/equipment/EquipmentManage.vue +65 -65
  28. package/src/components/equipment/PcAdd.vue +105 -105
  29. package/src/components/equipment/PcList.vue +120 -119
  30. package/src/components/equipment/PcManage.vue +60 -60
  31. package/src/components/equipment/PhoneAdd.vue +94 -94
  32. package/src/components/equipment/PhoneList.vue +102 -102
  33. package/src/components/equipment/PhoneManage.vue +60 -60
  34. package/src/components/equipment/PosAdd.vue +156 -137
  35. package/src/components/equipment/PosList.vue +164 -164
  36. package/src/components/equipment/PosManage.vue +68 -67
  37. package/src/components/materialManage/materialData.vue +44 -44
  38. package/src/components/materialManage/materialList.vue +255 -255
  39. package/src/components/parammanage/ParamManage.vue +42 -42
  40. package/src/components/parammanage/ParamPage.vue +314 -314
  41. package/src/components/parammanage/ParamPages.vue +222 -222
  42. package/src/components/parammanage/SinglePage.vue +235 -235
  43. package/src/components/parammanage/SinglePages.vue +167 -167
  44. package/src/components/server/AddChangeMsg.vue +66 -66
  45. package/src/components/server/ChangeDeclare.vue +45 -45
  46. package/src/components/server/LeftTree.vue +111 -111
  47. package/src/components/server/LoadData.vue +36 -36
  48. package/src/components/server/Login.vue +726 -624
  49. package/src/components/server/Menu.vue +188 -188
  50. package/src/components/server/ModifyPw.vue +112 -106
  51. package/src/components/server/NewResSelectGroup.vue +211 -0
  52. package/src/components/server/ResSelect.vue +153 -150
  53. package/src/components/server/ResSelectGroup.vue +159 -142
  54. package/src/components/server/RightTree.vue +343 -263
  55. package/src/components/server/RoleSelector.vue +90 -89
  56. package/src/components/server/TestResSelect.vue +58 -58
  57. package/src/components/server/TestResSelectGroup.vue +388 -388
  58. package/src/plugins/EncryptUtil.js +53 -0
  59. package/src/plugins/GetLoginInfoService.js +88 -104
  60. package/src/plugins/HeatGetLoginInfoService.js +491 -0
  61. package/src/plugins/validation.js +7 -7
  62. package/src/project/State.js +17 -17
  63. package/src/stores/AppData.js +38 -38
  64. package/src/stores/HeatAppData.js +38 -0
  65. package/src/styles/fonts/PINGFANG LIGHT.TTF +0 -0
  66. package/src/styles/fonts/PingFangSC-Regular.ttf +0 -0
  67. package/src/styles/fonts/glyphicons-halflings-regular.eot +0 -0
  68. package/src/styles/fonts/glyphicons-halflings-regular.svg +288 -0
  69. package/src/styles/fonts/glyphicons-halflings-regular.ttf +0 -0
  70. package/src/styles/fonts/glyphicons-halflings-regular.woff +0 -0
  71. package/src/styles/fonts/glyphicons-halflings-regular.woff2 +0 -0
  72. package/src/styles/fonts/pingfang-bold.ttf +0 -0
  73. package/src/styles/fonts/pingfang-medium.ttf +0 -0
  74. package/src/styles/fonts/pingfang-regular.ttf +0 -0
  75. package/src/styles/fonts/trendstrends.ttf +0 -0
  76. 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
  77. package/src/styles/less/.csscomb.json +304 -0
  78. package/src/styles/less/.csslintrc +19 -0
  79. package/src/styles/less/alerts.less +73 -0
  80. package/src/styles/less/aofeng/animate.min.css +11 -0
  81. package/src/styles/less/aofeng/expandcss.less +569 -0
  82. package/src/styles/less/aofeng/standard.less +2121 -0
  83. package/src/styles/less/aofeng/themeOne/BinaryTemplate.less +686 -0
  84. package/src/styles/less/aofeng/themeOne/loginStyle.less +1586 -0
  85. package/src/styles/less/aofeng/themeOne/systemStyle.less +2650 -0
  86. package/src/styles/less/aofeng/themeOne.less +17 -0
  87. package/src/styles/less/aofeng/themeTwo/newStyle1.less +415 -0
  88. package/src/styles/less/aofeng/themeTwo.less +3 -0
  89. package/src/styles/less/badges.less +66 -0
  90. package/src/styles/less/bootstrap.less +66 -0
  91. package/src/styles/less/breadcrumbs.less +26 -0
  92. package/src/styles/less/button-groups.less +247 -0
  93. package/src/styles/less/buttons.less +172 -0
  94. package/src/styles/less/carousel.less +269 -0
  95. package/src/styles/less/close.less +34 -0
  96. package/src/styles/less/code.less +69 -0
  97. package/src/styles/less/component-animations.less +33 -0
  98. package/src/styles/less/dropdowns.less +216 -0
  99. package/src/styles/less/fonts-list.less +25 -0
  100. package/src/styles/less/forms.less +626 -0
  101. package/src/styles/less/glyphicons.less +305 -0
  102. package/src/styles/less/grid.less +84 -0
  103. package/src/styles/less/input-groups.less +167 -0
  104. package/src/styles/less/jumbotron.less +52 -0
  105. package/src/styles/less/labels.less +64 -0
  106. package/src/styles/less/list-group.less +141 -0
  107. package/src/styles/less/manageStyle/manageChile.less +180 -0
  108. package/src/styles/less/manageStyle/manageStyle.less +1102 -0
  109. package/src/styles/less/manageStyle/safeStyle.less +498 -0
  110. package/src/styles/less/media.less +66 -0
  111. package/src/styles/less/mixins/alerts.less +14 -0
  112. package/src/styles/less/mixins/background-variant.less +9 -0
  113. package/src/styles/less/mixins/border-radius.less +18 -0
  114. package/src/styles/less/mixins/buttons.less +69 -0
  115. package/src/styles/less/mixins/center-block.less +7 -0
  116. package/src/styles/less/mixins/clearfix.less +22 -0
  117. package/src/styles/less/mixins/forms.less +90 -0
  118. package/src/styles/less/mixins/gradients.less +59 -0
  119. package/src/styles/less/mixins/grid-framework.less +92 -0
  120. package/src/styles/less/mixins/grid.less +122 -0
  121. package/src/styles/less/mixins/hide-text.less +21 -0
  122. package/src/styles/less/mixins/image.less +33 -0
  123. package/src/styles/less/mixins/labels.less +12 -0
  124. package/src/styles/less/mixins/list-group.less +30 -0
  125. package/src/styles/less/mixins/nav-divider.less +10 -0
  126. package/src/styles/less/mixins/nav-vertical-align.less +9 -0
  127. package/src/styles/less/mixins/opacity.less +8 -0
  128. package/src/styles/less/mixins/pagination.less +24 -0
  129. package/src/styles/less/mixins/panels.less +24 -0
  130. package/src/styles/less/mixins/progress-bar.less +10 -0
  131. package/src/styles/less/mixins/reset-filter.less +8 -0
  132. package/src/styles/less/mixins/reset-text.less +18 -0
  133. package/src/styles/less/mixins/resize.less +6 -0
  134. package/src/styles/less/mixins/responsive-visibility.less +15 -0
  135. package/src/styles/less/mixins/size.less +10 -0
  136. package/src/styles/less/mixins/tab-focus.less +9 -0
  137. package/src/styles/less/mixins/table-row.less +44 -0
  138. package/src/styles/less/mixins/text-emphasis.less +9 -0
  139. package/src/styles/less/mixins/text-overflow.less +8 -0
  140. package/src/styles/less/mixins/vendor-prefixes.less +227 -0
  141. package/src/styles/less/mixins.less +40 -0
  142. package/src/styles/less/modals.less +151 -0
  143. package/src/styles/less/navbar.less +660 -0
  144. package/src/styles/less/navs.less +285 -0
  145. package/src/styles/less/normalize.less +424 -0
  146. package/src/styles/less/pager.less +76 -0
  147. package/src/styles/less/pagination.less +89 -0
  148. package/src/styles/less/panels.less +275 -0
  149. package/src/styles/less/popovers.less +131 -0
  150. package/src/styles/less/print.less +101 -0
  151. package/src/styles/less/progress-bars.less +87 -0
  152. package/src/styles/less/responsive-embed.less +35 -0
  153. package/src/styles/less/responsive-utilities.less +194 -0
  154. package/src/styles/less/scaffolding.less +161 -0
  155. package/src/styles/less/stand.less +207 -0
  156. package/src/styles/less/tables.less +262 -0
  157. package/src/styles/less/theme.less +291 -0
  158. package/src/styles/less/thumbnails.less +36 -0
  159. package/src/styles/less/tooltip.less +102 -0
  160. package/src/styles/less/type.less +303 -0
  161. package/src/styles/less/utilities.less +55 -0
  162. package/src/styles/less/variables.less +896 -0
  163. package/src/styles/less/wells.less +29 -0
  164. package/src/system.js +85 -76
  165. package/static/aodelogo.png +0 -0
  166. package/static/aodenewlogo.png +0 -0
  167. package/static/ewmlogo.png +0 -0
  168. package/.gradle/buildOutputCleanup/cache.properties.lock +0 -1
  169. /package/.gradle/{buildOutputCleanup/built.bin → 7.1/dependencies-accessors/gc.properties} +0 -0
@@ -0,0 +1,247 @@
1
+ //
2
+ // Button groups
3
+ // --------------------------------------------------
4
+
5
+ // Make the div behave like a button
6
+ .btn-group,
7
+ .btn-group-vertical {
8
+ position: relative;
9
+ display: inline-block;
10
+ vertical-align: middle; // match .btn alignment given font-size hack above
11
+ > .btn {
12
+ position: relative;
13
+ float: left;
14
+ // Bring the "active" button to the front
15
+ &:hover,
16
+ &:focus,
17
+ &:active,
18
+ &.active {
19
+ z-index: 2;
20
+ }
21
+ }
22
+ }
23
+
24
+ // Prevent double borders when buttons are next to each other
25
+ .btn-group {
26
+ .btn + .btn,
27
+ .btn + .btn-group,
28
+ .btn-group + .btn,
29
+ .btn-group + .btn-group {
30
+ margin-left: -1px;
31
+ }
32
+ }
33
+
34
+ // Optional: Group multiple button groups together for a toolbar
35
+ .btn-toolbar {
36
+ margin-left: -5px; // Offset the first child's margin
37
+ &:extend(.clearfix all);
38
+
39
+ .btn,
40
+ .btn-group,
41
+ .input-group {
42
+ float: left;
43
+ }
44
+ > .btn,
45
+ > .btn-group,
46
+ > .input-group {
47
+ margin-left: 5px;
48
+ }
49
+ }
50
+
51
+ .btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {
52
+ border-radius: 0;
53
+ }
54
+
55
+ // Set corners individual because sometimes a single button can be in a .btn-group and we need :first-child and :last-child to both match
56
+ .btn-group > .btn:first-child {
57
+ margin-left: 0;
58
+ &:not(:last-child):not(.dropdown-toggle) {
59
+ .border-right-radius(0);
60
+ }
61
+ }
62
+ // Need .dropdown-toggle since :last-child doesn't apply given a .dropdown-menu immediately after it
63
+ .btn-group > .btn:last-child:not(:first-child),
64
+ .btn-group > .dropdown-toggle:not(:first-child) {
65
+ .border-left-radius(0);
66
+ }
67
+
68
+ // Custom edits for including btn-groups within btn-groups (useful for including dropdown buttons within a btn-group)
69
+ .btn-group > .btn-group {
70
+ float: left;
71
+ }
72
+ .btn-group > .btn-group:not(:first-child):not(:last-child) > .btn {
73
+ border-radius: 0;
74
+ }
75
+ .btn-group > .btn-group:first-child:not(:last-child) {
76
+ > .btn:last-child,
77
+ > .dropdown-toggle {
78
+ .border-right-radius(0);
79
+ }
80
+ }
81
+ .btn-group > .btn-group:last-child:not(:first-child) > .btn:first-child {
82
+ .border-left-radius(0);
83
+ }
84
+
85
+ // On active and open, don't show outline
86
+ .btn-group .dropdown-toggle:active,
87
+ .btn-group.open .dropdown-toggle {
88
+ outline: 0;
89
+ }
90
+
91
+
92
+ // Sizing
93
+ //
94
+ // Remix the default button sizing classes into new ones for easier manipulation.
95
+
96
+ .btn-group-xs > .btn { &:extend(.btn-xs); }
97
+ .btn-group-sm > .btn { &:extend(.btn-sm); }
98
+ .btn-group-lg > .btn { &:extend(.btn-lg); }
99
+
100
+
101
+ // Split button dropdowns
102
+ // ----------------------
103
+
104
+ // Give the line between buttons some depth
105
+ .btn-group > .btn + .dropdown-toggle {
106
+ padding-left: 8px;
107
+ padding-right: 8px;
108
+ }
109
+ .btn-group > .btn-lg + .dropdown-toggle {
110
+ padding-left: 12px;
111
+ padding-right: 12px;
112
+ }
113
+
114
+ // The clickable button for toggling the menu
115
+ // Remove the gradient and set the same inset shadow as the :active state
116
+ .btn-group.open .dropdown-toggle {
117
+ .box-shadow(inset 0 3px 5px rgba(0,0,0,.125));
118
+
119
+ // Show no shadow for `.btn-link` since it has no other button styles.
120
+ &.btn-link {
121
+ .box-shadow(none);
122
+ }
123
+ }
124
+
125
+
126
+ // Reposition the caret
127
+ .btn .caret {
128
+ margin-left: 0;
129
+ }
130
+ // Carets in other button sizes
131
+ .btn-lg .caret {
132
+ border-width: @caret-width-large @caret-width-large 0;
133
+ border-bottom-width: 0;
134
+ }
135
+ // Upside down carets for .dropup
136
+ .dropup .btn-lg .caret {
137
+ border-width: 0 @caret-width-large @caret-width-large;
138
+ }
139
+
140
+
141
+ // Vertical button groups
142
+ // ----------------------
143
+
144
+ .btn-group-vertical {
145
+ > .btn,
146
+ > .btn-group,
147
+ > .btn-group > .btn {
148
+ display: block;
149
+ float: none;
150
+ width: 100%;
151
+ max-width: 100%;
152
+ }
153
+
154
+ // Clear floats so dropdown menus can be properly placed
155
+ > .btn-group {
156
+ &:extend(.clearfix all);
157
+ > .btn {
158
+ float: none;
159
+ }
160
+ }
161
+
162
+ > .btn + .btn,
163
+ > .btn + .btn-group,
164
+ > .btn-group + .btn,
165
+ > .btn-group + .btn-group {
166
+ margin-top: -1px;
167
+ margin-left: 0;
168
+ }
169
+ }
170
+
171
+ .btn-group-vertical > .btn {
172
+ &:not(:first-child):not(:last-child) {
173
+ border-radius: 0;
174
+ }
175
+ &:first-child:not(:last-child) {
176
+ border-top-right-radius: @btn-border-radius-base;
177
+ .border-bottom-radius(0);
178
+ }
179
+ &:last-child:not(:first-child) {
180
+ border-bottom-left-radius: @btn-border-radius-base;
181
+ .border-top-radius(0);
182
+ }
183
+ }
184
+ .btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn {
185
+ border-radius: 0;
186
+ }
187
+ .btn-group-vertical > .btn-group:first-child:not(:last-child) {
188
+ > .btn:last-child,
189
+ > .dropdown-toggle {
190
+ .border-bottom-radius(0);
191
+ }
192
+ }
193
+ .btn-group-vertical > .btn-group:last-child:not(:first-child) > .btn:first-child {
194
+ .border-top-radius(0);
195
+ }
196
+
197
+
198
+ // Justified button groups
199
+ // ----------------------
200
+
201
+ .btn-group-justified {
202
+ display: table;
203
+ width: 100%;
204
+ table-layout: fixed;
205
+ border-collapse: separate;
206
+ > .btn,
207
+ > .btn-group {
208
+ float: none;
209
+ display: table-cell;
210
+ width: 1%;
211
+ }
212
+ > .btn-group .btn {
213
+ width: 100%;
214
+ }
215
+
216
+ > .btn-group .dropdown-menu {
217
+ left: auto;
218
+ }
219
+ }
220
+
221
+ .btn-group .btn {
222
+ margin-bottom: 0px;
223
+ }
224
+
225
+ // Checkbox and radio options
226
+ //
227
+ // In order to support the browser's form validation feedback, powered by the
228
+ // `required` attribute, we have to "hide" the inputs via `clip`. We cannot use
229
+ // `display: none;` or `visibility: hidden;` as that also hides the popover.
230
+ // Simply visually hiding the inputs via `opacity` would leave them clickable in
231
+ // certain cases which is prevented by using `clip` and `pointer-events`.
232
+ // This way, we ensure a DOM element is visible to position the popover from.
233
+ //
234
+ // See https://github.com/twbs/bootstrap/pull/12794 and
235
+ // https://github.com/twbs/bootstrap/pull/14559 for more information.
236
+
237
+ [data-toggle="buttons"] {
238
+ > .btn,
239
+ > .btn-group > .btn {
240
+ input[type="radio"],
241
+ input[type="checkbox"] {
242
+ position: absolute;
243
+ clip: rect(0,0,0,0);
244
+ pointer-events: none;
245
+ }
246
+ }
247
+ }
@@ -0,0 +1,172 @@
1
+ //
2
+ // Buttons
3
+ // --------------------------------------------------
4
+
5
+
6
+ // Base styles
7
+ // --------------------------------------------------
8
+
9
+ .btn {
10
+ display: inline-block;
11
+ width: auto;
12
+ // margin-bottom: 5px; // For input.btn // 原本为0px
13
+ font-weight: @btn-font-weight;
14
+ text-align: center;
15
+ vertical-align: middle;
16
+ touch-action: manipulation;
17
+ cursor: pointer;
18
+ background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214
19
+ border: 1px solid transparent;
20
+ white-space: nowrap;
21
+ .button-size(@padding-base-vertical; @padding-base-horizontal; @font-size-base; @line-height-base; @btn-border-radius-base; @btn-margin-bottom);// 原本没有第六个参数
22
+ .user-select(none);
23
+
24
+ &,
25
+ &:active,
26
+ &.active {
27
+ &:focus,
28
+ &.focus {
29
+ .tab-focus();
30
+ }
31
+ }
32
+
33
+ &:hover,
34
+ &:focus,
35
+ &.focus {
36
+ color: @btn-default-color;
37
+ text-decoration: none;
38
+ }
39
+
40
+ &:active,
41
+ &.active {
42
+ outline: 0;
43
+ background-image: none;
44
+ .box-shadow(inset 0 3px 5px rgba(0,0,0,.125));
45
+ }
46
+
47
+ &.disabled,
48
+ &[disabled],
49
+ fieldset[disabled] & {
50
+ cursor: @cursor-disabled;
51
+ .opacity(.65);
52
+ .box-shadow(none);
53
+ }
54
+
55
+ a& {
56
+ &.disabled,
57
+ fieldset[disabled] & {
58
+ pointer-events: none; // Future-proof disabling of clicks on `<a>` elements
59
+ }
60
+ }
61
+ }
62
+
63
+
64
+ // Alternate buttons
65
+ // --------------------------------------------------
66
+
67
+ .btn-default {
68
+ .button-variant(@btn-default-color; @btn-default-bg; @btn-default-border);
69
+ }
70
+ .btn-primary {
71
+ .button-variant(@btn-primary-color; @btn-primary-bg; @btn-primary-border);
72
+ }
73
+ // Success appears as green
74
+ .btn-success {
75
+ .button-variant(@btn-success-color; @btn-success-bg; @btn-success-border);
76
+ }
77
+ // Info appears as blue-green
78
+ .btn-info {
79
+ .button-variant(@btn-info-color; @btn-info-bg; @btn-info-border);
80
+ }
81
+ // Warning appears as orange
82
+ .btn-warning {
83
+ .button-variant(@btn-warning-color; @btn-warning-bg; @btn-warning-border);
84
+ }
85
+ // Danger and error appear as red
86
+ .btn-danger {
87
+ .button-variant(@btn-danger-color; @btn-danger-bg; @btn-danger-border);
88
+ }
89
+
90
+
91
+ // Link buttons
92
+ // -------------------------
93
+
94
+ // Make a button look and behave like a link
95
+ .btn-link {
96
+ color: @link-color;
97
+ font-weight: normal;
98
+ border-radius: 0;
99
+ margin-bottom: 0px; // 原本没有
100
+ padding: 0px; // 原本没有
101
+
102
+ &,
103
+ &:active,
104
+ &.active,
105
+ &[disabled],
106
+ fieldset[disabled] & {
107
+ background-color: transparent;
108
+ .box-shadow(none);
109
+ }
110
+ &[disabled] {
111
+ color: @btn-link-disabled-color;
112
+ }
113
+ &,
114
+ &:hover,
115
+ &:focus,
116
+ &:active {
117
+ // border-color: transparent;
118
+ }
119
+ &:hover,
120
+ &:focus {
121
+ color: @link-hover-color;
122
+ text-decoration: @link-hover-decoration;
123
+ background-color: transparent;
124
+ }
125
+ &[disabled],
126
+ fieldset[disabled] & {
127
+ &:hover,
128
+ &:focus {
129
+ color: @btn-link-disabled-color;
130
+ text-decoration: none;
131
+ }
132
+ }
133
+ }
134
+
135
+
136
+ // Button Sizes
137
+ // --------------------------------------------------
138
+ // button-size第六个参数原本没有,自己添加
139
+ .btn-lg {
140
+ // line-height: ensure even-numbered height of button next to large input
141
+ .button-size(@padding-large-vertical; @padding-large-horizontal; @font-size-large; @line-height-large; @btn-border-radius-large; @btn-margin-bottom);
142
+ }
143
+ .btn-sm {
144
+ // line-height: ensure proper height of button next to small input
145
+ .button-size(@padding-small-vertical; @padding-small-horizontal; @font-size-small; @line-height-small; @btn-border-radius-small; @btn-sm-margin-bottom);
146
+ }
147
+ .btn-xs {
148
+ .button-size(@padding-xs-vertical; @padding-xs-horizontal; @font-size-small; @line-height-small; @btn-border-radius-small; @btn-sm-margin-bottom);
149
+ }
150
+
151
+
152
+ // Block button
153
+ // --------------------------------------------------
154
+
155
+ .btn-block {
156
+ display: block;
157
+ width: 100%;
158
+ }
159
+
160
+ // Vertically space out multiple block buttons
161
+ .btn-block + .btn-block {
162
+ margin-top: 5px;
163
+ }
164
+
165
+ // Specificity overrides
166
+ input[type="submit"],
167
+ input[type="reset"],
168
+ input[type="button"] {
169
+ &.btn-block {
170
+ width: 100%;
171
+ }
172
+ }
@@ -0,0 +1,269 @@
1
+ //
2
+ // Carousel
3
+ // --------------------------------------------------
4
+
5
+
6
+ // Wrapper for the slide container and indicators
7
+ .carousel {
8
+ position: relative;
9
+ }
10
+
11
+ .carousel-inner {
12
+ position: relative;
13
+ overflow: hidden;
14
+ width: 100%;
15
+
16
+ > .item {
17
+ display: none;
18
+ position: relative;
19
+ .transition(.6s ease-in-out left);
20
+
21
+ // Account for jankitude on images
22
+ > img,
23
+ > a > img {
24
+ &:extend(.img-responsive);
25
+ line-height: 1;
26
+ }
27
+
28
+ // WebKit CSS3 transforms for supported devices
29
+ @media all and (transform-3d), (-webkit-transform-3d) {
30
+ .transition-transform(~'0.6s ease-in-out');
31
+ .backface-visibility(~'hidden');
32
+ .perspective(1000px);
33
+
34
+ &.next,
35
+ &.active.right {
36
+ .translate3d(100%, 0, 0);
37
+ left: 0;
38
+ }
39
+ &.prev,
40
+ &.active.left {
41
+ .translate3d(-100%, 0, 0);
42
+ left: 0;
43
+ }
44
+ &.next.left,
45
+ &.prev.right,
46
+ &.active {
47
+ .translate3d(0, 0, 0);
48
+ left: 0;
49
+ }
50
+ }
51
+ }
52
+
53
+ > .active,
54
+ > .next,
55
+ > .prev {
56
+ display: block;
57
+ }
58
+
59
+ > .active {
60
+ left: 0;
61
+ }
62
+
63
+ > .next,
64
+ > .prev {
65
+ position: absolute;
66
+ top: 0;
67
+ width: 100%;
68
+ }
69
+
70
+ > .next {
71
+ left: 100%;
72
+ }
73
+ > .prev {
74
+ left: -100%;
75
+ }
76
+ > .next.left,
77
+ > .prev.right {
78
+ left: 0;
79
+ }
80
+
81
+ > .active.left {
82
+ left: -100%;
83
+ }
84
+ > .active.right {
85
+ left: 100%;
86
+ }
87
+
88
+ }
89
+
90
+ // Left/right controls for nav
91
+ // ---------------------------
92
+
93
+ .carousel-control {
94
+ position: absolute;
95
+ top: 0;
96
+ left: 0;
97
+ bottom: 0;
98
+ width: @carousel-control-width;
99
+ .opacity(@carousel-control-opacity);
100
+ font-size: @carousel-control-font-size;
101
+ color: @carousel-control-color;
102
+ text-align: center;
103
+ text-shadow: @carousel-text-shadow;
104
+ // We can't have this transition here because WebKit cancels the carousel
105
+ // animation if you trip this while in the middle of another animation.
106
+
107
+ // Set gradients for backgrounds
108
+ &.left {
109
+ #gradient > .horizontal(@start-color: rgba(0,0,0,.5); @end-color: rgba(0,0,0,.0001));
110
+ }
111
+ &.right {
112
+ left: auto;
113
+ right: 0;
114
+ #gradient > .horizontal(@start-color: rgba(0,0,0,.0001); @end-color: rgba(0,0,0,.5));
115
+ }
116
+
117
+ // Hover/focus state
118
+ &:hover,
119
+ &:focus {
120
+ outline: 0;
121
+ color: @carousel-control-color;
122
+ text-decoration: none;
123
+ .opacity(.9);
124
+ }
125
+
126
+ // Toggles
127
+ .icon-prev,
128
+ .icon-next,
129
+ .glyphicon-chevron-left,
130
+ .glyphicon-chevron-right {
131
+ position: absolute;
132
+ top: 50%;
133
+ margin-top: -10px;
134
+ z-index: 5;
135
+ display: inline-block;
136
+ }
137
+ .icon-prev,
138
+ .glyphicon-chevron-left {
139
+ left: 50%;
140
+ margin-left: -10px;
141
+ }
142
+ .icon-next,
143
+ .glyphicon-chevron-right {
144
+ right: 50%;
145
+ margin-right: -10px;
146
+ }
147
+ .icon-prev,
148
+ .icon-next {
149
+ width: 20px;
150
+ height: 20px;
151
+ line-height: 1;
152
+ font-family: serif;
153
+ }
154
+
155
+
156
+ .icon-prev {
157
+ &:before {
158
+ content: '\2039';// SINGLE LEFT-POINTING ANGLE QUOTATION MARK (U+2039)
159
+ }
160
+ }
161
+ .icon-next {
162
+ &:before {
163
+ content: '\203a';// SINGLE RIGHT-POINTING ANGLE QUOTATION MARK (U+203A)
164
+ }
165
+ }
166
+ }
167
+
168
+ // Optional indicator pips
169
+ //
170
+ // Add an unordered list with the following class and add a list item for each
171
+ // slide your carousel holds.
172
+
173
+ .carousel-indicators {
174
+ position: absolute;
175
+ bottom: 10px;
176
+ left: 50%;
177
+ z-index: 15;
178
+ width: 60%;
179
+ margin-left: -30%;
180
+ padding-left: 0;
181
+ list-style: none;
182
+ text-align: center;
183
+
184
+ li {
185
+ display: inline-block;
186
+ width: 10px;
187
+ height: 10px;
188
+ margin: 1px;
189
+ text-indent: -999px;
190
+ border: 1px solid @carousel-indicator-border-color;
191
+ border-radius: 10px;
192
+ cursor: pointer;
193
+
194
+ // IE8-9 hack for event handling
195
+ //
196
+ // Internet Explorer 8-9 does not support clicks on elements without a set
197
+ // `background-color`. We cannot use `filter` since that's not viewed as a
198
+ // background color by the browser. Thus, a hack is needed.
199
+ // See https://developer.mozilla.org/en-US/docs/Web/Events/click#Internet_Explorer
200
+ //
201
+ // For IE8, we set solid black as it doesn't support `rgba()`. For IE9, we
202
+ // set alpha transparency for the best results possible.
203
+ background-color: #000 \9; // IE8
204
+ background-color: rgba(0,0,0,0); // IE9
205
+ }
206
+ .active {
207
+ margin: 0;
208
+ width: 12px;
209
+ height: 12px;
210
+ background-color: @carousel-indicator-active-bg;
211
+ }
212
+ }
213
+
214
+ // Optional captions
215
+ // -----------------------------
216
+ // Hidden by default for smaller viewports
217
+ .carousel-caption {
218
+ position: absolute;
219
+ left: 15%;
220
+ right: 15%;
221
+ bottom: 20px;
222
+ z-index: 10;
223
+ padding-top: 20px;
224
+ padding-bottom: 20px;
225
+ color: @carousel-caption-color;
226
+ text-align: center;
227
+ text-shadow: @carousel-text-shadow;
228
+ & .btn {
229
+ text-shadow: none; // No shadow for button elements in carousel-caption
230
+ }
231
+ }
232
+
233
+
234
+ // Scale up controls for tablets and up
235
+ @media screen and (min-width: @screen-sm-min) {
236
+
237
+ // Scale up the controls a smidge
238
+ .carousel-control {
239
+ .glyphicon-chevron-left,
240
+ .glyphicon-chevron-right,
241
+ .icon-prev,
242
+ .icon-next {
243
+ width: 30px;
244
+ height: 30px;
245
+ margin-top: -15px;
246
+ font-size: 30px;
247
+ }
248
+ .glyphicon-chevron-left,
249
+ .icon-prev {
250
+ margin-left: -15px;
251
+ }
252
+ .glyphicon-chevron-right,
253
+ .icon-next {
254
+ margin-right: -15px;
255
+ }
256
+ }
257
+
258
+ // Show and left align the captions
259
+ .carousel-caption {
260
+ left: 20%;
261
+ right: 20%;
262
+ padding-bottom: 30px;
263
+ }
264
+
265
+ // Move up the indicators
266
+ .carousel-indicators {
267
+ bottom: 20px;
268
+ }
269
+ }
@@ -0,0 +1,34 @@
1
+ //
2
+ // Close icons
3
+ // --------------------------------------------------
4
+
5
+
6
+ .close {
7
+ float: right;
8
+ font-size: (@font-size-base * 1.5);
9
+ font-weight: @close-font-weight;
10
+ line-height: 1;
11
+ color: @close-color;
12
+ text-shadow: @close-text-shadow;
13
+ .opacity(.2);
14
+
15
+ &:hover,
16
+ &:focus {
17
+ color: @close-color;
18
+ text-decoration: none;
19
+ cursor: pointer;
20
+ .opacity(.5);
21
+ }
22
+
23
+ // Additional properties for button version
24
+ // iOS requires the button element instead of an anchor tag.
25
+ // If you want the anchor version, it requires `href="#"`.
26
+ // See https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile
27
+ button& {
28
+ padding: 0;
29
+ cursor: pointer;
30
+ background: transparent;
31
+ border: 0;
32
+ -webkit-appearance: none;
33
+ }
34
+ }