nodebb-theme-persona 12.0.9 → 12.0.12

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 (201) hide show
  1. package/.eslintrc +2 -2
  2. package/README.md +14 -14
  3. package/languages/de/persona.json +3 -3
  4. package/languages/en-US/persona.json +2 -2
  5. package/languages/fr/persona.json +3 -3
  6. package/languages/pl/persona.json +3 -3
  7. package/languages/pt-PT/persona.json +2 -2
  8. package/languages/tr/persona.json +4 -4
  9. package/languages/zh-CN/persona.json +4 -4
  10. package/less/account.less +2 -2
  11. package/less/bootstrap/.csscomb.json +297 -297
  12. package/less/bootstrap/.csslintrc +19 -19
  13. package/less/bootstrap/alerts.less +73 -73
  14. package/less/bootstrap/badges.less +66 -66
  15. package/less/bootstrap/bootstrap.less +50 -50
  16. package/less/bootstrap/breadcrumbs.less +26 -26
  17. package/less/bootstrap/button-groups.less +243 -243
  18. package/less/bootstrap/buttons.less +160 -160
  19. package/less/bootstrap/carousel.less +269 -269
  20. package/less/bootstrap/close.less +34 -34
  21. package/less/bootstrap/code.less +69 -69
  22. package/less/bootstrap/component-animations.less +33 -33
  23. package/less/bootstrap/forms.less +574 -574
  24. package/less/bootstrap/glyphicons.less +305 -305
  25. package/less/bootstrap/grid.less +84 -84
  26. package/less/bootstrap/input-groups.less +166 -166
  27. package/less/bootstrap/jumbotron.less +50 -50
  28. package/less/bootstrap/labels.less +64 -64
  29. package/less/bootstrap/list-group.less +124 -124
  30. package/less/bootstrap/media.less +61 -61
  31. package/less/bootstrap/mixins/alerts.less +14 -14
  32. package/less/bootstrap/mixins/background-variant.less +8 -8
  33. package/less/bootstrap/mixins/border-radius.less +18 -18
  34. package/less/bootstrap/mixins/buttons.less +52 -52
  35. package/less/bootstrap/mixins/center-block.less +7 -7
  36. package/less/bootstrap/mixins/clearfix.less +22 -22
  37. package/less/bootstrap/mixins/forms.less +85 -85
  38. package/less/bootstrap/mixins/gradients.less +59 -59
  39. package/less/bootstrap/mixins/grid-framework.less +91 -91
  40. package/less/bootstrap/mixins/grid.less +122 -122
  41. package/less/bootstrap/mixins/hide-text.less +21 -21
  42. package/less/bootstrap/mixins/image.less +33 -33
  43. package/less/bootstrap/mixins/labels.less +12 -12
  44. package/less/bootstrap/mixins/list-group.less +29 -29
  45. package/less/bootstrap/mixins/nav-divider.less +10 -10
  46. package/less/bootstrap/mixins/nav-vertical-align.less +9 -9
  47. package/less/bootstrap/mixins/opacity.less +8 -8
  48. package/less/bootstrap/mixins/pagination.less +23 -23
  49. package/less/bootstrap/mixins/panels.less +24 -24
  50. package/less/bootstrap/mixins/progress-bar.less +10 -10
  51. package/less/bootstrap/mixins/reset-filter.less +8 -8
  52. package/less/bootstrap/mixins/resize.less +6 -6
  53. package/less/bootstrap/mixins/responsive-visibility.less +15 -15
  54. package/less/bootstrap/mixins/size.less +10 -10
  55. package/less/bootstrap/mixins/tab-focus.less +9 -9
  56. package/less/bootstrap/mixins/table-row.less +28 -28
  57. package/less/bootstrap/mixins/text-emphasis.less +8 -8
  58. package/less/bootstrap/mixins/text-overflow.less +8 -8
  59. package/less/bootstrap/mixins/vendor-prefixes.less +227 -227
  60. package/less/bootstrap/mixins.less +39 -39
  61. package/less/bootstrap/modals.less +150 -150
  62. package/less/bootstrap/navbar.less +660 -660
  63. package/less/bootstrap/navs.less +242 -242
  64. package/less/bootstrap/normalize.less +427 -427
  65. package/less/bootstrap/pager.less +54 -54
  66. package/less/bootstrap/pagination.less +88 -88
  67. package/less/bootstrap/panels.less +265 -265
  68. package/less/bootstrap/popovers.less +135 -135
  69. package/less/bootstrap/print.less +107 -107
  70. package/less/bootstrap/progress-bars.less +87 -87
  71. package/less/bootstrap/responsive-embed.less +35 -35
  72. package/less/bootstrap/responsive-utilities.less +194 -194
  73. package/less/bootstrap/scaffolding.less +161 -161
  74. package/less/bootstrap/tables.less +234 -234
  75. package/less/bootstrap/theme.less +273 -273
  76. package/less/bootstrap/thumbnails.less +36 -36
  77. package/less/bootstrap/tooltip.less +102 -102
  78. package/less/bootstrap/type.less +302 -302
  79. package/less/bootstrap/utilities.less +55 -55
  80. package/less/bootstrap/variables.less +861 -861
  81. package/less/bootstrap/wells.less +29 -29
  82. package/less/bootstrap-flipped.css +1550 -1550
  83. package/less/categories.less +235 -235
  84. package/less/flags.less +42 -42
  85. package/less/footer.less +17 -17
  86. package/less/ip-blacklist.less +6 -6
  87. package/less/keyframes.less +152 -152
  88. package/less/modules/composer-default.less +16 -16
  89. package/less/modules/cookie-consent.less +12 -12
  90. package/less/modules/fab.less +32 -32
  91. package/less/modules/morph.less +268 -268
  92. package/less/modules/necro-post.less +8 -8
  93. package/less/modules/nprogress.less +80 -80
  94. package/less/modules/usercard.less +64 -64
  95. package/less/noscript.less +82 -82
  96. package/less/notifications.less +37 -37
  97. package/less/outgoing.less +8 -8
  98. package/less/persona.less +47 -47
  99. package/less/post-queue.less +19 -19
  100. package/less/register.less +75 -75
  101. package/less/rtl.less +132 -132
  102. package/less/tags.less +36 -36
  103. package/less/users.less +72 -72
  104. package/less/variables.less +6 -6
  105. package/package.json +1 -1
  106. package/public/.eslintrc +2 -2
  107. package/public/modules/autohidingnavbar.js +220 -220
  108. package/templates/account/blocks.tpl +34 -34
  109. package/templates/account/categories.tpl +28 -28
  110. package/templates/account/consent.tpl +68 -68
  111. package/templates/account/edit/email.tpl +30 -30
  112. package/templates/account/edit/password.tpl +31 -31
  113. package/templates/account/edit/username.tpl +29 -29
  114. package/templates/account/followers.tpl +16 -16
  115. package/templates/account/following.tpl +16 -16
  116. package/templates/account/groups.tpl +16 -16
  117. package/templates/account/info.tpl +230 -230
  118. package/templates/account/posts.tpl +18 -18
  119. package/templates/account/sessions.tpl +31 -31
  120. package/templates/account/topics.tpl +30 -30
  121. package/templates/account/uploads.tpl +42 -42
  122. package/templates/admin/plugins/persona.tpl +28 -28
  123. package/templates/alert.tpl +15 -15
  124. package/templates/categories.tpl +31 -31
  125. package/templates/category.tpl +62 -62
  126. package/templates/chats.tpl +16 -16
  127. package/templates/flags/list.tpl +71 -71
  128. package/templates/groups/details.tpl +272 -272
  129. package/templates/groups/list.tpl +46 -46
  130. package/templates/groups/members.tpl +8 -8
  131. package/templates/ip-blacklist.tpl +55 -55
  132. package/templates/modules/usercard.tpl +36 -36
  133. package/templates/notifications.tpl +64 -64
  134. package/templates/partials/acceptTos.tpl +8 -8
  135. package/templates/partials/account/category-item.tpl +22 -22
  136. package/templates/partials/account/header.tpl +46 -46
  137. package/templates/partials/account/menu.tpl +1 -1
  138. package/templates/partials/buttons/newTopic.tpl +15 -15
  139. package/templates/partials/categories/item.tpl +46 -46
  140. package/templates/partials/categories/lastpost.tpl +26 -26
  141. package/templates/partials/categories/link.tpl +10 -10
  142. package/templates/partials/category/sort.tpl +14 -14
  143. package/templates/partials/category/subcategory.tpl +17 -17
  144. package/templates/partials/category/tags.tpl +4 -4
  145. package/templates/partials/category/tools.tpl +80 -80
  146. package/templates/partials/category/watch.tpl +22 -22
  147. package/templates/partials/category-filter-content.tpl +16 -16
  148. package/templates/partials/category-filter-right.tpl +2 -2
  149. package/templates/partials/category-filter.tpl +2 -2
  150. package/templates/partials/category-selector-right.tpl +2 -2
  151. package/templates/partials/category-selector.tpl +2 -2
  152. package/templates/partials/change_owner_modal.tpl +22 -22
  153. package/templates/partials/chats/messages.tpl +6 -6
  154. package/templates/partials/chats-menu.tpl +40 -40
  155. package/templates/partials/cookie-consent.tpl +4 -4
  156. package/templates/partials/delete_posts_modal.tpl +18 -18
  157. package/templates/partials/fork_thread_modal.tpl +21 -21
  158. package/templates/partials/groups/list.tpl +20 -20
  159. package/templates/partials/groups/memberlist.tpl +39 -39
  160. package/templates/partials/merge_topics_modal.tpl +57 -57
  161. package/templates/partials/modals/flag_modal.tpl +44 -44
  162. package/templates/partials/modals/manage_room.tpl +10 -10
  163. package/templates/partials/modals/manage_room_users.tpl +6 -6
  164. package/templates/partials/modals/post_history.tpl +36 -36
  165. package/templates/partials/modals/rename_room.tpl +3 -3
  166. package/templates/partials/modals/votes_modal.tpl +10 -10
  167. package/templates/partials/move_thread_modal.tpl +16 -16
  168. package/templates/partials/paginator.tpl +44 -44
  169. package/templates/partials/post_bar.tpl +20 -20
  170. package/templates/partials/posts_list.tpl +7 -7
  171. package/templates/partials/quick-search-results.tpl +30 -30
  172. package/templates/partials/slideout-menu.tpl +4 -4
  173. package/templates/partials/tags_list.tpl +4 -4
  174. package/templates/partials/thread_tools.tpl +7 -7
  175. package/templates/partials/topic/badge.tpl +4 -4
  176. package/templates/partials/topic/deleted-message.tpl +10 -10
  177. package/templates/partials/topic/navigation-post.tpl +11 -11
  178. package/templates/partials/topic/necro-post.tpl +2 -2
  179. package/templates/partials/topic/post-menu-list.tpl +8 -2
  180. package/templates/partials/topic/post.tpl +105 -105
  181. package/templates/partials/topic/quickreply.tpl +25 -25
  182. package/templates/partials/topic/reactions.tpl +1 -0
  183. package/templates/partials/topic/reply-button.tpl +26 -26
  184. package/templates/partials/topic/selection-tooltip.tpl +2 -2
  185. package/templates/partials/topic/sort.tpl +9 -9
  186. package/templates/partials/topic/stats.tpl +11 -11
  187. package/templates/partials/topic/tags.tpl +4 -4
  188. package/templates/partials/topic/watch.tpl +20 -20
  189. package/templates/partials/users_list_menu.tpl +10 -10
  190. package/templates/popular.tpl +61 -61
  191. package/templates/recent.tpl +51 -51
  192. package/templates/reset.tpl +23 -23
  193. package/templates/reset_code.tpl +41 -41
  194. package/templates/tag.tpl +35 -35
  195. package/templates/tags.tpl +30 -30
  196. package/templates/top.tpl +61 -61
  197. package/templates/tos.tpl +4 -4
  198. package/templates/unread.tpl +49 -49
  199. package/templates/users.tpl +47 -47
  200. package/theme.json +6 -6
  201. package/theme.less +1 -1
