nodebb-theme-persona 11.3.2 → 11.3.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 (220) 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-GB/persona.json +2 -2
  5. package/languages/en-US/persona.json +2 -2
  6. package/languages/fr/persona.json +3 -3
  7. package/languages/pl/persona.json +3 -3
  8. package/languages/pt-PT/persona.json +2 -2
  9. package/languages/tr/persona.json +4 -4
  10. package/languages/zh-CN/persona.json +4 -4
  11. package/less/account.less +1 -1
  12. package/less/bootstrap/.csscomb.json +297 -297
  13. package/less/bootstrap/.csslintrc +19 -19
  14. package/less/bootstrap/alerts.less +73 -73
  15. package/less/bootstrap/badges.less +66 -66
  16. package/less/bootstrap/bootstrap.less +50 -50
  17. package/less/bootstrap/breadcrumbs.less +26 -26
  18. package/less/bootstrap/button-groups.less +243 -243
  19. package/less/bootstrap/buttons.less +160 -160
  20. package/less/bootstrap/carousel.less +269 -269
  21. package/less/bootstrap/close.less +34 -34
  22. package/less/bootstrap/code.less +69 -69
  23. package/less/bootstrap/component-animations.less +33 -33
  24. package/less/bootstrap/forms.less +574 -574
  25. package/less/bootstrap/glyphicons.less +305 -305
  26. package/less/bootstrap/grid.less +84 -84
  27. package/less/bootstrap/input-groups.less +166 -166
  28. package/less/bootstrap/jumbotron.less +50 -50
  29. package/less/bootstrap/labels.less +64 -64
  30. package/less/bootstrap/list-group.less +124 -124
  31. package/less/bootstrap/media.less +61 -61
  32. package/less/bootstrap/mixins/alerts.less +14 -14
  33. package/less/bootstrap/mixins/background-variant.less +8 -8
  34. package/less/bootstrap/mixins/border-radius.less +18 -18
  35. package/less/bootstrap/mixins/buttons.less +52 -52
  36. package/less/bootstrap/mixins/center-block.less +7 -7
  37. package/less/bootstrap/mixins/clearfix.less +22 -22
  38. package/less/bootstrap/mixins/forms.less +85 -85
  39. package/less/bootstrap/mixins/gradients.less +59 -59
  40. package/less/bootstrap/mixins/grid-framework.less +91 -91
  41. package/less/bootstrap/mixins/grid.less +122 -122
  42. package/less/bootstrap/mixins/hide-text.less +21 -21
  43. package/less/bootstrap/mixins/image.less +33 -33
  44. package/less/bootstrap/mixins/labels.less +12 -12
  45. package/less/bootstrap/mixins/list-group.less +29 -29
  46. package/less/bootstrap/mixins/nav-divider.less +10 -10
  47. package/less/bootstrap/mixins/nav-vertical-align.less +9 -9
  48. package/less/bootstrap/mixins/opacity.less +8 -8
  49. package/less/bootstrap/mixins/pagination.less +23 -23
  50. package/less/bootstrap/mixins/panels.less +24 -24
  51. package/less/bootstrap/mixins/progress-bar.less +10 -10
  52. package/less/bootstrap/mixins/reset-filter.less +8 -8
  53. package/less/bootstrap/mixins/resize.less +6 -6
  54. package/less/bootstrap/mixins/responsive-visibility.less +15 -15
  55. package/less/bootstrap/mixins/size.less +10 -10
  56. package/less/bootstrap/mixins/tab-focus.less +9 -9
  57. package/less/bootstrap/mixins/table-row.less +28 -28
  58. package/less/bootstrap/mixins/text-emphasis.less +8 -8
  59. package/less/bootstrap/mixins/text-overflow.less +8 -8
  60. package/less/bootstrap/mixins/vendor-prefixes.less +227 -227
  61. package/less/bootstrap/mixins.less +39 -39
  62. package/less/bootstrap/modals.less +150 -150
  63. package/less/bootstrap/navbar.less +660 -660
  64. package/less/bootstrap/navs.less +242 -242
  65. package/less/bootstrap/normalize.less +427 -427
  66. package/less/bootstrap/pager.less +54 -54
  67. package/less/bootstrap/pagination.less +88 -88
  68. package/less/bootstrap/panels.less +265 -265
  69. package/less/bootstrap/popovers.less +135 -135
  70. package/less/bootstrap/print.less +107 -107
  71. package/less/bootstrap/progress-bars.less +87 -87
  72. package/less/bootstrap/responsive-embed.less +35 -35
  73. package/less/bootstrap/responsive-utilities.less +194 -194
  74. package/less/bootstrap/scaffolding.less +161 -161
  75. package/less/bootstrap/tables.less +234 -234
  76. package/less/bootstrap/theme.less +273 -273
  77. package/less/bootstrap/thumbnails.less +36 -36
  78. package/less/bootstrap/tooltip.less +102 -102
  79. package/less/bootstrap/type.less +302 -302
  80. package/less/bootstrap/utilities.less +55 -55
  81. package/less/bootstrap/variables.less +861 -861
  82. package/less/bootstrap/wells.less +29 -29
  83. package/less/bootstrap-flipped.css +1550 -1550
  84. package/less/categories.less +235 -235
  85. package/less/chats.less +622 -622
  86. package/less/flags.less +42 -42
  87. package/less/footer.less +17 -17
  88. package/less/ip-blacklist.less +6 -6
  89. package/less/keyframes.less +152 -152
  90. package/less/mixins.less +6 -0
  91. package/less/mobile.less +291 -291
  92. package/less/modules/composer-default.less +16 -16
  93. package/less/modules/cookie-consent.less +12 -12
  94. package/less/modules/fab.less +32 -32
  95. package/less/modules/morph.less +268 -268
  96. package/less/modules/necro-post.less +8 -8
  97. package/less/modules/nprogress.less +80 -80
  98. package/less/modules/usercard.less +64 -64
  99. package/less/noscript.less +82 -82
  100. package/less/notifications.less +37 -37
  101. package/less/outgoing.less +8 -8
  102. package/less/persona.less +47 -47
  103. package/less/post-queue.less +19 -19
  104. package/less/register.less +75 -75
  105. package/less/rtl.less +132 -132
  106. package/less/style.less +4 -0
  107. package/less/tags.less +36 -36
  108. package/less/topic.less +7 -1
  109. package/less/users.less +72 -72
  110. package/less/variables.less +6 -6
  111. package/package.json +1 -1
  112. package/public/.eslintrc +2 -2
  113. package/public/admin.js +15 -24
  114. package/public/modules/autohidingnavbar.js +220 -220
  115. package/public/modules/quickreply.js +11 -14
  116. package/public/persona.js +27 -24
  117. package/templates/account/blocks.tpl +34 -34
  118. package/templates/account/categories.tpl +28 -28
  119. package/templates/account/consent.tpl +68 -68
  120. package/templates/account/edit/email.tpl +30 -30
  121. package/templates/account/edit/password.tpl +31 -31
  122. package/templates/account/edit/username.tpl +29 -29
  123. package/templates/account/followers.tpl +16 -16
  124. package/templates/account/following.tpl +16 -16
  125. package/templates/account/groups.tpl +16 -16
  126. package/templates/account/info.tpl +187 -187
  127. package/templates/account/posts.tpl +18 -18
  128. package/templates/account/sessions.tpl +31 -31
  129. package/templates/account/topics.tpl +30 -30
  130. package/templates/account/uploads.tpl +42 -42
  131. package/templates/admin/plugins/persona.tpl +28 -28
  132. package/templates/alert.tpl +15 -15
  133. package/templates/categories.tpl +31 -31
  134. package/templates/category.tpl +62 -62
  135. package/templates/chats.tpl +15 -15
  136. package/templates/flags/list.tpl +71 -71
  137. package/templates/footer.tpl +18 -18
  138. package/templates/groups/details.tpl +272 -272
  139. package/templates/groups/list.tpl +46 -46
  140. package/templates/groups/members.tpl +8 -8
  141. package/templates/ip-blacklist.tpl +55 -55
  142. package/templates/login.tpl +90 -90
  143. package/templates/modules/taskbar.tpl +2 -2
  144. package/templates/modules/usercard.tpl +36 -36
  145. package/templates/notifications.tpl +64 -64
  146. package/templates/partials/acceptTos.tpl +8 -8
  147. package/templates/partials/account/category-item.tpl +22 -22
  148. package/templates/partials/account/header.tpl +46 -46
  149. package/templates/partials/breadcrumbs.tpl +18 -18
  150. package/templates/partials/buttons/newTopic.tpl +15 -15
  151. package/templates/partials/categories/item.tpl +46 -46
  152. package/templates/partials/categories/lastpost.tpl +26 -26
  153. package/templates/partials/categories/link.tpl +10 -10
  154. package/templates/partials/category/sort.tpl +14 -14
  155. package/templates/partials/category/subcategory.tpl +17 -17
  156. package/templates/partials/category/tags.tpl +4 -4
  157. package/templates/partials/category/tools.tpl +80 -80
  158. package/templates/partials/category/watch.tpl +22 -22
  159. package/templates/partials/category-filter-content.tpl +18 -18
  160. package/templates/partials/category-filter-right.tpl +2 -2
  161. package/templates/partials/category-filter.tpl +2 -2
  162. package/templates/partials/category-selector-right.tpl +2 -2
  163. package/templates/partials/category-selector.tpl +2 -2
  164. package/templates/partials/change_owner_modal.tpl +22 -22
  165. package/templates/partials/chats/dropdown.tpl +33 -33
  166. package/templates/partials/chats/messages.tpl +6 -6
  167. package/templates/partials/chats/recent_room.tpl +24 -24
  168. package/templates/partials/chats-menu.tpl +10 -10
  169. package/templates/partials/cookie-consent.tpl +4 -4
  170. package/templates/partials/delete_posts_modal.tpl +18 -18
  171. package/templates/partials/fork_thread_modal.tpl +21 -21
  172. package/templates/partials/groups/list.tpl +20 -20
  173. package/templates/partials/groups/memberlist.tpl +39 -39
  174. package/templates/partials/menu.tpl +238 -238
  175. package/templates/partials/merge_topics_modal.tpl +57 -57
  176. package/templates/partials/modals/flag_modal.tpl +44 -44
  177. package/templates/partials/modals/manage_room.tpl +10 -10
  178. package/templates/partials/modals/manage_room_users.tpl +6 -6
  179. package/templates/partials/modals/post_history.tpl +36 -36
  180. package/templates/partials/modals/rename_room.tpl +3 -3
  181. package/templates/partials/modals/votes_modal.tpl +10 -10
  182. package/templates/partials/move_thread_modal.tpl +16 -16
  183. package/templates/partials/paginator.tpl +44 -44
  184. package/templates/partials/post_bar.tpl +20 -20
  185. package/templates/partials/posts_list.tpl +7 -7
  186. package/templates/partials/quick-search-results.tpl +30 -30
  187. package/templates/partials/slideout-menu.tpl +26 -26
  188. package/templates/partials/tags_list.tpl +4 -4
  189. package/templates/partials/thread_tools.tpl +7 -7
  190. package/templates/partials/topic/badge.tpl +4 -4
  191. package/templates/partials/topic/browsing-users.tpl +12 -12
  192. package/templates/partials/topic/deleted-message.tpl +10 -10
  193. package/templates/partials/topic/navigation-post.tpl +11 -11
  194. package/templates/partials/topic/navigator.tpl +31 -31
  195. package/templates/partials/topic/necro-post.tpl +2 -2
  196. package/templates/partials/topic/post-menu.tpl +4 -4
  197. package/templates/partials/topic/post.tpl +104 -104
  198. package/templates/partials/topic/quickreply.tpl +20 -20
  199. package/templates/partials/topic/reply-button.tpl +26 -26
  200. package/templates/partials/topic/selection-tooltip.tpl +2 -2
  201. package/templates/partials/topic/sort.tpl +9 -9
  202. package/templates/partials/topic/stats.tpl +11 -11
  203. package/templates/partials/topic/tags.tpl +4 -4
  204. package/templates/partials/topic/watch.tpl +20 -20
  205. package/templates/partials/users_list.tpl +39 -39
  206. package/templates/partials/users_list_menu.tpl +10 -10
  207. package/templates/popular.tpl +61 -61
  208. package/templates/post-queue.tpl +75 -75
  209. package/templates/recent.tpl +51 -51
  210. package/templates/reset.tpl +23 -23
  211. package/templates/reset_code.tpl +41 -41
  212. package/templates/tag.tpl +35 -35
  213. package/templates/tags.tpl +30 -30
  214. package/templates/top.tpl +61 -61
  215. package/templates/tos.tpl +4 -4
  216. package/templates/unread.tpl +49 -49
  217. package/templates/unsubscribe.tpl +6 -6
  218. package/templates/users.tpl +47 -47
  219. package/theme.json +6 -6
  220. package/theme.less +1 -1
