nodebb-theme-persona 11.2.19 → 11.3.0

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 (223) 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 +2 -2
  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/category.less +1 -1
  86. package/less/chats.less +622 -622
  87. package/less/flags.less +42 -42
  88. package/less/footer.less +17 -17
  89. package/less/groups.less +201 -201
  90. package/less/ip-blacklist.less +6 -6
  91. package/less/keyframes.less +152 -152
  92. package/less/mixins.less +0 -7
  93. package/less/mobile.less +291 -291
  94. package/less/modules/composer-default.less +16 -16
  95. package/less/modules/cookie-consent.less +12 -12
  96. package/less/modules/fab.less +32 -32
  97. package/less/modules/morph.less +268 -268
  98. package/less/modules/necro-post.less +8 -8
  99. package/less/modules/nprogress.less +80 -80
  100. package/less/modules/usercard.less +64 -64
  101. package/less/noscript.less +82 -82
  102. package/less/notifications.less +37 -37
  103. package/less/outgoing.less +8 -8
  104. package/less/persona.less +47 -47
  105. package/less/post-queue.less +19 -19
  106. package/less/register.less +75 -75
  107. package/less/rtl.less +132 -132
  108. package/less/style.less +303 -303
  109. package/less/tags.less +36 -36
  110. package/less/topic.less +2 -2
  111. package/less/topics_list.less +15 -15
  112. package/less/users.less +72 -72
  113. package/less/variables.less +6 -6
  114. package/package.json +1 -1
  115. package/public/.eslintrc +2 -2
  116. package/public/admin.js +23 -23
  117. package/public/modules/autohidingnavbar.js +220 -220
  118. package/public/persona.js +12 -4
  119. package/templates/account/blocks.tpl +34 -34
  120. package/templates/account/categories.tpl +28 -28
  121. package/templates/account/consent.tpl +68 -68
  122. package/templates/account/edit/email.tpl +30 -30
  123. package/templates/account/edit/password.tpl +31 -31
  124. package/templates/account/edit/username.tpl +29 -29
  125. package/templates/account/followers.tpl +16 -16
  126. package/templates/account/following.tpl +16 -16
  127. package/templates/account/groups.tpl +16 -16
  128. package/templates/account/info.tpl +187 -187
  129. package/templates/account/posts.tpl +18 -18
  130. package/templates/account/sessions.tpl +31 -31
  131. package/templates/account/topics.tpl +30 -30
  132. package/templates/account/uploads.tpl +42 -42
  133. package/templates/admin/plugins/persona.tpl +28 -28
  134. package/templates/alert.tpl +15 -15
  135. package/templates/categories.tpl +31 -31
  136. package/templates/category.tpl +62 -62
  137. package/templates/chats.tpl +15 -15
  138. package/templates/flags/list.tpl +71 -71
  139. package/templates/footer.tpl +18 -18
  140. package/templates/groups/details.tpl +272 -272
  141. package/templates/groups/list.tpl +46 -46
  142. package/templates/groups/members.tpl +8 -8
  143. package/templates/ip-blacklist.tpl +55 -55
  144. package/templates/login.tpl +90 -90
  145. package/templates/modules/taskbar.tpl +2 -2
  146. package/templates/modules/usercard.tpl +36 -36
  147. package/templates/notifications.tpl +64 -64
  148. package/templates/partials/acceptTos.tpl +8 -8
  149. package/templates/partials/account/category-item.tpl +22 -22
  150. package/templates/partials/account/header.tpl +46 -46
  151. package/templates/partials/breadcrumbs.tpl +18 -18
  152. package/templates/partials/buttons/newTopic.tpl +15 -15
  153. package/templates/partials/categories/item.tpl +46 -46
  154. package/templates/partials/categories/lastpost.tpl +26 -26
  155. package/templates/partials/categories/link.tpl +10 -10
  156. package/templates/partials/category/sort.tpl +14 -14
  157. package/templates/partials/category/subcategory.tpl +17 -17
  158. package/templates/partials/category/tags.tpl +4 -4
  159. package/templates/partials/category/tools.tpl +80 -80
  160. package/templates/partials/category/watch.tpl +22 -22
  161. package/templates/partials/category-filter-content.tpl +18 -18
  162. package/templates/partials/category-filter-right.tpl +2 -2
  163. package/templates/partials/category-filter.tpl +2 -2
  164. package/templates/partials/category-selector-right.tpl +2 -2
  165. package/templates/partials/category-selector.tpl +2 -2
  166. package/templates/partials/change_owner_modal.tpl +22 -22
  167. package/templates/partials/chats/dropdown.tpl +33 -33
  168. package/templates/partials/chats/messages.tpl +6 -6
  169. package/templates/partials/chats/recent_room.tpl +24 -24
  170. package/templates/partials/chats-menu.tpl +10 -10
  171. package/templates/partials/cookie-consent.tpl +4 -4
  172. package/templates/partials/delete_posts_modal.tpl +18 -18
  173. package/templates/partials/fork_thread_modal.tpl +21 -21
  174. package/templates/partials/groups/list.tpl +20 -20
  175. package/templates/partials/groups/memberlist.tpl +39 -39
  176. package/templates/partials/menu.tpl +238 -230
  177. package/templates/partials/merge_topics_modal.tpl +57 -57
  178. package/templates/partials/modals/flag_modal.tpl +44 -44
  179. package/templates/partials/modals/manage_room.tpl +10 -10
  180. package/templates/partials/modals/manage_room_users.tpl +6 -6
  181. package/templates/partials/modals/post_history.tpl +36 -36
  182. package/templates/partials/modals/rename_room.tpl +3 -3
  183. package/templates/partials/modals/votes_modal.tpl +10 -10
  184. package/templates/partials/move_thread_modal.tpl +16 -16
  185. package/templates/partials/paginator.tpl +44 -44
  186. package/templates/partials/post_bar.tpl +20 -20
  187. package/templates/partials/posts_list.tpl +7 -7
  188. package/templates/partials/quick-search-results.tpl +30 -30
  189. package/templates/partials/slideout-menu.tpl +26 -26
  190. package/templates/partials/tags_list.tpl +4 -4
  191. package/templates/partials/thread_tools.tpl +7 -7
  192. package/templates/partials/topic/badge.tpl +4 -4
  193. package/templates/partials/topic/browsing-users.tpl +12 -12
  194. package/templates/partials/topic/deleted-message.tpl +10 -10
  195. package/templates/partials/topic/navigation-post.tpl +11 -11
  196. package/templates/partials/topic/navigator.tpl +31 -31
  197. package/templates/partials/topic/necro-post.tpl +2 -2
  198. package/templates/partials/topic/post-menu.tpl +4 -4
  199. package/templates/partials/topic/post.tpl +104 -104
  200. package/templates/partials/topic/quickreply.tpl +20 -20
  201. package/templates/partials/topic/reply-button.tpl +26 -26
  202. package/templates/partials/topic/selection-tooltip.tpl +2 -2
  203. package/templates/partials/topic/sort.tpl +9 -9
  204. package/templates/partials/topic/stats.tpl +11 -11
  205. package/templates/partials/topic/tags.tpl +4 -4
  206. package/templates/partials/topic/watch.tpl +20 -20
  207. package/templates/partials/users_list.tpl +39 -39
  208. package/templates/partials/users_list_menu.tpl +10 -10
  209. package/templates/popular.tpl +61 -61
  210. package/templates/post-queue.tpl +75 -75
  211. package/templates/recent.tpl +51 -51
  212. package/templates/reset.tpl +23 -23
  213. package/templates/reset_code.tpl +41 -41
  214. package/templates/tag.tpl +35 -35
  215. package/templates/tags.tpl +30 -30
  216. package/templates/top.tpl +61 -61
  217. package/templates/topic.tpl +1 -1
  218. package/templates/tos.tpl +4 -4
  219. package/templates/unread.tpl +49 -49
  220. package/templates/unsubscribe.tpl +6 -6
  221. package/templates/users.tpl +47 -47
  222. package/theme.json +6 -6
  223. package/theme.less +1 -1