@@ -1,135 +1,135 @@
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
- // Reset font and text properties given new insertion method
15
- font-family: @font-family-base;
16
- font-size: @font-size-base;
17
- font-weight: normal;
18
- line-height: @line-height-base;
19
- text-align: left;
20
- background-color: @popover-bg;
21
- background-clip: padding-box;
22
- border: 1px solid @popover-fallback-border-color;
23
- border: 1px solid @popover-border-color;
24
- border-radius: @border-radius-large;
25
- .box-shadow(0 5px 10px rgba(0,0,0,.2));
26
-
27
- // Overrides for proper insertion
28
- white-space: normal;
29
-
30
- // Offset the popover to account for the popover arrow
31
- &.top { margin-top: -@popover-arrow-width; }
32
- &.right { margin-left: @popover-arrow-width; }
33
- &.bottom { margin-top: @popover-arrow-width; }
34
- &.left { margin-left: -@popover-arrow-width; }
35
- }
36
-
37
- .popover-title {
38
- margin: 0; // reset heading margin
39
- padding: 8px 14px;
40
- font-size: @font-size-base;
41
- background-color: @popover-title-bg;
42
- border-bottom: 1px solid darken(@popover-title-bg, 5%);
43
- border-radius: (@border-radius-large - 1) (@border-radius-large - 1) 0 0;
44
- }
45
-
46
- .popover-content {
47
- padding: 9px 14px;
48
- }
49
-
50
- // Arrows
51
- //
52
- // .arrow is outer, .arrow:after is inner
53
-
54
- .popover > .arrow {
55
- &,
56
- &:after {
57
- position: absolute;
58
- display: block;
59
- width: 0;
60
- height: 0;
61
- border-color: transparent;
62
- border-style: solid;
63
- }
64
- }
65
- .popover > .arrow {
66
- border-width: @popover-arrow-outer-width;
67
- }
68
- .popover > .arrow:after {
69
- border-width: @popover-arrow-width;
70
- content: "";
71
- }
72
-
73
- .popover {
74
- &.top > .arrow {
75
- left: 50%;
76
- margin-left: -@popover-arrow-outer-width;
77
- border-bottom-width: 0;
78
- border-top-color: @popover-arrow-outer-fallback-color; // IE8 fallback
79
- border-top-color: @popover-arrow-outer-color;
80
- bottom: -@popover-arrow-outer-width;
81
- &:after {
82
- content: " ";
83
- bottom: 1px;
84
- margin-left: -@popover-arrow-width;
85
- border-bottom-width: 0;
86
- border-top-color: @popover-arrow-color;
87
- }
88
- }
89
- &.right > .arrow {
90
- top: 50%;
91
- left: -@popover-arrow-outer-width;
92
- margin-top: -@popover-arrow-outer-width;
93
- border-left-width: 0;
94
- border-right-color: @popover-arrow-outer-fallback-color; // IE8 fallback
95
- border-right-color: @popover-arrow-outer-color;
96
- &:after {
97
- content: " ";
98
- left: 1px;
99
- bottom: -@popover-arrow-width;
100
- border-left-width: 0;
101
- border-right-color: @popover-arrow-color;
102
- }
103
- }
104
- &.bottom > .arrow {
105
- left: 50%;
106
- margin-left: -@popover-arrow-outer-width;
107
- border-top-width: 0;
108
- border-bottom-color: @popover-arrow-outer-fallback-color; // IE8 fallback
109
- border-bottom-color: @popover-arrow-outer-color;
110
- top: -@popover-arrow-outer-width;
111
- &:after {
112
- content: " ";
113
- top: 1px;
114
- margin-left: -@popover-arrow-width;
115
- border-top-width: 0;
116
- border-bottom-color: @popover-arrow-color;
117
- }
118
- }
119
-
120
- &.left > .arrow {
121
- top: 50%;
122
- right: -@popover-arrow-outer-width;
123
- margin-top: -@popover-arrow-outer-width;
124
- border-right-width: 0;
125
- border-left-color: @popover-arrow-outer-fallback-color; // IE8 fallback
126
- border-left-color: @popover-arrow-outer-color;
127
- &:after {
128
- content: " ";
129
- right: 1px;
130
- border-right-width: 0;
131
- border-left-color: @popover-arrow-color;
132
- bottom: -@popover-arrow-width;
133
- }
134
- }
135
- }
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
+ // Reset font and text properties given new insertion method
15
+ font-family: @font-family-base;
16
+ font-size: @font-size-base;
17
+ font-weight: normal;
18
+ line-height: @line-height-base;
19
+ text-align: left;
20
+ background-color: @popover-bg;
21
+ background-clip: padding-box;
22
+ border: 1px solid @popover-fallback-border-color;
23
+ border: 1px solid @popover-border-color;
24
+ border-radius: @border-radius-large;
25
+ .box-shadow(0 5px 10px rgba(0,0,0,.2));
26
+
27
+ // Overrides for proper insertion
28
+ white-space: normal;
29
+
30
+ // Offset the popover to account for the popover arrow
31
+ &.top { margin-top: -@popover-arrow-width; }
32
+ &.right { margin-left: @popover-arrow-width; }
33
+ &.bottom { margin-top: @popover-arrow-width; }
34
+ &.left { margin-left: -@popover-arrow-width; }
35
+ }
36
+
37
+ .popover-title {
38
+ margin: 0; // reset heading margin
39
+ padding: 8px 14px;
40
+ font-size: @font-size-base;
41
+ background-color: @popover-title-bg;
42
+ border-bottom: 1px solid darken(@popover-title-bg, 5%);
43
+ border-radius: (@border-radius-large - 1) (@border-radius-large - 1) 0 0;
44
+ }
45
+
46
+ .popover-content {
47
+ padding: 9px 14px;
48
+ }
49
+
50
+ // Arrows
51
+ //
52
+ // .arrow is outer, .arrow:after is inner
53
+
54
+ .popover > .arrow {
55
+ &,
56
+ &:after {
57
+ position: absolute;
58
+ display: block;
59
+ width: 0;
60
+ height: 0;
61
+ border-color: transparent;
62
+ border-style: solid;
63
+ }
64
+ }
65
+ .popover > .arrow {
66
+ border-width: @popover-arrow-outer-width;
67
+ }
68
+ .popover > .arrow:after {
69
+ border-width: @popover-arrow-width;
70
+ content: "";
71
+ }
72
+
73
+ .popover {
74
+ &.top > .arrow {
75
+ left: 50%;
76
+ margin-left: -@popover-arrow-outer-width;
77
+ border-bottom-width: 0;
78
+ border-top-color: @popover-arrow-outer-fallback-color; // IE8 fallback
79
+ border-top-color: @popover-arrow-outer-color;
80
+ bottom: -@popover-arrow-outer-width;
81
+ &:after {
82
+ content: " ";
83
+ bottom: 1px;
84
+ margin-left: -@popover-arrow-width;
85
+ border-bottom-width: 0;
86
+ border-top-color: @popover-arrow-color;
87
+ }
88
+ }
89
+ &.right > .arrow {
90
+ top: 50%;
91
+ left: -@popover-arrow-outer-width;
92
+ margin-top: -@popover-arrow-outer-width;
93
+ border-left-width: 0;
94
+ border-right-color: @popover-arrow-outer-fallback-color; // IE8 fallback
95
+ border-right-color: @popover-arrow-outer-color;
96
+ &:after {
97
+ content: " ";
98
+ left: 1px;
99
+ bottom: -@popover-arrow-width;
100
+ border-left-width: 0;
101
+ border-right-color: @popover-arrow-color;
102
+ }
103
+ }
104
+ &.bottom > .arrow {
105
+ left: 50%;
106
+ margin-left: -@popover-arrow-outer-width;
107
+ border-top-width: 0;
108
+ border-bottom-color: @popover-arrow-outer-fallback-color; // IE8 fallback
109
+ border-bottom-color: @popover-arrow-outer-color;
110
+ top: -@popover-arrow-outer-width;
111
+ &:after {
112
+ content: " ";
113
+ top: 1px;
114
+ margin-left: -@popover-arrow-width;
115
+ border-top-width: 0;
116
+ border-bottom-color: @popover-arrow-color;
117
+ }
118
+ }
119
+
120
+ &.left > .arrow {
121
+ top: 50%;
122
+ right: -@popover-arrow-outer-width;
123
+ margin-top: -@popover-arrow-outer-width;
124
+ border-right-width: 0;
125
+ border-left-color: @popover-arrow-outer-fallback-color; // IE8 fallback
126
+ border-left-color: @popover-arrow-outer-color;
127
+ &:after {
128
+ content: " ";
129
+ right: 1px;
130
+ border-right-width: 0;
131
+ border-left-color: @popover-arrow-color;
132
+ bottom: -@popover-arrow-width;
133
+ }
134
+ }
135
+ }
@@ -1,107 +1,107 @@
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
- // Chrome (OSX) fix for https://github.com/twbs/bootstrap/issues/11245
72
- // Once fixed, we can just straight up remove this.
73
- select {
74
- background: #fff !important;
75
- }
76
-
77
- // Bootstrap components
78
- .navbar {
79
- display: none;
80
- }
81
- .btn,
82
- .dropup > .btn {
83
- > .caret {
84
- border-top-color: #000 !important;
85
- }
86
- }
87
- .label {
88
- border: 1px solid #000;
89
- }
90
-
91
- .table {
92
- border-collapse: collapse !important;
93
-
94
- td,
95
- th {
96
- background-color: #fff !important;
97
- }
98
- }
99
- .table-bordered {
100
- th,
101
- td {
102
- border: 1px solid #ddd !important;
103
- }
104
- }
105
-
106
- // Bootstrap specific changes end
107
- }
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
+ // Chrome (OSX) fix for https://github.com/twbs/bootstrap/issues/11245
72
+ // Once fixed, we can just straight up remove this.
73
+ select {
74
+ background: #fff !important;
75
+ }
76
+
77
+ // Bootstrap components
78
+ .navbar {
79
+ display: none;
80
+ }
81
+ .btn,
82
+ .dropup > .btn {
83
+ > .caret {
84
+ border-top-color: #000 !important;
85
+ }
86
+ }
87
+ .label {
88
+ border: 1px solid #000;
89
+ }
90
+
91
+ .table {
92
+ border-collapse: collapse !important;
93
+
94
+ td,
95
+ th {
96
+ background-color: #fff !important;
97
+ }
98
+ }
99
+ .table-bordered {
100
+ th,
101
+ td {
102
+ border: 1px solid #ddd !important;
103
+ }
104
+ }
105
+
106
+ // Bootstrap specific changes end
107
+ }
@@ -1,87 +1,87 @@
1
- //
2
- // Progress bars
3
- // --------------------------------------------------
4
-
5
-
6
- // Bar animations
7
- // -------------------------
8
-
9
- // WebKit
10
- @-webkit-keyframes progress-bar-stripes {
11
- from { background-position: 40px 0; }
12
- to { background-position: 0 0; }
13
- }
14
-
15
- // Spec and IE10+
16
- @keyframes progress-bar-stripes {
17
- from { background-position: 40px 0; }
18
- to { background-position: 0 0; }
19
- }
20
-
21
-
22
- // Bar itself
23
- // -------------------------
24
-
25
- // Outer container
26
- .progress {
27
- overflow: hidden;
28
- height: @line-height-computed;
29
- margin-bottom: @line-height-computed;
30
- background-color: @progress-bg;
31
- border-radius: @progress-border-radius;
32
- .box-shadow(inset 0 1px 2px rgba(0,0,0,.1));
33
- }
34
-
35
- // Bar of progress
36
- .progress-bar {
37
- float: left;
38
- width: 0%;
39
- height: 100%;
40
- font-size: @font-size-small;
41
- line-height: @line-height-computed;
42
- color: @progress-bar-color;
43
- text-align: center;
44
- background-color: @progress-bar-bg;
45
- .box-shadow(inset 0 -1px 0 rgba(0,0,0,.15));
46
- .transition(width .6s ease);
47
- }
48
-
49
- // Striped bars
50
- //
51
- // `.progress-striped .progress-bar` is deprecated as of v3.2.0 in favor of the
52
- // `.progress-bar-striped` class, which you just add to an existing
53
- // `.progress-bar`.
54
- .progress-striped .progress-bar,
55
- .progress-bar-striped {
56
- #gradient > .striped();
57
- background-size: 40px 40px;
58
- }
59
-
60
- // Call animation for the active one
61
- //
62
- // `.progress.active .progress-bar` is deprecated as of v3.2.0 in favor of the
63
- // `.progress-bar.active` approach.
64
- .progress.active .progress-bar,
65
- .progress-bar.active {
66
- .animation(progress-bar-stripes 2s linear infinite);
67
- }
68
-
69
-
70
- // Variations
71
- // -------------------------
72
-
73
- .progress-bar-success {
74
- .progress-bar-variant(@progress-bar-success-bg);
75
- }
76
-
77
- .progress-bar-info {
78
- .progress-bar-variant(@progress-bar-info-bg);
79
- }
80
-
81
- .progress-bar-warning {
82
- .progress-bar-variant(@progress-bar-warning-bg);
83
- }
84
-
85
- .progress-bar-danger {
86
- .progress-bar-variant(@progress-bar-danger-bg);
87
- }
1
+ //
2
+ // Progress bars
3
+ // --------------------------------------------------
4
+
5
+
6
+ // Bar animations
7
+ // -------------------------
8
+
9
+ // WebKit
10
+ @-webkit-keyframes progress-bar-stripes {
11
+ from { background-position: 40px 0; }
12
+ to { background-position: 0 0; }
13
+ }
14
+
15
+ // Spec and IE10+
16
+ @keyframes progress-bar-stripes {
17
+ from { background-position: 40px 0; }
18
+ to { background-position: 0 0; }
19
+ }
20
+
21
+
22
+ // Bar itself
23
+ // -------------------------
24
+
25
+ // Outer container
26
+ .progress {
27
+ overflow: hidden;
28
+ height: @line-height-computed;
29
+ margin-bottom: @line-height-computed;
30
+ background-color: @progress-bg;
31
+ border-radius: @progress-border-radius;
32
+ .box-shadow(inset 0 1px 2px rgba(0,0,0,.1));
33
+ }
34
+
35
+ // Bar of progress
36
+ .progress-bar {
37
+ float: left;
38
+ width: 0%;
39
+ height: 100%;
40
+ font-size: @font-size-small;
41
+ line-height: @line-height-computed;
42
+ color: @progress-bar-color;
43
+ text-align: center;
44
+ background-color: @progress-bar-bg;
45
+ .box-shadow(inset 0 -1px 0 rgba(0,0,0,.15));
46
+ .transition(width .6s ease);
47
+ }
48
+
49
+ // Striped bars
50
+ //
51
+ // `.progress-striped .progress-bar` is deprecated as of v3.2.0 in favor of the
52
+ // `.progress-bar-striped` class, which you just add to an existing
53
+ // `.progress-bar`.
54
+ .progress-striped .progress-bar,
55
+ .progress-bar-striped {
56
+ #gradient > .striped();
57
+ background-size: 40px 40px;
58
+ }
59
+
60
+ // Call animation for the active one
61
+ //
62
+ // `.progress.active .progress-bar` is deprecated as of v3.2.0 in favor of the
63
+ // `.progress-bar.active` approach.
64
+ .progress.active .progress-bar,
65
+ .progress-bar.active {
66
+ .animation(progress-bar-stripes 2s linear infinite);
67
+ }
68
+
69
+
70
+ // Variations
71
+ // -------------------------
72
+
73
+ .progress-bar-success {
74
+ .progress-bar-variant(@progress-bar-success-bg);
75
+ }
76
+
77
+ .progress-bar-info {
78
+ .progress-bar-variant(@progress-bar-info-bg);
79
+ }
80
+
81
+ .progress-bar-warning {
82
+ .progress-bar-variant(@progress-bar-warning-bg);
83
+ }
84
+
85
+ .progress-bar-danger {
86
+ .progress-bar-variant(@progress-bar-danger-bg);
87
+ }