system-clients 3.2.4 → 3.2.6

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 (167) hide show
  1. package/.eslintrc.js +16 -16
  2. package/SystemClient.iml +2 -5
  3. package/build/webpack.base.conf.js +21 -11
  4. package/package.json +6 -4
  5. package/src/App.vue +24 -24
  6. package/src/components/Main.vue +626 -476
  7. package/src/components/TabButton.vue +201 -0
  8. package/src/components/Tabs.vue +67 -0
  9. package/src/components/addressManage/AddressCascadingMenu.vue +145 -0
  10. package/src/components/equipment/EquipmentManage.vue +1 -1
  11. package/src/components/equipment/PcAdd.vue +5 -5
  12. package/src/components/equipment/PcList.vue +5 -5
  13. package/src/components/equipment/PhoneAdd.vue +26 -13
  14. package/src/components/equipment/PhoneList.vue +31 -21
  15. package/src/components/equipment/PosAdd.vue +231 -45
  16. package/src/components/equipment/PosList.vue +198 -68
  17. package/src/components/equipment/PosManage.vue +80 -9
  18. package/src/components/equipment/PosManageBoth.vue +125 -0
  19. package/src/components/equipment/PosParamAdd.vue +236 -0
  20. package/src/components/equipment/PosParamList.vue +121 -0
  21. package/src/components/equipment/PosParamManage.vue +51 -0
  22. package/src/components/parammanage/ParamManage.vue +2 -2
  23. package/src/components/parammanage/ParamPage.vue +30 -8
  24. package/src/components/parammanage/SinglePage.vue +4 -4
  25. package/src/components/server/ImageVieweTest.vue +56 -0
  26. package/src/components/server/ImageViewer.vue +350 -0
  27. package/src/components/server/LoadData.vue +21 -2
  28. package/src/components/server/Login.vue +889 -625
  29. package/src/components/server/ModifyPw.vue +12 -7
  30. package/src/components/server/PcdBuildingSelect.vue +241 -0
  31. package/src/components/server/ResSelect.vue +5 -0
  32. package/src/components/server/ResSelectGroup.vue +159 -103
  33. package/src/components/server/RightTree.vue +289 -204
  34. package/src/filiale/dongguan/Main.vue +715 -0
  35. package/src/filiale/dongguan/system.js +5 -0
  36. package/src/filiale/konggang/Login.vue +840 -0
  37. package/src/filiale/konggang/system.js +7 -0
  38. package/src/filiale/qianneng/ModifyPw.vue +107 -0
  39. package/src/filiale/qianneng/system.js +7 -0
  40. package/src/filiale/rizhao/LeftTree.vue +111 -0
  41. package/src/filiale/rizhao/Login.vue +791 -0
  42. package/src/filiale/rizhao/Main.vue +606 -0
  43. package/src/filiale/rizhao/system.js +14 -0
  44. package/src/filiale/yuchuan/Login.vue +889 -0
  45. package/src/filiale/yuchuan/Main.vue +773 -0
  46. package/src/filiale/yuchuan/system.js +10 -0
  47. package/src/plugins/EncryptUtil.js +53 -0
  48. package/src/plugins/GetLoginInfoService.js +76 -70
  49. package/src/plugins/HeatGetLoginInfoService.js +491 -0
  50. package/src/plugins/validation.js +9 -1
  51. package/src/stores/HeatAppData.js +38 -0
  52. package/src/styles/fonts/PINGFANG LIGHT.TTF +0 -0
  53. package/src/styles/fonts/PingFangSC-Regular.ttf +0 -0
  54. package/src/styles/fonts/glyphicons-halflings-regular.eot +0 -0
  55. package/src/styles/fonts/glyphicons-halflings-regular.svg +288 -0
  56. package/src/styles/fonts/glyphicons-halflings-regular.ttf +0 -0
  57. package/src/styles/fonts/glyphicons-halflings-regular.woff +0 -0
  58. package/src/styles/fonts/glyphicons-halflings-regular.woff2 +0 -0
  59. package/src/styles/fonts/pingfang-bold.ttf +0 -0
  60. package/src/styles/fonts/pingfang-medium.ttf +0 -0
  61. package/src/styles/fonts/pingfang-regular.ttf +0 -0
  62. package/src/styles/fonts/trendstrends.ttf +0 -0
  63. 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
  64. package/src/styles/less/.csscomb.json +304 -0
  65. package/src/styles/less/.csslintrc +19 -0
  66. package/src/styles/less/alerts.less +73 -0
  67. package/src/styles/less/aofeng/animate.min.css +11 -0
  68. package/src/styles/less/aofeng/expandcss.less +569 -0
  69. package/src/styles/less/aofeng/standard.less +2507 -0
  70. package/src/styles/less/aofeng/themeOne/BinaryTemplate.less +686 -0
  71. package/src/styles/less/aofeng/themeOne/loginStyle.less +1586 -0
  72. package/src/styles/less/aofeng/themeOne/systemStyle.less +2650 -0
  73. package/src/styles/less/aofeng/themeOne.less +17 -0
  74. package/src/styles/less/aofeng/themeTwo/newStyle1.less +415 -0
  75. package/src/styles/less/aofeng/themeTwo.less +3 -0
  76. package/src/styles/less/badges.less +66 -0
  77. package/src/styles/less/bootstrap.less +66 -0
  78. package/src/styles/less/breadcrumbs.less +26 -0
  79. package/src/styles/less/button-groups.less +247 -0
  80. package/src/styles/less/buttons.less +172 -0
  81. package/src/styles/less/carousel.less +269 -0
  82. package/src/styles/less/close.less +34 -0
  83. package/src/styles/less/code.less +69 -0
  84. package/src/styles/less/component-animations.less +33 -0
  85. package/src/styles/less/dropdowns.less +216 -0
  86. package/src/styles/less/fonts-list.less +25 -0
  87. package/src/styles/less/forms.less +626 -0
  88. package/src/styles/less/glyphicons.less +305 -0
  89. package/src/styles/less/grid.less +84 -0
  90. package/src/styles/less/input-groups.less +167 -0
  91. package/src/styles/less/jumbotron.less +52 -0
  92. package/src/styles/less/labels.less +64 -0
  93. package/src/styles/less/list-group.less +141 -0
  94. package/src/styles/less/manageStyle/manageChile.less +180 -0
  95. package/src/styles/less/manageStyle/manageStyle/manageChile.less +180 -0
  96. package/src/styles/less/manageStyle/manageStyle/manageStyle.less +1102 -0
  97. package/src/styles/less/manageStyle/manageStyle/safeStyle.less +498 -0
  98. package/src/styles/less/manageStyle/manageStyle.less +1102 -0
  99. package/src/styles/less/manageStyle/safeStyle.less +498 -0
  100. package/src/styles/less/media.less +66 -0
  101. package/src/styles/less/mixins/alerts.less +14 -0
  102. package/src/styles/less/mixins/background-variant.less +9 -0
  103. package/src/styles/less/mixins/border-radius.less +18 -0
  104. package/src/styles/less/mixins/buttons.less +69 -0
  105. package/src/styles/less/mixins/center-block.less +7 -0
  106. package/src/styles/less/mixins/clearfix.less +22 -0
  107. package/src/styles/less/mixins/forms.less +90 -0
  108. package/src/styles/less/mixins/gradients.less +59 -0
  109. package/src/styles/less/mixins/grid-framework.less +92 -0
  110. package/src/styles/less/mixins/grid.less +122 -0
  111. package/src/styles/less/mixins/hide-text.less +21 -0
  112. package/src/styles/less/mixins/image.less +33 -0
  113. package/src/styles/less/mixins/labels.less +12 -0
  114. package/src/styles/less/mixins/list-group.less +30 -0
  115. package/src/styles/less/mixins/nav-divider.less +10 -0
  116. package/src/styles/less/mixins/nav-vertical-align.less +9 -0
  117. package/src/styles/less/mixins/opacity.less +8 -0
  118. package/src/styles/less/mixins/pagination.less +24 -0
  119. package/src/styles/less/mixins/panels.less +24 -0
  120. package/src/styles/less/mixins/progress-bar.less +10 -0
  121. package/src/styles/less/mixins/reset-filter.less +8 -0
  122. package/src/styles/less/mixins/reset-text.less +18 -0
  123. package/src/styles/less/mixins/resize.less +6 -0
  124. package/src/styles/less/mixins/responsive-visibility.less +15 -0
  125. package/src/styles/less/mixins/size.less +10 -0
  126. package/src/styles/less/mixins/tab-focus.less +9 -0
  127. package/src/styles/less/mixins/table-row.less +44 -0
  128. package/src/styles/less/mixins/text-emphasis.less +9 -0
  129. package/src/styles/less/mixins/text-overflow.less +8 -0
  130. package/src/styles/less/mixins/vendor-prefixes.less +227 -0
  131. package/src/styles/less/mixins.less +40 -0
  132. package/src/styles/less/modals.less +151 -0
  133. package/src/styles/less/navbar.less +660 -0
  134. package/src/styles/less/navs.less +285 -0
  135. package/src/styles/less/normalize.less +424 -0
  136. package/src/styles/less/pager.less +76 -0
  137. package/src/styles/less/pagination.less +89 -0
  138. package/src/styles/less/panels.less +275 -0
  139. package/src/styles/less/popovers.less +131 -0
  140. package/src/styles/less/print.less +101 -0
  141. package/src/styles/less/progress-bars.less +87 -0
  142. package/src/styles/less/responsive-embed.less +35 -0
  143. package/src/styles/less/responsive-utilities.less +194 -0
  144. package/src/styles/less/scaffolding.less +161 -0
  145. package/src/styles/less/stand.less +207 -0
  146. package/src/styles/less/tables.less +312 -0
  147. package/src/styles/less/theme.less +291 -0
  148. package/src/styles/less/thumbnails.less +36 -0
  149. package/src/styles/less/tooltip.less +102 -0
  150. package/src/styles/less/type.less +316 -0
  151. package/src/styles/less/utilities.less +55 -0
  152. package/src/styles/less/variables.less +899 -0
  153. package/src/styles/less/wells.less +29 -0
  154. package/src/system.js +34 -1
  155. package/src/util/Daiban.json +12 -0
  156. package/static/images/lefticon//345/220/210/345/220/214/347/256/241/347/220/206.png +0 -0
  157. package/static/logo.png +0 -0
  158. package/static/newStyle/about-us.png +0 -0
  159. package/static/rizhao.png +0 -0
  160. package/yarn-error.log +6896 -0
  161. package/.gradle/3.5/file-changes/last-build.bin +0 -0
  162. package/.gradle/3.5/taskHistory/taskHistory.lock +0 -0
  163. package/.gradle/3.5.1/file-changes/last-build.bin +0 -0
  164. package/.gradle/3.5.1/taskHistory/taskHistory.lock +0 -0
  165. package/.gradle/buildOutputCleanup/built.bin +0 -0
  166. package/.gradle/buildOutputCleanup/cache.properties +0 -2
  167. package/.gradle/buildOutputCleanup/cache.properties.lock +0 -1