@@ -1,84 +1,84 @@
1
- //
2
- // Grid system
3
- // --------------------------------------------------
4
-
5
-
6
- // Container widths
7
- //
8
- // Set the container width, and override it for fixed navbars in media queries.
9
-
10
- .container {
11
- .container-fixed();
12
-
13
- @media (min-width: @screen-sm-min) {
14
- width: @container-sm;
15
- }
16
- @media (min-width: @screen-md-min) {
17
- width: @container-md;
18
- }
19
- @media (min-width: @screen-lg-min) {
20
- width: @container-lg;
21
- }
22
- }
23
-
24
-
25
- // Fluid container
26
- //
27
- // Utilizes the mixin meant for fixed width containers, but without any defined
28
- // width for fluid, full width layouts.
29
-
30
- .container-fluid {
31
- .container-fixed();
32
- }
33
-
34
-
35
- // Row
36
- //
37
- // Rows contain and clear the floats of your columns.
38
-
39
- .row {
40
- .make-row();
41
- }
42
-
43
-
44
- // Columns
45
- //
46
- // Common styles for small and large grid columns
47
-
48
- .make-grid-columns();
49
-
50
-
51
- // Extra small grid
52
- //
53
- // Columns, offsets, pushes, and pulls for extra small devices like
54
- // smartphones.
55
-
56
- .make-grid(xs);
57
-
58
-
59
- // Small grid
60
- //
61
- // Columns, offsets, pushes, and pulls for the small device range, from phones
62
- // to tablets.
63
-
64
- @media (min-width: @screen-sm-min) {
65
- .make-grid(sm);
66
- }
67
-
68
-
69
- // Medium grid
70
- //
71
- // Columns, offsets, pushes, and pulls for the desktop device range.
72
-
73
- @media (min-width: @screen-md-min) {
74
- .make-grid(md);
75
- }
76
-
77
-
78
- // Large grid
79
- //
80
- // Columns, offsets, pushes, and pulls for the large desktop device range.
81
-
82
- @media (min-width: @screen-lg-min) {
83
- .make-grid(lg);
84
- }
1
+ //
2
+ // Grid system
3
+ // --------------------------------------------------
4
+
5
+
6
+ // Container widths
7
+ //
8
+ // Set the container width, and override it for fixed navbars in media queries.
9
+
10
+ .container {
11
+ .container-fixed();
12
+
13
+ @media (min-width: @screen-sm-min) {
14
+ width: @container-sm;
15
+ }
16
+ @media (min-width: @screen-md-min) {
17
+ width: @container-md;
18
+ }
19
+ @media (min-width: @screen-lg-min) {
20
+ width: @container-lg;
21
+ }
22
+ }
23
+
24
+
25
+ // Fluid container
26
+ //
27
+ // Utilizes the mixin meant for fixed width containers, but without any defined
28
+ // width for fluid, full width layouts.
29
+
30
+ .container-fluid {
31
+ .container-fixed();
32
+ }
33
+
34
+
35
+ // Row
36
+ //
37
+ // Rows contain and clear the floats of your columns.
38
+
39
+ .row {
40
+ .make-row();
41
+ }
42
+
43
+
44
+ // Columns
45
+ //
46
+ // Common styles for small and large grid columns
47
+
48
+ .make-grid-columns();
49
+
50
+
51
+ // Extra small grid
52
+ //
53
+ // Columns, offsets, pushes, and pulls for extra small devices like
54
+ // smartphones.
55
+
56
+ .make-grid(xs);
57
+
58
+
59
+ // Small grid
60
+ //
61
+ // Columns, offsets, pushes, and pulls for the small device range, from phones
62
+ // to tablets.
63
+
64
+ @media (min-width: @screen-sm-min) {
65
+ .make-grid(sm);
66
+ }
67
+
68
+
69
+ // Medium grid
70
+ //
71
+ // Columns, offsets, pushes, and pulls for the desktop device range.
72
+
73
+ @media (min-width: @screen-md-min) {
74
+ .make-grid(md);
75
+ }
76
+
77
+
78
+ // Large grid
79
+ //
80
+ // Columns, offsets, pushes, and pulls for the large desktop device range.
81
+
82
+ @media (min-width: @screen-lg-min) {
83
+ .make-grid(lg);
84
+ }
@@ -1,166 +1,166 @@
1
- //
2
- // Input groups
3
- // --------------------------------------------------
4
-
5
- // Base styles
6
- // -------------------------
7
- .input-group {
8
- position: relative; // For dropdowns
9
- display: table;
10
- border-collapse: separate; // prevent input groups from inheriting border styles from table cells when placed within a table
11
-
12
- // Undo padding and float of grid classes
13
- &[class*="col-"] {
14
- float: none;
15
- padding-left: 0;
16
- padding-right: 0;
17
- }
18
-
19
- .form-control {
20
- // Ensure that the input is always above the *appended* addon button for
21
- // proper border colors.
22
- position: relative;
23
- z-index: 2;
24
-
25
- // IE9 fubars the placeholder attribute in text inputs and the arrows on
26
- // select elements in input groups. To fix it, we float the input. Details:
27
- // https://github.com/twbs/bootstrap/issues/11561#issuecomment-28936855
28
- float: left;
29
-
30
- width: 100%;
31
- margin-bottom: 0;
32
- }
33
- }
34
-
35
- // Sizing options
36
- //
37
- // Remix the default form control sizing classes into new ones for easier
38
- // manipulation.
39
-
40
- .input-group-lg > .form-control,
41
- .input-group-lg > .input-group-addon,
42
- .input-group-lg > .input-group-btn > .btn {
43
- .input-lg();
44
- }
45
- .input-group-sm > .form-control,
46
- .input-group-sm > .input-group-addon,
47
- .input-group-sm > .input-group-btn > .btn {
48
- .input-sm();
49
- }
50
-
51
-
52
- // Display as table-cell
53
- // -------------------------
54
- .input-group-addon,
55
- .input-group-btn,
56
- .input-group .form-control {
57
- display: table-cell;
58
-
59
- &:not(:first-child):not(:last-child) {
60
- border-radius: 0;
61
- }
62
- }
63
- // Addon and addon wrapper for buttons
64
- .input-group-addon,
65
- .input-group-btn {
66
- width: 1%;
67
- white-space: nowrap;
68
- vertical-align: middle; // Match the inputs
69
- }
70
-
71
- // Text input groups
72
- // -------------------------
73
- .input-group-addon {
74
- padding: @padding-base-vertical @padding-base-horizontal;
75
- font-size: @font-size-base;
76
- font-weight: normal;
77
- line-height: 1;
78
- color: @input-color;
79
- text-align: center;
80
- background-color: @input-group-addon-bg;
81
- border: 1px solid @input-group-addon-border-color;
82
- border-radius: @border-radius-base;
83
-
84
- // Sizing
85
- &.input-sm {
86
- padding: @padding-small-vertical @padding-small-horizontal;
87
- font-size: @font-size-small;
88
- border-radius: @border-radius-small;
89
- }
90
- &.input-lg {
91
- padding: @padding-large-vertical @padding-large-horizontal;
92
- font-size: @font-size-large;
93
- border-radius: @border-radius-large;
94
- }
95
-
96
- // Nuke default margins from checkboxes and radios to vertically center within.
97
- input[type="radio"],
98
- input[type="checkbox"] {
99
- margin-top: 0;
100
- }
101
- }
102
-
103
- // Reset rounded corners
104
- .input-group .form-control:first-child,
105
- .input-group-addon:first-child,
106
- .input-group-btn:first-child > .btn,
107
- .input-group-btn:first-child > .btn-group > .btn,
108
- .input-group-btn:first-child > .dropdown-toggle,
109
- .input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle),
110
- .input-group-btn:last-child > .btn-group:not(:last-child) > .btn {
111
- .border-right-radius(0);
112
- }
113
- .input-group-addon:first-child {
114
- border-right: 0;
115
- }
116
- .input-group .form-control:last-child,
117
- .input-group-addon:last-child,
118
- .input-group-btn:last-child > .btn,
119
- .input-group-btn:last-child > .btn-group > .btn,
120
- .input-group-btn:last-child > .dropdown-toggle,
121
- .input-group-btn:first-child > .btn:not(:first-child),
122
- .input-group-btn:first-child > .btn-group:not(:first-child) > .btn {
123
- .border-left-radius(0);
124
- }
125
- .input-group-addon:last-child {
126
- border-left: 0;
127
- }
128
-
129
- // Button input groups
130
- // -------------------------
131
- .input-group-btn {
132
- position: relative;
133
- // Jankily prevent input button groups from wrapping with `white-space` and
134
- // `font-size` in combination with `inline-block` on buttons.
135
- font-size: 0;
136
- white-space: nowrap;
137
-
138
- // Negative margin for spacing, position for bringing hovered/focused/actived
139
- // element above the siblings.
140
- > .btn {
141
- position: relative;
142
- + .btn {
143
- margin-left: -1px;
144
- }
145
- // Bring the "active" button to the front
146
- &:hover,
147
- &:focus,
148
- &:active {
149
- z-index: 2;
150
- }
151
- }
152
-
153
- // Negative margin to only have a 1px border between the two
154
- &:first-child {
155
- > .btn,
156
- > .btn-group {
157
- margin-right: -1px;
158
- }
159
- }
160
- &:last-child {
161
- > .btn,
162
- > .btn-group {
163
- margin-left: -1px;
164
- }
165
- }
166
- }
1
+ //
2
+ // Input groups
3
+ // --------------------------------------------------
4
+
5
+ // Base styles
6
+ // -------------------------
7
+ .input-group {
8
+ position: relative; // For dropdowns
9
+ display: table;
10
+ border-collapse: separate; // prevent input groups from inheriting border styles from table cells when placed within a table
11
+
12
+ // Undo padding and float of grid classes
13
+ &[class*="col-"] {
14
+ float: none;
15
+ padding-left: 0;
16
+ padding-right: 0;
17
+ }
18
+
19
+ .form-control {
20
+ // Ensure that the input is always above the *appended* addon button for
21
+ // proper border colors.
22
+ position: relative;
23
+ z-index: 2;
24
+
25
+ // IE9 fubars the placeholder attribute in text inputs and the arrows on
26
+ // select elements in input groups. To fix it, we float the input. Details:
27
+ // https://github.com/twbs/bootstrap/issues/11561#issuecomment-28936855
28
+ float: left;
29
+
30
+ width: 100%;
31
+ margin-bottom: 0;
32
+ }
33
+ }
34
+
35
+ // Sizing options
36
+ //
37
+ // Remix the default form control sizing classes into new ones for easier
38
+ // manipulation.
39
+
40
+ .input-group-lg > .form-control,
41
+ .input-group-lg > .input-group-addon,
42
+ .input-group-lg > .input-group-btn > .btn {
43
+ .input-lg();
44
+ }
45
+ .input-group-sm > .form-control,
46
+ .input-group-sm > .input-group-addon,
47
+ .input-group-sm > .input-group-btn > .btn {
48
+ .input-sm();
49
+ }
50
+
51
+
52
+ // Display as table-cell
53
+ // -------------------------
54
+ .input-group-addon,
55
+ .input-group-btn,
56
+ .input-group .form-control {
57
+ display: table-cell;
58
+
59
+ &:not(:first-child):not(:last-child) {
60
+ border-radius: 0;
61
+ }
62
+ }
63
+ // Addon and addon wrapper for buttons
64
+ .input-group-addon,
65
+ .input-group-btn {
66
+ width: 1%;
67
+ white-space: nowrap;
68
+ vertical-align: middle; // Match the inputs
69
+ }
70
+
71
+ // Text input groups
72
+ // -------------------------
73
+ .input-group-addon {
74
+ padding: @padding-base-vertical @padding-base-horizontal;
75
+ font-size: @font-size-base;
76
+ font-weight: normal;
77
+ line-height: 1;
78
+ color: @input-color;
79
+ text-align: center;
80
+ background-color: @input-group-addon-bg;
81
+ border: 1px solid @input-group-addon-border-color;
82
+ border-radius: @border-radius-base;
83
+
84
+ // Sizing
85
+ &.input-sm {
86
+ padding: @padding-small-vertical @padding-small-horizontal;
87
+ font-size: @font-size-small;
88
+ border-radius: @border-radius-small;
89
+ }
90
+ &.input-lg {
91
+ padding: @padding-large-vertical @padding-large-horizontal;
92
+ font-size: @font-size-large;
93
+ border-radius: @border-radius-large;
94
+ }
95
+
96
+ // Nuke default margins from checkboxes and radios to vertically center within.
97
+ input[type="radio"],
98
+ input[type="checkbox"] {
99
+ margin-top: 0;
100
+ }
101
+ }
102
+
103
+ // Reset rounded corners
104
+ .input-group .form-control:first-child,
105
+ .input-group-addon:first-child,
106
+ .input-group-btn:first-child > .btn,
107
+ .input-group-btn:first-child > .btn-group > .btn,
108
+ .input-group-btn:first-child > .dropdown-toggle,
109
+ .input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle),
110
+ .input-group-btn:last-child > .btn-group:not(:last-child) > .btn {
111
+ .border-right-radius(0);
112
+ }
113
+ .input-group-addon:first-child {
114
+ border-right: 0;
115
+ }
116
+ .input-group .form-control:last-child,
117
+ .input-group-addon:last-child,
118
+ .input-group-btn:last-child > .btn,
119
+ .input-group-btn:last-child > .btn-group > .btn,
120
+ .input-group-btn:last-child > .dropdown-toggle,
121
+ .input-group-btn:first-child > .btn:not(:first-child),
122
+ .input-group-btn:first-child > .btn-group:not(:first-child) > .btn {
123
+ .border-left-radius(0);
124
+ }
125
+ .input-group-addon:last-child {
126
+ border-left: 0;
127
+ }
128
+
129
+ // Button input groups
130
+ // -------------------------
131
+ .input-group-btn {
132
+ position: relative;
133
+ // Jankily prevent input button groups from wrapping with `white-space` and
134
+ // `font-size` in combination with `inline-block` on buttons.
135
+ font-size: 0;
136
+ white-space: nowrap;
137
+
138
+ // Negative margin for spacing, position for bringing hovered/focused/actived
139
+ // element above the siblings.
140
+ > .btn {
141
+ position: relative;
142
+ + .btn {
143
+ margin-left: -1px;
144
+ }
145
+ // Bring the "active" button to the front
146
+ &:hover,
147
+ &:focus,
148
+ &:active {
149
+ z-index: 2;
150
+ }
151
+ }
152
+
153
+ // Negative margin to only have a 1px border between the two
154
+ &:first-child {
155
+ > .btn,
156
+ > .btn-group {
157
+ margin-right: -1px;
158
+ }
159
+ }
160
+ &:last-child {
161
+ > .btn,
162
+ > .btn-group {
163
+ margin-left: -1px;
164
+ }
165
+ }
166
+ }
@@ -1,50 +1,50 @@
1
- //
2
- // Jumbotron
3
- // --------------------------------------------------
4
-
5
-
6
- .jumbotron {
7
- padding: @jumbotron-padding (@jumbotron-padding / 2);
8
- margin-bottom: @jumbotron-padding;
9
- color: @jumbotron-color;
10
- background-color: @jumbotron-bg;
11
-
12
- h1,
13
- .h1 {
14
- color: @jumbotron-heading-color;
15
- }
16
-
17
- p {
18
- margin-bottom: (@jumbotron-padding / 2);
19
- font-size: @jumbotron-font-size;
20
- font-weight: 200;
21
- }
22
-
23
- > hr {
24
- border-top-color: darken(@jumbotron-bg, 10%);
25
- }
26
-
27
- .container &,
28
- .container-fluid & {
29
- border-radius: @border-radius-large; // Only round corners at higher resolutions if contained in a container
30
- }
31
-
32
- .container {
33
- max-width: 100%;
34
- }
35
-
36
- @media screen and (min-width: @screen-sm-min) {
37
- padding: (@jumbotron-padding * 1.6) 0;
38
-
39
- .container &,
40
- .container-fluid & {
41
- padding-left: (@jumbotron-padding * 2);
42
- padding-right: (@jumbotron-padding * 2);
43
- }
44
-
45
- h1,
46
- .h1 {
47
- font-size: (@font-size-base * 4.5);
48
- }
49
- }
50
- }
1
+ //
2
+ // Jumbotron
3
+ // --------------------------------------------------
4
+
5
+
6
+ .jumbotron {
7
+ padding: @jumbotron-padding (@jumbotron-padding / 2);
8
+ margin-bottom: @jumbotron-padding;
9
+ color: @jumbotron-color;
10
+ background-color: @jumbotron-bg;
11
+
12
+ h1,
13
+ .h1 {
14
+ color: @jumbotron-heading-color;
15
+ }
16
+
17
+ p {
18
+ margin-bottom: (@jumbotron-padding / 2);
19
+ font-size: @jumbotron-font-size;
20
+ font-weight: 200;
21
+ }
22
+
23
+ > hr {
24
+ border-top-color: darken(@jumbotron-bg, 10%);
25
+ }
26
+
27
+ .container &,
28
+ .container-fluid & {
29
+ border-radius: @border-radius-large; // Only round corners at higher resolutions if contained in a container
30
+ }
31
+
32
+ .container {
33
+ max-width: 100%;
34
+ }
35
+
36
+ @media screen and (min-width: @screen-sm-min) {
37
+ padding: (@jumbotron-padding * 1.6) 0;
38
+
39
+ .container &,
40
+ .container-fluid & {
41
+ padding-left: (@jumbotron-padding * 2);
42
+ padding-right: (@jumbotron-padding * 2);
43
+ }
44
+
45
+ h1,
46
+ .h1 {
47
+ font-size: (@font-size-base * 4.5);
48
+ }
49
+ }
50
+ }