@@ -1,39 +1,39 @@
1
- // Mixins
2
- // --------------------------------------------------
3
-
4
- // Utilities
5
- @import "mixins/hide-text.less";
6
- @import "mixins/opacity.less";
7
- @import "mixins/image.less";
8
- @import "mixins/labels.less";
9
- @import "mixins/reset-filter.less";
10
- @import "mixins/resize.less";
11
- @import "mixins/responsive-visibility.less";
12
- @import "mixins/size.less";
13
- @import "mixins/tab-focus.less";
14
- @import "mixins/text-emphasis.less";
15
- @import "mixins/text-overflow.less";
16
- @import "mixins/vendor-prefixes.less";
17
-
18
- // Components
19
- @import "mixins/alerts.less";
20
- @import "mixins/buttons.less";
21
- @import "mixins/panels.less";
22
- @import "mixins/pagination.less";
23
- @import "mixins/list-group.less";
24
- @import "mixins/nav-divider.less";
25
- @import "mixins/forms.less";
26
- @import "mixins/progress-bar.less";
27
- @import "mixins/table-row.less";
28
-
29
- // Skins
30
- @import "mixins/background-variant.less";
31
- @import "mixins/border-radius.less";
32
- @import "mixins/gradients.less";
33
-
34
- // Layout
35
- @import "mixins/clearfix.less";
36
- @import "mixins/center-block.less";
37
- @import "mixins/nav-vertical-align.less";
38
- @import "mixins/grid-framework.less";
39
- @import "mixins/grid.less";
1
+ // Mixins
2
+ // --------------------------------------------------
3
+
4
+ // Utilities
5
+ @import "mixins/hide-text.less";
6
+ @import "mixins/opacity.less";
7
+ @import "mixins/image.less";
8
+ @import "mixins/labels.less";
9
+ @import "mixins/reset-filter.less";
10
+ @import "mixins/resize.less";
11
+ @import "mixins/responsive-visibility.less";
12
+ @import "mixins/size.less";
13
+ @import "mixins/tab-focus.less";
14
+ @import "mixins/text-emphasis.less";
15
+ @import "mixins/text-overflow.less";
16
+ @import "mixins/vendor-prefixes.less";
17
+
18
+ // Components
19
+ @import "mixins/alerts.less";
20
+ @import "mixins/buttons.less";
21
+ @import "mixins/panels.less";
22
+ @import "mixins/pagination.less";
23
+ @import "mixins/list-group.less";
24
+ @import "mixins/nav-divider.less";
25
+ @import "mixins/forms.less";
26
+ @import "mixins/progress-bar.less";
27
+ @import "mixins/table-row.less";
28
+
29
+ // Skins
30
+ @import "mixins/background-variant.less";
31
+ @import "mixins/border-radius.less";
32
+ @import "mixins/gradients.less";
33
+
34
+ // Layout
35
+ @import "mixins/clearfix.less";
36
+ @import "mixins/center-block.less";
37
+ @import "mixins/nav-vertical-align.less";
38
+ @import "mixins/grid-framework.less";
39
+ @import "mixins/grid.less";
@@ -1,150 +1,150 @@
1
- //
2
- // Modals
3
- // --------------------------------------------------
4
-
5
- // .modal-open - body class for killing the scroll
6
- // .modal - container to scroll within
7
- // .modal-dialog - positioning shell for the actual modal
8
- // .modal-content - actual modal w/ bg and corners and shit
9
-
10
- // Kill the scroll on the body
11
- .modal-open {
12
- overflow: hidden;
13
- }
14
-
15
- // Container that the modal scrolls within
16
- .modal {
17
- display: none;
18
- overflow: hidden;
19
- position: fixed;
20
- top: 0;
21
- right: 0;
22
- bottom: 0;
23
- left: 0;
24
- z-index: @zindex-modal;
25
- -webkit-overflow-scrolling: touch;
26
-
27
- // Prevent Chrome on Windows from adding a focus outline. For details, see
28
- // https://github.com/twbs/bootstrap/pull/10951.
29
- outline: 0;
30
-
31
- // When fading in the modal, animate it to slide down
32
- &.fade .modal-dialog {
33
- .translate(0, -25%);
34
- .transition-transform(~"0.3s ease-out");
35
- }
36
- &.in .modal-dialog { .translate(0, 0) }
37
- }
38
- .modal-open .modal {
39
- overflow-x: hidden;
40
- overflow-y: auto;
41
- }
42
-
43
- // Shell div to position the modal with bottom padding
44
- .modal-dialog {
45
- position: relative;
46
- width: auto;
47
- margin: 10px;
48
- }
49
-
50
- // Actual modal
51
- .modal-content {
52
- position: relative;
53
- background-color: @modal-content-bg;
54
- border: 1px solid @modal-content-fallback-border-color; //old browsers fallback (ie8 etc)
55
- border: 1px solid @modal-content-border-color;
56
- border-radius: @border-radius-large;
57
- .box-shadow(0 3px 9px rgba(0,0,0,.5));
58
- background-clip: padding-box;
59
- // Remove focus outline from opened modal
60
- outline: 0;
61
- }
62
-
63
- // Modal background
64
- .modal-backdrop {
65
- position: fixed;
66
- top: 0;
67
- right: 0;
68
- bottom: 0;
69
- left: 0;
70
- z-index: @zindex-modal-background;
71
- background-color: @modal-backdrop-bg;
72
- // Fade for backdrop
73
- &.fade { .opacity(0); }
74
- &.in { .opacity(@modal-backdrop-opacity); }
75
- }
76
-
77
- // Modal header
78
- // Top section of the modal w/ title and dismiss
79
- .modal-header {
80
- padding: @modal-title-padding;
81
- border-bottom: 1px solid @modal-header-border-color;
82
- min-height: (@modal-title-padding + @modal-title-line-height);
83
- }
84
- // Close icon
85
- .modal-header .close {
86
- margin-top: -2px;
87
- }
88
-
89
- // Title text within header
90
- .modal-title {
91
- margin: 0;
92
- line-height: @modal-title-line-height;
93
- }
94
-
95
- // Modal body
96
- // Where all modal content resides (sibling of .modal-header and .modal-footer)
97
- .modal-body {
98
- position: relative;
99
- padding: @modal-inner-padding;
100
- }
101
-
102
- // Footer (for actions)
103
- .modal-footer {
104
- padding: @modal-inner-padding;
105
- text-align: right; // right align buttons
106
- border-top: 1px solid @modal-footer-border-color;
107
- &:extend(.clearfix all); // clear it in case folks use .pull-* classes on buttons
108
-
109
- // Properly space out buttons
110
- .btn + .btn {
111
- margin-left: 5px;
112
- margin-bottom: 0; // account for input[type="submit"] which gets the bottom margin like all other inputs
113
- }
114
- // but override that for button groups
115
- .btn-group .btn + .btn {
116
- margin-left: -1px;
117
- }
118
- // and override it for block buttons as well
119
- .btn-block + .btn-block {
120
- margin-left: 0;
121
- }
122
- }
123
-
124
- // Measure scrollbar width for padding body during modal show/hide
125
- .modal-scrollbar-measure {
126
- position: absolute;
127
- top: -9999px;
128
- width: 50px;
129
- height: 50px;
130
- overflow: scroll;
131
- }
132
-
133
- // Scale up the modal
134
- @media (min-width: @screen-sm-min) {
135
- // Automatically set modal's width for larger viewports
136
- .modal-dialog {
137
- width: @modal-md;
138
- margin: 30px auto;
139
- }
140
- .modal-content {
141
- .box-shadow(0 5px 15px rgba(0,0,0,.5));
142
- }
143
-
144
- // Modal sizes
145
- .modal-sm { width: @modal-sm; }
146
- }
147
-
148
- @media (min-width: @screen-md-min) {
149
- .modal-lg { width: @modal-lg; }
150
- }
1
+ //
2
+ // Modals
3
+ // --------------------------------------------------
4
+
5
+ // .modal-open - body class for killing the scroll
6
+ // .modal - container to scroll within
7
+ // .modal-dialog - positioning shell for the actual modal
8
+ // .modal-content - actual modal w/ bg and corners and shit
9
+
10
+ // Kill the scroll on the body
11
+ .modal-open {
12
+ overflow: hidden;
13
+ }
14
+
15
+ // Container that the modal scrolls within
16
+ .modal {
17
+ display: none;
18
+ overflow: hidden;
19
+ position: fixed;
20
+ top: 0;
21
+ right: 0;
22
+ bottom: 0;
23
+ left: 0;
24
+ z-index: @zindex-modal;
25
+ -webkit-overflow-scrolling: touch;
26
+
27
+ // Prevent Chrome on Windows from adding a focus outline. For details, see
28
+ // https://github.com/twbs/bootstrap/pull/10951.
29
+ outline: 0;
30
+
31
+ // When fading in the modal, animate it to slide down
32
+ &.fade .modal-dialog {
33
+ .translate(0, -25%);
34
+ .transition-transform(~"0.3s ease-out");
35
+ }
36
+ &.in .modal-dialog { .translate(0, 0) }
37
+ }
38
+ .modal-open .modal {
39
+ overflow-x: hidden;
40
+ overflow-y: auto;
41
+ }
42
+
43
+ // Shell div to position the modal with bottom padding
44
+ .modal-dialog {
45
+ position: relative;
46
+ width: auto;
47
+ margin: 10px;
48
+ }
49
+
50
+ // Actual modal
51
+ .modal-content {
52
+ position: relative;
53
+ background-color: @modal-content-bg;
54
+ border: 1px solid @modal-content-fallback-border-color; //old browsers fallback (ie8 etc)
55
+ border: 1px solid @modal-content-border-color;
56
+ border-radius: @border-radius-large;
57
+ .box-shadow(0 3px 9px rgba(0,0,0,.5));
58
+ background-clip: padding-box;
59
+ // Remove focus outline from opened modal
60
+ outline: 0;
61
+ }
62
+
63
+ // Modal background
64
+ .modal-backdrop {
65
+ position: fixed;
66
+ top: 0;
67
+ right: 0;
68
+ bottom: 0;
69
+ left: 0;
70
+ z-index: @zindex-modal-background;
71
+ background-color: @modal-backdrop-bg;
72
+ // Fade for backdrop
73
+ &.fade { .opacity(0); }
74
+ &.in { .opacity(@modal-backdrop-opacity); }
75
+ }
76
+
77
+ // Modal header
78
+ // Top section of the modal w/ title and dismiss
79
+ .modal-header {
80
+ padding: @modal-title-padding;
81
+ border-bottom: 1px solid @modal-header-border-color;
82
+ min-height: (@modal-title-padding + @modal-title-line-height);
83
+ }
84
+ // Close icon
85
+ .modal-header .close {
86
+ margin-top: -2px;
87
+ }
88
+
89
+ // Title text within header
90
+ .modal-title {
91
+ margin: 0;
92
+ line-height: @modal-title-line-height;
93
+ }
94
+
95
+ // Modal body
96
+ // Where all modal content resides (sibling of .modal-header and .modal-footer)
97
+ .modal-body {
98
+ position: relative;
99
+ padding: @modal-inner-padding;
100
+ }
101
+
102
+ // Footer (for actions)
103
+ .modal-footer {
104
+ padding: @modal-inner-padding;
105
+ text-align: right; // right align buttons
106
+ border-top: 1px solid @modal-footer-border-color;
107
+ &:extend(.clearfix all); // clear it in case folks use .pull-* classes on buttons
108
+
109
+ // Properly space out buttons
110
+ .btn + .btn {
111
+ margin-left: 5px;
112
+ margin-bottom: 0; // account for input[type="submit"] which gets the bottom margin like all other inputs
113
+ }
114
+ // but override that for button groups
115
+ .btn-group .btn + .btn {
116
+ margin-left: -1px;
117
+ }
118
+ // and override it for block buttons as well
119
+ .btn-block + .btn-block {
120
+ margin-left: 0;
121
+ }
122
+ }
123
+
124
+ // Measure scrollbar width for padding body during modal show/hide
125
+ .modal-scrollbar-measure {
126
+ position: absolute;
127
+ top: -9999px;
128
+ width: 50px;
129
+ height: 50px;
130
+ overflow: scroll;
131
+ }
132
+
133
+ // Scale up the modal
134
+ @media (min-width: @screen-sm-min) {
135
+ // Automatically set modal's width for larger viewports
136
+ .modal-dialog {
137
+ width: @modal-md;
138
+ margin: 30px auto;
139
+ }
140
+ .modal-content {
141
+ .box-shadow(0 5px 15px rgba(0,0,0,.5));
142
+ }
143
+
144
+ // Modal sizes
145
+ .modal-sm { width: @modal-sm; }
146
+ }
147
+
148
+ @media (min-width: @screen-md-min) {
149
+ .modal-lg { width: @modal-lg; }
150
+ }