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,76 @@
1
+ //
2
+ // Pager pagination
3
+ // --------------------------------------------------
4
+
5
+
6
+ .pager {
7
+ // padding-left: 0;
8
+ // margin: @line-height-computed 0;
9
+ padding: 5px;
10
+ background: #F2F6FA;
11
+ list-style: none;
12
+ text-align: center;
13
+ &:extend(.clearfix all);
14
+ li {
15
+ display: inline;
16
+ color: #324057;
17
+ > a,
18
+ > span {
19
+ display: inline-block;
20
+ padding: 5px 14px;
21
+ // background-color: @pager-bg; // 原来的
22
+ // border: 1px solid @pager-border; // 原来的
23
+ border-radius: @pager-border-radius;
24
+ color: #324057;
25
+ border: 1px solid #F2F6FA;
26
+ }
27
+
28
+ > a:hover { // 这个花括号原本没有
29
+ text-decoration: none;
30
+ // background-color: @pager-hover-bg; // 原来的
31
+ border: 1px solid #324057;
32
+ }
33
+
34
+ > a:focus {
35
+ text-decoration: none;
36
+ background-color: rgba(255, 255, 255, 0.5); //@pager-hover-bg
37
+ }
38
+ }
39
+
40
+ .next {
41
+ > a,
42
+ > span {
43
+ float: right;
44
+ }
45
+ }
46
+
47
+ .previous {
48
+ > a,
49
+ > span {
50
+ float: left;
51
+ }
52
+ }
53
+
54
+ .disabled {
55
+ > a,
56
+ > a:hover,
57
+ > a:focus,
58
+ > span {
59
+ color: @pager-disabled-color;
60
+ background-color: @pager-bg;
61
+ cursor: @cursor-disabled;
62
+ }
63
+ }
64
+
65
+ input {// 原本没有,自己扩展出来的
66
+ font-family: inherit;
67
+ font-size: inherit;
68
+ line-height: inherit;
69
+ color: gray;
70
+ height: 23px;
71
+ width: 40px;
72
+ border-radius: 3px;
73
+ border: 0px solid #fff;
74
+ text-align: center;
75
+ }
76
+ }
@@ -0,0 +1,89 @@
1
+ //
2
+ // Pagination (multiple pages)
3
+ // --------------------------------------------------
4
+ .pagination {
5
+ display: inline-block;
6
+ padding-left: 0;
7
+ margin: @line-height-computed 0;
8
+ border-radius: @border-radius-base;
9
+
10
+ > li {
11
+ display: inline; // Remove list-style and block-level defaults
12
+ > a,
13
+ > span {
14
+ position: relative;
15
+ float: left; // Collapse white-space
16
+ padding: @padding-base-vertical @padding-base-horizontal;
17
+ line-height: @line-height-base;
18
+ text-decoration: none;
19
+ color: @pagination-color;
20
+ background-color: @pagination-bg;
21
+ border: 1px solid @pagination-border;
22
+ margin-left: -1px;
23
+ }
24
+ &:first-child {
25
+ > a,
26
+ > span {
27
+ margin-left: 0;
28
+ .border-left-radius(@border-radius-base);
29
+ }
30
+ }
31
+ &:last-child {
32
+ > a,
33
+ > span {
34
+ .border-right-radius(@border-radius-base);
35
+ }
36
+ }
37
+ }
38
+
39
+ > li > a,
40
+ > li > span {
41
+ &:hover,
42
+ &:focus {
43
+ z-index: 3;
44
+ color: @pagination-hover-color;
45
+ background-color: @pagination-hover-bg;
46
+ border-color: @pagination-hover-border;
47
+ }
48
+ }
49
+
50
+ > .active > a,
51
+ > .active > span {
52
+ &,
53
+ &:hover,
54
+ &:focus {
55
+ z-index: 2;
56
+ color: @pagination-active-color;
57
+ background-color: @pagination-active-bg;
58
+ border-color: @pagination-active-border;
59
+ cursor: default;
60
+ }
61
+ }
62
+
63
+ > .disabled {
64
+ > span,
65
+ > span:hover,
66
+ > span:focus,
67
+ > a,
68
+ > a:hover,
69
+ > a:focus {
70
+ color: @pagination-disabled-color;
71
+ background-color: @pagination-disabled-bg;
72
+ border-color: @pagination-disabled-border;
73
+ cursor: @cursor-disabled;
74
+ }
75
+ }
76
+ }
77
+
78
+ // Sizing
79
+ // --------------------------------------------------
80
+
81
+ // Large
82
+ .pagination-lg {
83
+ .pagination-size(@padding-large-vertical; @padding-large-horizontal; @font-size-large; @line-height-large; @border-radius-large);
84
+ }
85
+
86
+ // Small
87
+ .pagination-sm {
88
+ .pagination-size(@padding-small-vertical; @padding-small-horizontal; @font-size-small; @line-height-small; @border-radius-small);
89
+ }
@@ -0,0 +1,275 @@
1
+ //
2
+ // Panels
3
+ // --------------------------------------------------
4
+
5
+
6
+ // Base class
7
+ .panel {
8
+ margin-bottom: 0;
9
+ margin-top: 10px;
10
+ background-color: @panel-bg;
11
+ border: 1px solid transparent;
12
+ // border-radius: @panel-border-radius; 原本有
13
+ // .box-shadow(0 1px 1px rgba(0,0,0,.05)); 原本有
14
+ }
15
+
16
+ // Panel contents
17
+ .panel-body {
18
+ padding: @panel-body-padding;
19
+ &:extend(.clearfix all);
20
+ }
21
+
22
+ // Optional heading
23
+ .panel-heading {
24
+ padding: @panel-heading-padding;
25
+ // border-bottom: 1px solid transparent; 原本有
26
+ .border-top-radius((@panel-border-radius - 1));
27
+
28
+ > .dropdown .dropdown-toggle {
29
+ color: inherit;
30
+ }
31
+ h4 {
32
+ font-weight: 600;
33
+ }
34
+ }
35
+
36
+ // Within heading, strip any `h*` tag of its default margins for spacing.
37
+ .panel-title {
38
+ margin-top: 0;
39
+ margin-bottom: 0;
40
+ font-size: ceil((@font-size-base * 1.125));
41
+ color: inherit;
42
+
43
+ > a,
44
+ > small,
45
+ > .small,
46
+ > small > a,
47
+ > .small > a {
48
+ color: inherit;
49
+ }
50
+ }
51
+
52
+ // Optional footer (stays gray in every modifier class)
53
+ .panel-footer {
54
+ padding: @panel-footer-padding;
55
+ background-color: @panel-footer-bg;
56
+ border-top: 1px solid @panel-inner-border;
57
+ .border-bottom-radius((@panel-border-radius - 1));
58
+ }
59
+
60
+
61
+ // List groups in panels
62
+ //
63
+ // By default, space out list group content from panel headings to account for
64
+ // any kind of custom content between the two.
65
+
66
+ .panel {
67
+ > .list-group,
68
+ > .panel-collapse > .list-group {
69
+ margin-bottom: 0;
70
+
71
+ .list-group-item {
72
+ border-width: 1px 0;
73
+ border-radius: 0;
74
+ }
75
+
76
+ // Add border top radius for first one
77
+ &:first-child {
78
+ .list-group-item:first-child {
79
+ border-top: 0;
80
+ .border-top-radius((@panel-border-radius - 1));
81
+ }
82
+ }
83
+
84
+ // Add border bottom radius for last one
85
+ &:last-child {
86
+ .list-group-item:last-child {
87
+ border-bottom: 0;
88
+ .border-bottom-radius((@panel-border-radius - 1));
89
+ }
90
+ }
91
+ }
92
+ > .panel-heading + .panel-collapse > .list-group {
93
+ .list-group-item:first-child {
94
+ .border-top-radius(0);
95
+ }
96
+ }
97
+ }
98
+ // Collapse space between when there's no additional content.
99
+ .panel-heading + .list-group {
100
+ .list-group-item:first-child {
101
+ border-top-width: 0;
102
+ }
103
+ }
104
+ .list-group + .panel-footer {
105
+ border-top-width: 0;
106
+ }
107
+
108
+ // Tables in panels
109
+ //
110
+ // Place a non-bordered `.table` within a panel (not within a `.panel-body`) and
111
+ // watch it go full width.
112
+
113
+ .panel {
114
+ > .table,
115
+ > .table-responsive > .table,
116
+ > .panel-collapse > .table {
117
+ margin-bottom: 0;
118
+
119
+ caption {
120
+ padding-left: @panel-body-padding;
121
+ padding-right: @panel-body-padding;
122
+ }
123
+ }
124
+ // Add border top radius for first one
125
+ > .table:first-child,
126
+ > .table-responsive:first-child > .table:first-child {
127
+ .border-top-radius((@panel-border-radius - 1));
128
+
129
+ > thead:first-child,
130
+ > tbody:first-child {
131
+ > tr:first-child {
132
+ border-top-left-radius: (@panel-border-radius - 1);
133
+ border-top-right-radius: (@panel-border-radius - 1);
134
+
135
+ td:first-child,
136
+ th:first-child {
137
+ border-top-left-radius: (@panel-border-radius - 1);
138
+ }
139
+ td:last-child,
140
+ th:last-child {
141
+ border-top-right-radius: (@panel-border-radius - 1);
142
+ }
143
+ }
144
+ }
145
+ }
146
+ // Add border bottom radius for last one
147
+ > .table:last-child,
148
+ > .table-responsive:last-child > .table:last-child {
149
+ .border-bottom-radius((@panel-border-radius - 1));
150
+
151
+ > tbody:last-child,
152
+ > tfoot:last-child {
153
+ > tr:last-child {
154
+ border-bottom-left-radius: (@panel-border-radius - 1);
155
+ border-bottom-right-radius: (@panel-border-radius - 1);
156
+
157
+ td:first-child,
158
+ th:first-child {
159
+ border-bottom-left-radius: (@panel-border-radius - 1);
160
+ }
161
+ td:last-child,
162
+ th:last-child {
163
+ border-bottom-right-radius: (@panel-border-radius - 1);
164
+ }
165
+ }
166
+ }
167
+ }
168
+ > .panel-body + .table,
169
+ > .panel-body + .table-responsive,
170
+ > .table + .panel-body,
171
+ > .table-responsive + .panel-body {
172
+ border-top: 1px solid @table-border-color;
173
+ }
174
+ > .table > tbody:first-child > tr:first-child th,
175
+ > .table > tbody:first-child > tr:first-child td {
176
+ border-top: 0;
177
+ }
178
+ > .table-bordered,
179
+ > .table-responsive > .table-bordered {
180
+ border: 0;
181
+ > thead,
182
+ > tbody,
183
+ > tfoot {
184
+ > tr {
185
+ > th:first-child,
186
+ > td:first-child {
187
+ border-left: 0;
188
+ }
189
+ > th:last-child,
190
+ > td:last-child {
191
+ border-right: 0;
192
+ }
193
+ }
194
+ }
195
+ > thead,
196
+ > tbody {
197
+ > tr:first-child {
198
+ > td,
199
+ > th {
200
+ border-bottom: 0;
201
+ }
202
+ }
203
+ }
204
+ > tbody,
205
+ > tfoot {
206
+ > tr:last-child {
207
+ > td,
208
+ > th {
209
+ border-bottom: 0;
210
+ }
211
+ }
212
+ }
213
+ }
214
+ > .table-responsive {
215
+ border: 0;
216
+ margin-bottom: 0;
217
+ }
218
+ }
219
+
220
+
221
+ // Collapsable panels (aka, accordion)
222
+ //
223
+ // Wrap a series of panels in `.panel-group` to turn them into an accordion with
224
+ // the help of our collapse JavaScript plugin.
225
+
226
+ .panel-group {
227
+ margin-bottom: @line-height-computed;
228
+
229
+ // Tighten up margin so it's only between panels
230
+ .panel {
231
+ margin-bottom: 0;
232
+ border-radius: @panel-border-radius;
233
+
234
+ + .panel {
235
+ margin-top: 5px;
236
+ }
237
+ }
238
+
239
+ .panel-heading {
240
+ border-bottom: 0;
241
+
242
+ + .panel-collapse > .panel-body,
243
+ + .panel-collapse > .list-group {
244
+ border-top: 1px solid @panel-inner-border;
245
+ }
246
+ }
247
+
248
+ .panel-footer {
249
+ border-top: 0;
250
+ + .panel-collapse .panel-body {
251
+ border-bottom: 1px solid @panel-inner-border;
252
+ }
253
+ }
254
+ }
255
+
256
+
257
+ // Contextual variations
258
+ .panel-default {
259
+ .panel-variant(@panel-default-border; @panel-default-text; @panel-default-heading-bg; @panel-default-border);
260
+ }
261
+ .panel-primary {
262
+ .panel-variant(@panel-primary-border; @panel-primary-text; @panel-primary-heading-bg; @panel-primary-border);
263
+ }
264
+ .panel-success {
265
+ .panel-variant(@panel-success-border; @panel-success-text; @panel-success-heading-bg; @panel-success-border);
266
+ }
267
+ .panel-info {
268
+ .panel-variant(@panel-info-border; @panel-info-text; @panel-info-heading-bg; @panel-info-border);
269
+ }
270
+ .panel-warning {
271
+ .panel-variant(@panel-warning-border; @panel-warning-text; @panel-warning-heading-bg; @panel-warning-border);
272
+ }
273
+ .panel-danger {
274
+ .panel-variant(@panel-danger-border; @panel-danger-text; @panel-danger-heading-bg; @panel-danger-border);
275
+ }
@@ -0,0 +1,131 @@
1
+ //
2
+ // Popovers
3
+ // --------------------------------------------------
4
+
5
+
6
+ .popover {
7
+ position: absolute;
8
+ top: 0;
9
+ left: 0;
10
+ z-index: @zindex-popover;
11
+ display: none;
12
+ max-width: @popover-max-width;
13
+ padding: 1px;
14
+ // Our parent element can be arbitrary since popovers are by default inserted as a sibling of their target element.
15
+ // So reset our font and text properties to avoid inheriting weird values.
16
+ .reset-text();
17
+ font-size: @font-size-base;
18
+
19
+ background-color: @popover-bg;
20
+ background-clip: padding-box;
21
+ border: 1px solid @popover-fallback-border-color;
22
+ border: 1px solid @popover-border-color;
23
+ border-radius: @border-radius-large;
24
+ .box-shadow(0 5px 10px rgba(0,0,0,.2));
25
+
26
+ // Offset the popover to account for the popover arrow
27
+ &.top { margin-top: -@popover-arrow-width; }
28
+ &.right { margin-left: @popover-arrow-width; }
29
+ &.bottom { margin-top: @popover-arrow-width; }
30
+ &.left { margin-left: -@popover-arrow-width; }
31
+ }
32
+
33
+ .popover-title {
34
+ margin: 0; // reset heading margin
35
+ padding: 8px 14px;
36
+ font-size: @font-size-base;
37
+ background-color: @popover-title-bg;
38
+ border-bottom: 1px solid darken(@popover-title-bg, 5%);
39
+ border-radius: (@border-radius-large - 1) (@border-radius-large - 1) 0 0;
40
+ }
41
+
42
+ .popover-content {
43
+ padding: 9px 14px;
44
+ }
45
+
46
+ // Arrows
47
+ //
48
+ // .arrow is outer, .arrow:after is inner
49
+
50
+ .popover > .arrow {
51
+ &,
52
+ &:after {
53
+ position: absolute;
54
+ display: block;
55
+ width: 0;
56
+ height: 0;
57
+ border-color: transparent;
58
+ border-style: solid;
59
+ }
60
+ }
61
+ .popover > .arrow {
62
+ border-width: @popover-arrow-outer-width;
63
+ }
64
+ .popover > .arrow:after {
65
+ border-width: @popover-arrow-width;
66
+ content: "";
67
+ }
68
+
69
+ .popover {
70
+ &.top > .arrow {
71
+ left: 50%;
72
+ margin-left: -@popover-arrow-outer-width;
73
+ border-bottom-width: 0;
74
+ border-top-color: @popover-arrow-outer-fallback-color; // IE8 fallback
75
+ border-top-color: @popover-arrow-outer-color;
76
+ bottom: -@popover-arrow-outer-width;
77
+ &:after {
78
+ content: " ";
79
+ bottom: 1px;
80
+ margin-left: -@popover-arrow-width;
81
+ border-bottom-width: 0;
82
+ border-top-color: @popover-arrow-color;
83
+ }
84
+ }
85
+ &.right > .arrow {
86
+ top: 50%;
87
+ left: -@popover-arrow-outer-width;
88
+ margin-top: -@popover-arrow-outer-width;
89
+ border-left-width: 0;
90
+ border-right-color: @popover-arrow-outer-fallback-color; // IE8 fallback
91
+ border-right-color: @popover-arrow-outer-color;
92
+ &:after {
93
+ content: " ";
94
+ left: 1px;
95
+ bottom: -@popover-arrow-width;
96
+ border-left-width: 0;
97
+ border-right-color: @popover-arrow-color;
98
+ }
99
+ }
100
+ &.bottom > .arrow {
101
+ left: 50%;
102
+ margin-left: -@popover-arrow-outer-width;
103
+ border-top-width: 0;
104
+ border-bottom-color: @popover-arrow-outer-fallback-color; // IE8 fallback
105
+ border-bottom-color: @popover-arrow-outer-color;
106
+ top: -@popover-arrow-outer-width;
107
+ &:after {
108
+ content: " ";
109
+ top: 1px;
110
+ margin-left: -@popover-arrow-width;
111
+ border-top-width: 0;
112
+ border-bottom-color: @popover-arrow-color;
113
+ }
114
+ }
115
+
116
+ &.left > .arrow {
117
+ top: 50%;
118
+ right: -@popover-arrow-outer-width;
119
+ margin-top: -@popover-arrow-outer-width;
120
+ border-right-width: 0;
121
+ border-left-color: @popover-arrow-outer-fallback-color; // IE8 fallback
122
+ border-left-color: @popover-arrow-outer-color;
123
+ &:after {
124
+ content: " ";
125
+ right: 1px;
126
+ border-right-width: 0;
127
+ border-left-color: @popover-arrow-color;
128
+ bottom: -@popover-arrow-width;
129
+ }
130
+ }
131
+ }
@@ -0,0 +1,101 @@
1
+ /*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */
2
+
3
+ // ==========================================================================
4
+ // Print styles.
5
+ // Inlined to avoid the additional HTTP request: h5bp.com/r
6
+ // ==========================================================================
7
+
8
+ @media print {
9
+ *,
10
+ *:before,
11
+ *:after {
12
+ background: transparent !important;
13
+ color: #000 !important; // Black prints faster: h5bp.com/s
14
+ box-shadow: none !important;
15
+ text-shadow: none !important;
16
+ }
17
+
18
+ a,
19
+ a:visited {
20
+ text-decoration: underline;
21
+ }
22
+
23
+ a[href]:after {
24
+ content: " (" attr(href) ")";
25
+ }
26
+
27
+ abbr[title]:after {
28
+ content: " (" attr(title) ")";
29
+ }
30
+
31
+ // Don't show links that are fragment identifiers,
32
+ // or use the `javascript:` pseudo protocol
33
+ a[href^="#"]:after,
34
+ a[href^="javascript:"]:after {
35
+ content: "";
36
+ }
37
+
38
+ pre,
39
+ blockquote {
40
+ border: 1px solid #999;
41
+ page-break-inside: avoid;
42
+ }
43
+
44
+ thead {
45
+ display: table-header-group; // h5bp.com/t
46
+ }
47
+
48
+ tr,
49
+ img {
50
+ page-break-inside: avoid;
51
+ }
52
+
53
+ img {
54
+ max-width: 100% !important;
55
+ }
56
+
57
+ p,
58
+ h2,
59
+ h3 {
60
+ orphans: 3;
61
+ widows: 3;
62
+ }
63
+
64
+ h2,
65
+ h3 {
66
+ page-break-after: avoid;
67
+ }
68
+
69
+ // Bootstrap specific changes start
70
+
71
+ // Bootstrap components
72
+ .navbar {
73
+ display: none;
74
+ }
75
+ .btn,
76
+ .dropup > .btn {
77
+ > .caret {
78
+ border-top-color: #000 !important;
79
+ }
80
+ }
81
+ .label {
82
+ border: 1px solid #000;
83
+ }
84
+
85
+ .table {
86
+ border-collapse: collapse !important;
87
+
88
+ td,
89
+ th {
90
+ background-color: #fff !important;
91
+ }
92
+ }
93
+ .table-bordered {
94
+ th,
95
+ td {
96
+ border: 1px solid #ddd !important;
97
+ }
98
+ }
99
+
100
+ // Bootstrap specific changes end
101
+ }