@@ -0,0 +1,285 @@
1
+ //
2
+ // Navs
3
+ // --------------------------------------------------
4
+
5
+
6
+ // Base class
7
+ // --------------------------------------------------
8
+
9
+ .nav {
10
+ margin-bottom: 0;
11
+ padding-left: 0; // Override default ul/ol
12
+ list-style: none;
13
+ // margin-left: 15px; // 原本没有,自己添加
14
+ // margin-right: 15px; // 原本没有,自己添加
15
+ &:extend(.clearfix all);
16
+
17
+ > li {
18
+ position: relative;
19
+ display: block;
20
+
21
+ > a {
22
+ position: relative;
23
+ display: block;
24
+ padding: @nav-link-padding;
25
+ &:hover,
26
+ &:focus {
27
+ text-decoration: none;
28
+ // background-color: @nav-link-hover-bg;
29
+ }
30
+ }
31
+
32
+ // Disabled state sets text to gray and nukes hover/tab effects
33
+ &.disabled > a {
34
+ color: @nav-disabled-link-color;
35
+
36
+ &:hover,
37
+ &:focus {
38
+ color: @nav-disabled-link-hover-color;
39
+ text-decoration: none;
40
+ background-color: transparent;
41
+ cursor: @cursor-disabled;
42
+ }
43
+ }
44
+ }
45
+
46
+ // Open dropdowns
47
+ .open > a {
48
+ &,
49
+ &:hover,
50
+ &:focus {
51
+ background-color: @nav-link-hover-bg;
52
+ border-color: @link-color;
53
+ }
54
+ }
55
+
56
+ // Nav dividers (deprecated with v3.0.1)
57
+ //
58
+ // This should have been removed in v3 with the dropping of `.nav-list`, but
59
+ // we missed it. We don't currently support this anywhere, but in the interest
60
+ // of maintaining backward compatibility in case you use it, it's deprecated.
61
+ .nav-divider {
62
+ .nav-divider();
63
+ }
64
+
65
+ // Prevent IE8 from misplacing imgs
66
+ //
67
+ // See https://github.com/h5bp/html5-boilerplate/issues/984#issuecomment-3985989
68
+ > li > a > img {
69
+ max-width: none;
70
+ }
71
+ }
72
+
73
+
74
+ // Tabs
75
+ // -------------------------
76
+
77
+ // Give the tabs something to sit on
78
+ .nav-tabs {
79
+ border-bottom: 1px solid @nav-tabs-border-color;
80
+ margin-top: 0px;
81
+ > li {
82
+ float: left;
83
+ // Make the list-items overlay the bottom border
84
+ margin-bottom: -1px;
85
+
86
+ // Actual tabs (as links)
87
+ > a {
88
+ // 修改前
89
+ // margin-right: 2px;
90
+ // line-height: @line-height-base;
91
+ // border: 1px solid transparent;
92
+ // border-radius: @border-radius-base @border-radius-base 0 0;
93
+ // &:hover {
94
+ // border-color: @nav-tabs-link-hover-border-color @nav-tabs-link-hover-border-color @nav-tabs-border-color;
95
+ // }
96
+ // 修改后
97
+ color: #B3B4B4; // 原本是#777
98
+ margin-right: 2px;
99
+ padding:10px 20px;
100
+ font-size:12px;
101
+ line-height: @line-height-base;
102
+ font-weight: 600;
103
+ // border: 2px solid #ddd; // 原本为0px solid #F6F6F6;
104
+ // border-width: 2px 2px 0px 2px ;
105
+ // border-style: solid;
106
+ // border-color: #ddd;
107
+ // border-bottom: 1px solid; // 原本没有
108
+ // background: #fff; // 原本没有
109
+ // border-radius: @border-radius-base @border-radius-base 0 0;
110
+ // background-image: -moz-linear-gradient(top, #fff, #fff); // 原本为(top, #e1eaf4, #dae4f2)
111
+ // background-image: -ms-linear-gradient(top, #fff, #fff);// 原本为(top, #e1eaf4, #dae4f2)
112
+ // background-image: -o-linear-gradient(top, #fff, #fff);// 原本为(top, #e1eaf4, #dae4f2)
113
+ // background-image: -webkit-gradient(linear, center top, center bottom, from(#fff), to(#fff));// 原本为(top, #e1eaf4, #dae4f2)
114
+ // background-image: -webkit-linear-gradient(top, #fff, #fff);// 原本为(top, #e1eaf4, #dae4f2)
115
+ // background-image: linear-gradient(top, #fff, #fff);// 原本为(top, #e1eaf4, #dae4f2)
116
+ }
117
+
118
+ // Active state, and its :hover to override normal :hover
119
+ &.active > a {
120
+ &,
121
+ &:hover,
122
+ &:focus {
123
+ // 修改前
124
+ // color: @nav-tabs-active-link-hover-color;
125
+ // background-color: @nav-tabs-active-link-hover-bg;
126
+ // border: 1px solid @nav-tabs-active-link-hover-border-color;
127
+ // border-bottom-color: transparent;
128
+ // cursor: default;
129
+ // 修改后
130
+
131
+ cursor: default;
132
+ font-weight: 600;
133
+
134
+ // border-bottom: : 3px solid @global-color;
135
+ // background-image: -moz-linear-gradient(top, #fefeff, #dae4f2);
136
+ // background-image: -ms-linear-gradient(top, #fefeff, #dae4f2);
137
+ // background-image: -o-linear-gradient(top, #fefeff, #dae4f2);
138
+ // background-image: -webkit-gradient(linear, center top, center bottom, from(#fefeff), to(#dae4f2));
139
+ // background-image: -webkit-linear-gradient(top, @global-color, @global-color); // 原本为(top, #fefeff, #dae4f2)
140
+ // background-image: linear-gradient(top, #fefeff, #dae4f2);
141
+
142
+ // border-bottom-color: transparent; font-weight:bolder;
143
+ }
144
+ }
145
+ }
146
+ // pulling this in mainly for less shorthand
147
+ &.nav-justified {
148
+ .nav-justified();
149
+ .nav-tabs-justified();
150
+ }
151
+ }
152
+
153
+
154
+ // Pills
155
+ // -------------------------
156
+ .nav-pills {
157
+ > li {
158
+ float: left;
159
+
160
+ // Links rendered as pills
161
+ > a {
162
+ border-radius: @nav-pills-border-radius;
163
+ }
164
+ + li {
165
+ margin-left: 2px;
166
+ }
167
+
168
+ // Active state
169
+ &.active > a {
170
+ &,
171
+ &:hover,
172
+ &:focus {
173
+ color: @nav-pills-active-link-hover-color;
174
+ background-color: @nav-pills-active-link-hover-bg;
175
+ }
176
+ }
177
+ }
178
+ }
179
+
180
+
181
+ // Stacked pills
182
+ .nav-stacked {
183
+ > li {
184
+ float: none;
185
+ + li {
186
+ margin-top: 2px;
187
+ margin-left: 0; // no need for this gap between nav items
188
+ }
189
+ }
190
+ }
191
+
192
+
193
+ // Nav variations
194
+ // --------------------------------------------------
195
+
196
+ // Justified nav links
197
+ // -------------------------
198
+
199
+ .nav-justified {
200
+ width: 100%;
201
+
202
+ > li {
203
+ float: none;
204
+ > a {
205
+ text-align: center;
206
+ margin-bottom: 5px;
207
+ }
208
+ }
209
+
210
+ > .dropdown .dropdown-menu {
211
+ top: auto;
212
+ left: auto;
213
+ }
214
+
215
+ @media (min-width: @screen-sm-min) {
216
+ > li {
217
+ display: table-cell;
218
+ width: 1%;
219
+ > a {
220
+ margin-bottom: 0;
221
+ }
222
+ }
223
+ }
224
+ }
225
+
226
+ // Move borders to anchors instead of bottom of list
227
+ //
228
+ // Mixin for adding on top the shared `.nav-justified` styles for our tabs
229
+ .nav-tabs-justified {
230
+ border-bottom: 0;
231
+
232
+ > li > a {
233
+ // Override margin from .nav-tabs
234
+ margin-right: 0;
235
+ border-radius: @border-radius-base;
236
+ }
237
+
238
+ > .active > a,
239
+ > .active > a:hover,
240
+ > .active > a:focus {
241
+ // border: 1px solid @nav-tabs-justified-link-border-color;
242
+ }
243
+
244
+ @media (min-width: @screen-sm-min) {
245
+ > li > a {
246
+ border-bottom: 1px solid @nav-tabs-justified-link-border-color;
247
+ border-radius: @border-radius-base @border-radius-base 0 0;
248
+ }
249
+ > .active > a,
250
+ > .active > a:hover,
251
+ > .active > a:focus {
252
+ border-bottom-color: @nav-tabs-justified-active-link-border-color;
253
+ }
254
+ }
255
+ }
256
+
257
+
258
+ // Tabbable tabs
259
+ // -------------------------
260
+
261
+ // Hide tabbable panes to start, show them when `.active`
262
+ .tab-content {
263
+ > .tab-pane {
264
+ display: none;
265
+ // padding: 0px 15px 0px 15px;
266
+ // 原本没有,自己添加
267
+ padding-top: 10px;
268
+ background: #FFF; // 原本,之前修改的为#FCFEEE
269
+ }
270
+ > .active {
271
+ display: block;
272
+ }
273
+ }
274
+
275
+
276
+ // Dropdowns
277
+ // -------------------------
278
+
279
+ // Specific dropdowns
280
+ .nav-tabs .dropdown-menu {
281
+ // make dropdown border overlap tab border
282
+ margin-top: -1px;
283
+ // Remove the top rounded corners here since there is a hard edge above the menu
284
+ .border-top-radius(0);
285
+ }
@@ -0,0 +1,424 @@
1
+ /*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
2
+
3
+ //
4
+ // 1. Set default font family to sans-serif.
5
+ // 2. Prevent iOS and IE text size adjust after device orientation change,
6
+ // without disabling user zoom.
7
+ //
8
+
9
+ html {
10
+ font-family: sans-serif; // 1
11
+ -ms-text-size-adjust: 100%; // 2
12
+ -webkit-text-size-adjust: 100%; // 2
13
+ }
14
+
15
+ //
16
+ // Remove default margin.
17
+ //
18
+
19
+ body {
20
+ margin: 0;
21
+ }
22
+
23
+ // HTML5 display definitions
24
+ // ==========================================================================
25
+
26
+ //
27
+ // Correct `block` display not defined for any HTML5 element in IE 8/9.
28
+ // Correct `block` display not defined for `details` or `summary` in IE 10/11
29
+ // and Firefox.
30
+ // Correct `block` display not defined for `main` in IE 11.
31
+ //
32
+
33
+ article,
34
+ aside,
35
+ details,
36
+ figcaption,
37
+ figure,
38
+ footer,
39
+ header,
40
+ hgroup,
41
+ main,
42
+ menu,
43
+ nav,
44
+ section,
45
+ summary {
46
+ display: block;
47
+ }
48
+
49
+ //
50
+ // 1. Correct `inline-block` display not defined in IE 8/9.
51
+ // 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
52
+ //
53
+
54
+ audio,
55
+ canvas,
56
+ progress,
57
+ video {
58
+ display: inline-block; // 1
59
+ vertical-align: baseline; // 2
60
+ }
61
+
62
+ //
63
+ // Prevent modern browsers from displaying `audio` without controls.
64
+ // Remove excess height in iOS 5 devices.
65
+ //
66
+
67
+ audio:not([controls]) {
68
+ display: none;
69
+ height: 0;
70
+ }
71
+
72
+ //
73
+ // Address `[hidden]` styling not present in IE 8/9/10.
74
+ // Hide the `template` element in IE 8/9/10/11, Safari, and Firefox < 22.
75
+ //
76
+
77
+ [hidden],
78
+ template {
79
+ display: none;
80
+ }
81
+
82
+ // Links
83
+ // ==========================================================================
84
+
85
+ //
86
+ // Remove the gray background color from active links in IE 10.
87
+ //
88
+
89
+ a {
90
+ background-color: transparent;
91
+ }
92
+
93
+ //
94
+ // Improve readability of focused elements when they are also in an
95
+ // active/hover state.
96
+ //
97
+
98
+ a:active,
99
+ a:hover {
100
+ outline: 0;
101
+ }
102
+
103
+ // Text-level semantics
104
+ // ==========================================================================
105
+
106
+ //
107
+ // Address styling not present in IE 8/9/10/11, Safari, and Chrome.
108
+ //
109
+
110
+ abbr[title] {
111
+ border-bottom: 1px dotted;
112
+ }
113
+
114
+ //
115
+ // Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
116
+ //
117
+
118
+ b,
119
+ strong {
120
+ font-weight: bold;
121
+ }
122
+
123
+ //
124
+ // Address styling not present in Safari and Chrome.
125
+ //
126
+
127
+ dfn {
128
+ font-style: italic;
129
+ }
130
+
131
+ //
132
+ // Address variable `h1` font-size and margin within `section` and `article`
133
+ // contexts in Firefox 4+, Safari, and Chrome.
134
+ //
135
+
136
+ h1 {
137
+ font-size: 2em;
138
+ margin: 0.67em 0;
139
+ }
140
+
141
+ //
142
+ // Address styling not present in IE 8/9.
143
+ //
144
+
145
+ mark {
146
+ background: #ff0;
147
+ color: #000;
148
+ }
149
+
150
+ //
151
+ // Address inconsistent and variable font size in all browsers.
152
+ //
153
+
154
+ small {
155
+ font-size: 80%;
156
+ }
157
+
158
+ //
159
+ // Prevent `sub` and `sup` affecting `line-height` in all browsers.
160
+ //
161
+
162
+ sub,
163
+ sup {
164
+ font-size: 75%;
165
+ line-height: 0;
166
+ position: relative;
167
+ vertical-align: baseline;
168
+ }
169
+
170
+ sup {
171
+ top: -0.5em;
172
+ }
173
+
174
+ sub {
175
+ bottom: -0.25em;
176
+ }
177
+
178
+ // Embedded content
179
+ // ==========================================================================
180
+
181
+ //
182
+ // Remove border when inside `a` element in IE 8/9/10.
183
+ //
184
+
185
+ img {
186
+ border: 0;
187
+ }
188
+
189
+ //
190
+ // Correct overflow not hidden in IE 9/10/11.
191
+ //
192
+
193
+ svg:not(:root) {
194
+ overflow: hidden;
195
+ }
196
+
197
+ // Grouping content
198
+ // ==========================================================================
199
+
200
+ //
201
+ // Address margin not present in IE 8/9 and Safari.
202
+ //
203
+
204
+ figure {
205
+ margin: 1em 40px;
206
+ }
207
+
208
+ //
209
+ // Address differences between Firefox and other browsers.
210
+ //
211
+
212
+ hr {
213
+ box-sizing: content-box;
214
+ height: 0;
215
+ }
216
+
217
+ //
218
+ // Contain overflow in all browsers.
219
+ //
220
+
221
+ pre {
222
+ overflow: auto;
223
+ }
224
+
225
+ //
226
+ // Address odd `em`-unit font size rendering in all browsers.
227
+ //
228
+
229
+ code,
230
+ kbd,
231
+ pre,
232
+ samp {
233
+ font-family: monospace, monospace;
234
+ font-size: 1em;
235
+ }
236
+
237
+ // Forms
238
+ // ==========================================================================
239
+
240
+ //
241
+ // Known limitation: by default, Chrome and Safari on OS X allow very limited
242
+ // styling of `select`, unless a `border` property is set.
243
+ //
244
+
245
+ //
246
+ // 1. Correct color not being inherited.
247
+ // Known issue: affects color of disabled elements.
248
+ // 2. Correct font properties not being inherited.
249
+ // 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
250
+ //
251
+
252
+ button,
253
+ input,
254
+ optgroup,
255
+ select,
256
+ textarea {
257
+ color: inherit; // 1
258
+ font: inherit; // 2
259
+ margin: 0; // 3
260
+ }
261
+
262
+ //
263
+ // Address `overflow` set to `hidden` in IE 8/9/10/11.
264
+ //
265
+
266
+ button {
267
+ overflow: visible;
268
+ }
269
+
270
+ //
271
+ // Address inconsistent `text-transform` inheritance for `button` and `select`.
272
+ // All other form control elements do not inherit `text-transform` values.
273
+ // Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
274
+ // Correct `select` style inheritance in Firefox.
275
+ //
276
+
277
+ button,
278
+ select {
279
+ text-transform: none;
280
+ }
281
+
282
+ //
283
+ // 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
284
+ // and `video` controls.
285
+ // 2. Correct inability to style clickable `input` types in iOS.
286
+ // 3. Improve usability and consistency of cursor style between image-type
287
+ // `input` and others.
288
+ //
289
+
290
+ button,
291
+ html input[type="button"], // 1
292
+ input[type="reset"],
293
+ input[type="submit"] {
294
+ -webkit-appearance: button; // 2
295
+ cursor: pointer; // 3
296
+ }
297
+
298
+ //
299
+ // Re-set default cursor for disabled elements.
300
+ //
301
+
302
+ button[disabled],
303
+ html input[disabled] {
304
+ cursor: default;
305
+ }
306
+
307
+ //
308
+ // Remove inner padding and border in Firefox 4+.
309
+ //
310
+
311
+ button::-moz-focus-inner,
312
+ input::-moz-focus-inner {
313
+ border: 0;
314
+ padding: 0;
315
+ }
316
+
317
+ //
318
+ // Address Firefox 4+ setting `line-height` on `input` using `!important` in
319
+ // the UA stylesheet.
320
+ //
321
+
322
+ input {
323
+ line-height: normal;
324
+ }
325
+
326
+ //
327
+ // It's recommended that you don't attempt to style these elements.
328
+ // Firefox's implementation doesn't respect box-sizing, padding, or width.
329
+ //
330
+ // 1. Address box sizing set to `content-box` in IE 8/9/10.
331
+ // 2. Remove excess padding in IE 8/9/10.
332
+ //
333
+
334
+ input[type="checkbox"],
335
+ input[type="radio"] {
336
+ box-sizing: border-box; // 1
337
+ padding: 0; // 2
338
+ }
339
+
340
+ //
341
+ // Fix the cursor style for Chrome's increment/decrement buttons. For certain
342
+ // `font-size` values of the `input`, it causes the cursor style of the
343
+ // decrement button to change from `default` to `text`.
344
+ //
345
+
346
+ input[type="number"]::-webkit-inner-spin-button,
347
+ input[type="number"]::-webkit-outer-spin-button {
348
+ height: auto;
349
+ }
350
+
351
+ //
352
+ // 1. Address `appearance` set to `searchfield` in Safari and Chrome.
353
+ // 2. Address `box-sizing` set to `border-box` in Safari and Chrome.
354
+ //
355
+
356
+ input[type="search"] {
357
+ -webkit-appearance: textfield; // 1
358
+ box-sizing: content-box; //2
359
+ }
360
+
361
+ //
362
+ // Remove inner padding and search cancel button in Safari and Chrome on OS X.
363
+ // Safari (but not Chrome) clips the cancel button when the search input has
364
+ // padding (and `textfield` appearance).
365
+ //
366
+
367
+ input[type="search"]::-webkit-search-cancel-button,
368
+ input[type="search"]::-webkit-search-decoration {
369
+ -webkit-appearance: none;
370
+ }
371
+
372
+ //
373
+ // Define consistent border, margin, and padding.
374
+ //
375
+
376
+ fieldset {
377
+ border: 1px solid #c0c0c0;
378
+ margin: 0 2px;
379
+ padding: 0.35em 0.625em 0.75em;
380
+ }
381
+
382
+ //
383
+ // 1. Correct `color` not being inherited in IE 8/9/10/11.
384
+ // 2. Remove padding so people aren't caught out if they zero out fieldsets.
385
+ //
386
+
387
+ legend {
388
+ border: 0; // 1
389
+ padding: 0; // 2
390
+ }
391
+
392
+ //
393
+ // Remove default vertical scrollbar in IE 8/9/10/11.
394
+ //
395
+
396
+ textarea {
397
+ overflow: auto;
398
+ }
399
+
400
+ //
401
+ // Don't inherit the `font-weight` (applied by a rule above).
402
+ // NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
403
+ //
404
+
405
+ optgroup {
406
+ font-weight: bold;
407
+ }
408
+
409
+ // Tables
410
+ // ==========================================================================
411
+
412
+ //
413
+ // Remove most spacing between table cells.
414
+ //
415
+
416
+ table {
417
+ border-collapse: collapse;
418
+ border-spacing: 0;
419
+ }
420
+
421
+ td,
422
+ th {
423
+ padding: 0;
424
+ }