nodebb-theme-persona 12.0.0 → 12.0.3

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/bootstrap/.csscomb.json +297 -297
  11. package/less/bootstrap/.csslintrc +19 -19
  12. package/less/bootstrap/alerts.less +73 -73
  13. package/less/bootstrap/badges.less +66 -66
  14. package/less/bootstrap/bootstrap.less +50 -50
  15. package/less/bootstrap/breadcrumbs.less +26 -26
  16. package/less/bootstrap/button-groups.less +243 -243
  17. package/less/bootstrap/buttons.less +160 -160
  18. package/less/bootstrap/carousel.less +269 -269
  19. package/less/bootstrap/close.less +34 -34
  20. package/less/bootstrap/code.less +69 -69
  21. package/less/bootstrap/component-animations.less +33 -33
  22. package/less/bootstrap/forms.less +574 -574
  23. package/less/bootstrap/glyphicons.less +305 -305
  24. package/less/bootstrap/grid.less +84 -84
  25. package/less/bootstrap/input-groups.less +166 -166
  26. package/less/bootstrap/jumbotron.less +50 -50
  27. package/less/bootstrap/labels.less +64 -64
  28. package/less/bootstrap/list-group.less +124 -124
  29. package/less/bootstrap/media.less +61 -61
  30. package/less/bootstrap/mixins/alerts.less +14 -14
  31. package/less/bootstrap/mixins/background-variant.less +8 -8
  32. package/less/bootstrap/mixins/border-radius.less +18 -18
  33. package/less/bootstrap/mixins/buttons.less +52 -52
  34. package/less/bootstrap/mixins/center-block.less +7 -7
  35. package/less/bootstrap/mixins/clearfix.less +22 -22
  36. package/less/bootstrap/mixins/forms.less +85 -85
  37. package/less/bootstrap/mixins/gradients.less +59 -59
  38. package/less/bootstrap/mixins/grid-framework.less +91 -91
  39. package/less/bootstrap/mixins/grid.less +122 -122
  40. package/less/bootstrap/mixins/hide-text.less +21 -21
  41. package/less/bootstrap/mixins/image.less +33 -33
  42. package/less/bootstrap/mixins/labels.less +12 -12
  43. package/less/bootstrap/mixins/list-group.less +29 -29
  44. package/less/bootstrap/mixins/nav-divider.less +10 -10
  45. package/less/bootstrap/mixins/nav-vertical-align.less +9 -9
  46. package/less/bootstrap/mixins/opacity.less +8 -8
  47. package/less/bootstrap/mixins/pagination.less +23 -23
  48. package/less/bootstrap/mixins/panels.less +24 -24
  49. package/less/bootstrap/mixins/progress-bar.less +10 -10
  50. package/less/bootstrap/mixins/reset-filter.less +8 -8
  51. package/less/bootstrap/mixins/resize.less +6 -6
  52. package/less/bootstrap/mixins/responsive-visibility.less +15 -15
  53. package/less/bootstrap/mixins/size.less +10 -10
  54. package/less/bootstrap/mixins/tab-focus.less +9 -9
  55. package/less/bootstrap/mixins/table-row.less +28 -28
  56. package/less/bootstrap/mixins/text-emphasis.less +8 -8
  57. package/less/bootstrap/mixins/text-overflow.less +8 -8
  58. package/less/bootstrap/mixins/vendor-prefixes.less +227 -227
  59. package/less/bootstrap/mixins.less +39 -39
  60. package/less/bootstrap/modals.less +150 -150
  61. package/less/bootstrap/navbar.less +660 -660
  62. package/less/bootstrap/navs.less +242 -242
  63. package/less/bootstrap/normalize.less +427 -427
  64. package/less/bootstrap/pager.less +54 -54
  65. package/less/bootstrap/pagination.less +88 -88
  66. package/less/bootstrap/panels.less +265 -265
  67. package/less/bootstrap/popovers.less +135 -135
  68. package/less/bootstrap/print.less +107 -107
  69. package/less/bootstrap/progress-bars.less +87 -87
  70. package/less/bootstrap/responsive-embed.less +35 -35
  71. package/less/bootstrap/responsive-utilities.less +194 -194
  72. package/less/bootstrap/scaffolding.less +161 -161
  73. package/less/bootstrap/tables.less +234 -234
  74. package/less/bootstrap/theme.less +273 -273
  75. package/less/bootstrap/thumbnails.less +36 -36
  76. package/less/bootstrap/tooltip.less +102 -102
  77. package/less/bootstrap/type.less +302 -302
  78. package/less/bootstrap/utilities.less +55 -55
  79. package/less/bootstrap/variables.less +861 -861
  80. package/less/bootstrap/wells.less +29 -29
  81. package/less/bootstrap-flipped.css +1550 -1550
  82. package/less/categories.less +235 -235
  83. package/less/flags.less +42 -42
  84. package/less/footer.less +17 -17
  85. package/less/ip-blacklist.less +6 -6
  86. package/less/keyframes.less +152 -152
  87. package/less/modules/composer-default.less +16 -16
  88. package/less/modules/cookie-consent.less +12 -12
  89. package/less/modules/fab.less +32 -32
  90. package/less/modules/morph.less +268 -268
  91. package/less/modules/necro-post.less +8 -8
  92. package/less/modules/nprogress.less +80 -80
  93. package/less/modules/usercard.less +64 -64
  94. package/less/noscript.less +82 -82
  95. package/less/notifications.less +37 -37
  96. package/less/outgoing.less +8 -8
  97. package/less/persona.less +47 -47
  98. package/less/post-queue.less +19 -19
  99. package/less/register.less +75 -75
  100. package/less/rtl.less +132 -132
  101. package/less/tags.less +36 -36
  102. package/less/users.less +72 -72
  103. package/less/variables.less +6 -6
  104. package/package.json +1 -1
  105. package/public/.eslintrc +2 -2
  106. package/public/modules/autohidingnavbar.js +220 -220
  107. package/templates/account/blocks.tpl +34 -34
  108. package/templates/account/categories.tpl +28 -28
  109. package/templates/account/consent.tpl +68 -68
  110. package/templates/account/edit/email.tpl +30 -30
  111. package/templates/account/edit/password.tpl +31 -31
  112. package/templates/account/edit/username.tpl +29 -29
  113. package/templates/account/followers.tpl +16 -16
  114. package/templates/account/following.tpl +16 -16
  115. package/templates/account/groups.tpl +16 -16
  116. package/templates/account/info.tpl +230 -187
  117. package/templates/account/posts.tpl +18 -18
  118. package/templates/account/sessions.tpl +31 -31
  119. package/templates/account/topics.tpl +30 -30
  120. package/templates/account/uploads.tpl +42 -42
  121. package/templates/admin/plugins/persona.tpl +28 -28
  122. package/templates/alert.tpl +15 -15
  123. package/templates/categories.tpl +31 -31
  124. package/templates/category.tpl +62 -62
  125. package/templates/chats.tpl +16 -16
  126. package/templates/flags/detail.tpl +8 -1
  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/breadcrumbs.tpl +18 -18
  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/browsing-users.tpl +1 -0
  177. package/templates/partials/topic/deleted-message.tpl +10 -10
  178. package/templates/partials/topic/navigation-post.tpl +11 -11
  179. package/templates/partials/topic/necro-post.tpl +2 -2
  180. package/templates/partials/topic/post.tpl +105 -104
  181. package/templates/partials/topic/quickreply.tpl +25 -25
  182. package/templates/partials/topic/reply-button.tpl +26 -26
  183. package/templates/partials/topic/selection-tooltip.tpl +2 -2
  184. package/templates/partials/topic/sort.tpl +9 -9
  185. package/templates/partials/topic/stats.tpl +11 -11
  186. package/templates/partials/topic/tags.tpl +4 -4
  187. package/templates/partials/topic/watch.tpl +20 -20
  188. package/templates/partials/users_list_menu.tpl +10 -10
  189. package/templates/popular.tpl +61 -61
  190. package/templates/post-queue.tpl +18 -0
  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,64 +1,64 @@
1
- //
2
- // Labels
3
- // --------------------------------------------------
4
-
5
- .label {
6
- display: inline;
7
- padding: .2em .6em .3em;
8
- font-size: 75%;
9
- font-weight: bold;
10
- line-height: 1;
11
- color: @label-color;
12
- text-align: center;
13
- white-space: nowrap;
14
- vertical-align: baseline;
15
- border-radius: .25em;
16
-
17
- // Add hover effects, but only for links
18
- a& {
19
- &:hover,
20
- &:focus {
21
- color: @label-link-hover-color;
22
- text-decoration: none;
23
- cursor: pointer;
24
- }
25
- }
26
-
27
- // Empty labels collapse automatically (not available in IE8)
28
- &:empty {
29
- display: none;
30
- }
31
-
32
- // Quick fix for labels in buttons
33
- .btn & {
34
- position: relative;
35
- top: -1px;
36
- }
37
- }
38
-
39
- // Colors
40
- // Contextual variations (linked labels get darker on :hover)
41
-
42
- .label-default {
43
- .label-variant(@label-default-bg);
44
- }
45
-
46
- .label-primary {
47
- .label-variant(@label-primary-bg);
48
- }
49
-
50
- .label-success {
51
- .label-variant(@label-success-bg);
52
- }
53
-
54
- .label-info {
55
- .label-variant(@label-info-bg);
56
- }
57
-
58
- .label-warning {
59
- .label-variant(@label-warning-bg);
60
- }
61
-
62
- .label-danger {
63
- .label-variant(@label-danger-bg);
64
- }
1
+ //
2
+ // Labels
3
+ // --------------------------------------------------
4
+
5
+ .label {
6
+ display: inline;
7
+ padding: .2em .6em .3em;
8
+ font-size: 75%;
9
+ font-weight: bold;
10
+ line-height: 1;
11
+ color: @label-color;
12
+ text-align: center;
13
+ white-space: nowrap;
14
+ vertical-align: baseline;
15
+ border-radius: .25em;
16
+
17
+ // Add hover effects, but only for links
18
+ a& {
19
+ &:hover,
20
+ &:focus {
21
+ color: @label-link-hover-color;
22
+ text-decoration: none;
23
+ cursor: pointer;
24
+ }
25
+ }
26
+
27
+ // Empty labels collapse automatically (not available in IE8)
28
+ &:empty {
29
+ display: none;
30
+ }
31
+
32
+ // Quick fix for labels in buttons
33
+ .btn & {
34
+ position: relative;
35
+ top: -1px;
36
+ }
37
+ }
38
+
39
+ // Colors
40
+ // Contextual variations (linked labels get darker on :hover)
41
+
42
+ .label-default {
43
+ .label-variant(@label-default-bg);
44
+ }
45
+
46
+ .label-primary {
47
+ .label-variant(@label-primary-bg);
48
+ }
49
+
50
+ .label-success {
51
+ .label-variant(@label-success-bg);
52
+ }
53
+
54
+ .label-info {
55
+ .label-variant(@label-info-bg);
56
+ }
57
+
58
+ .label-warning {
59
+ .label-variant(@label-warning-bg);
60
+ }
61
+
62
+ .label-danger {
63
+ .label-variant(@label-danger-bg);
64
+ }
@@ -1,124 +1,124 @@
1
- //
2
- // List groups
3
- // --------------------------------------------------
4
-
5
-
6
- // Base class
7
- //
8
- // Easily usable on <ul>, <ol>, or <div>.
9
-
10
- .list-group {
11
- // No need to set list-style: none; since .list-group-item is block level
12
- margin-bottom: 20px;
13
- padding-left: 0; // reset padding because ul and ol
14
- }
15
-
16
-
17
- // Individual list items
18
- //
19
- // Use on `li`s or `div`s within the `.list-group` parent.
20
-
21
- .list-group-item {
22
- position: relative;
23
- display: block;
24
- padding: 10px 15px;
25
- // Place the border on the list items and negative margin up for better styling
26
- margin-bottom: -1px;
27
- background-color: @list-group-bg;
28
- border: 1px solid @list-group-border;
29
-
30
- // Round the first and last items
31
- &:first-child {
32
- .border-top-radius(@list-group-border-radius);
33
- }
34
- &:last-child {
35
- margin-bottom: 0;
36
- .border-bottom-radius(@list-group-border-radius);
37
- }
38
- }
39
-
40
-
41
- // Linked list items
42
- //
43
- // Use anchor elements instead of `li`s or `div`s to create linked list items.
44
- // Includes an extra `.active` modifier class for showing selected items.
45
-
46
- a.list-group-item {
47
- color: @list-group-link-color;
48
-
49
- .list-group-item-heading {
50
- color: @list-group-link-heading-color;
51
- }
52
-
53
- // Hover state
54
- &:hover,
55
- &:focus {
56
- text-decoration: none;
57
- color: @list-group-link-hover-color;
58
- background-color: @list-group-hover-bg;
59
- }
60
- }
61
-
62
- .list-group-item {
63
- // Disabled state
64
- &.disabled,
65
- &.disabled:hover,
66
- &.disabled:focus {
67
- background-color: @list-group-disabled-bg;
68
- color: @list-group-disabled-color;
69
- cursor: @cursor-disabled;
70
-
71
- // Force color to inherit for custom content
72
- .list-group-item-heading {
73
- color: inherit;
74
- }
75
- .list-group-item-text {
76
- color: @list-group-disabled-text-color;
77
- }
78
- }
79
-
80
- // Active class on item itself, not parent
81
- &.active,
82
- &.active:hover,
83
- &.active:focus {
84
- z-index: 2; // Place active items above their siblings for proper border styling
85
- color: @list-group-active-color;
86
- background-color: @list-group-active-bg;
87
- border-color: @list-group-active-border;
88
-
89
- // Force color to inherit for custom content
90
- .list-group-item-heading,
91
- .list-group-item-heading > small,
92
- .list-group-item-heading > .small {
93
- color: inherit;
94
- }
95
- .list-group-item-text {
96
- color: @list-group-active-text-color;
97
- }
98
- }
99
- }
100
-
101
-
102
- // Contextual variants
103
- //
104
- // Add modifier classes to change text and background color on individual items.
105
- // Organizationally, this must come after the `:hover` states.
106
-
107
- .list-group-item-variant(success; @state-success-bg; @state-success-text);
108
- .list-group-item-variant(info; @state-info-bg; @state-info-text);
109
- .list-group-item-variant(warning; @state-warning-bg; @state-warning-text);
110
- .list-group-item-variant(danger; @state-danger-bg; @state-danger-text);
111
-
112
-
113
- // Custom content options
114
- //
115
- // Extra classes for creating well-formatted content within `.list-group-item`s.
116
-
117
- .list-group-item-heading {
118
- margin-top: 0;
119
- margin-bottom: 5px;
120
- }
121
- .list-group-item-text {
122
- margin-bottom: 0;
123
- line-height: 1.3;
124
- }
1
+ //
2
+ // List groups
3
+ // --------------------------------------------------
4
+
5
+
6
+ // Base class
7
+ //
8
+ // Easily usable on <ul>, <ol>, or <div>.
9
+
10
+ .list-group {
11
+ // No need to set list-style: none; since .list-group-item is block level
12
+ margin-bottom: 20px;
13
+ padding-left: 0; // reset padding because ul and ol
14
+ }
15
+
16
+
17
+ // Individual list items
18
+ //
19
+ // Use on `li`s or `div`s within the `.list-group` parent.
20
+
21
+ .list-group-item {
22
+ position: relative;
23
+ display: block;
24
+ padding: 10px 15px;
25
+ // Place the border on the list items and negative margin up for better styling
26
+ margin-bottom: -1px;
27
+ background-color: @list-group-bg;
28
+ border: 1px solid @list-group-border;
29
+
30
+ // Round the first and last items
31
+ &:first-child {
32
+ .border-top-radius(@list-group-border-radius);
33
+ }
34
+ &:last-child {
35
+ margin-bottom: 0;
36
+ .border-bottom-radius(@list-group-border-radius);
37
+ }
38
+ }
39
+
40
+
41
+ // Linked list items
42
+ //
43
+ // Use anchor elements instead of `li`s or `div`s to create linked list items.
44
+ // Includes an extra `.active` modifier class for showing selected items.
45
+
46
+ a.list-group-item {
47
+ color: @list-group-link-color;
48
+
49
+ .list-group-item-heading {
50
+ color: @list-group-link-heading-color;
51
+ }
52
+
53
+ // Hover state
54
+ &:hover,
55
+ &:focus {
56
+ text-decoration: none;
57
+ color: @list-group-link-hover-color;
58
+ background-color: @list-group-hover-bg;
59
+ }
60
+ }
61
+
62
+ .list-group-item {
63
+ // Disabled state
64
+ &.disabled,
65
+ &.disabled:hover,
66
+ &.disabled:focus {
67
+ background-color: @list-group-disabled-bg;
68
+ color: @list-group-disabled-color;
69
+ cursor: @cursor-disabled;
70
+
71
+ // Force color to inherit for custom content
72
+ .list-group-item-heading {
73
+ color: inherit;
74
+ }
75
+ .list-group-item-text {
76
+ color: @list-group-disabled-text-color;
77
+ }
78
+ }
79
+
80
+ // Active class on item itself, not parent
81
+ &.active,
82
+ &.active:hover,
83
+ &.active:focus {
84
+ z-index: 2; // Place active items above their siblings for proper border styling
85
+ color: @list-group-active-color;
86
+ background-color: @list-group-active-bg;
87
+ border-color: @list-group-active-border;
88
+
89
+ // Force color to inherit for custom content
90
+ .list-group-item-heading,
91
+ .list-group-item-heading > small,
92
+ .list-group-item-heading > .small {
93
+ color: inherit;
94
+ }
95
+ .list-group-item-text {
96
+ color: @list-group-active-text-color;
97
+ }
98
+ }
99
+ }
100
+
101
+
102
+ // Contextual variants
103
+ //
104
+ // Add modifier classes to change text and background color on individual items.
105
+ // Organizationally, this must come after the `:hover` states.
106
+
107
+ .list-group-item-variant(success; @state-success-bg; @state-success-text);
108
+ .list-group-item-variant(info; @state-info-bg; @state-info-text);
109
+ .list-group-item-variant(warning; @state-warning-bg; @state-warning-text);
110
+ .list-group-item-variant(danger; @state-danger-bg; @state-danger-text);
111
+
112
+
113
+ // Custom content options
114
+ //
115
+ // Extra classes for creating well-formatted content within `.list-group-item`s.
116
+
117
+ .list-group-item-heading {
118
+ margin-top: 0;
119
+ margin-bottom: 5px;
120
+ }
121
+ .list-group-item-text {
122
+ margin-bottom: 0;
123
+ line-height: 1.3;
124
+ }
@@ -1,61 +1,61 @@
1
- .media {
2
- // Proper spacing between instances of .media
3
- margin-top: 15px;
4
-
5
- &:first-child {
6
- margin-top: 0;
7
- }
8
- }
9
-
10
- .media,
11
- .media-body {
12
- zoom: 1;
13
- overflow: hidden;
14
- }
15
-
16
- .media-body {
17
- width: 10000px;
18
- }
19
-
20
- .media-object {
21
- display: block;
22
- }
23
-
24
- .media-right,
25
- .media > .pull-right {
26
- padding-left: 10px;
27
- }
28
-
29
- .media-left,
30
- .media > .pull-left {
31
- padding-right: 10px;
32
- }
33
-
34
- .media-left,
35
- .media-right,
36
- .media-body {
37
- display: table-cell;
38
- vertical-align: top;
39
- }
40
-
41
- .media-middle {
42
- vertical-align: middle;
43
- }
44
-
45
- .media-bottom {
46
- vertical-align: bottom;
47
- }
48
-
49
- // Reset margins on headings for tighter default spacing
50
- .media-heading {
51
- margin-top: 0;
52
- margin-bottom: 5px;
53
- }
54
-
55
- // Media list variation
56
- //
57
- // Undo default ul/ol styles
58
- .media-list {
59
- padding-left: 0;
60
- list-style: none;
61
- }
1
+ .media {
2
+ // Proper spacing between instances of .media
3
+ margin-top: 15px;
4
+
5
+ &:first-child {
6
+ margin-top: 0;
7
+ }
8
+ }
9
+
10
+ .media,
11
+ .media-body {
12
+ zoom: 1;
13
+ overflow: hidden;
14
+ }
15
+
16
+ .media-body {
17
+ width: 10000px;
18
+ }
19
+
20
+ .media-object {
21
+ display: block;
22
+ }
23
+
24
+ .media-right,
25
+ .media > .pull-right {
26
+ padding-left: 10px;
27
+ }
28
+
29
+ .media-left,
30
+ .media > .pull-left {
31
+ padding-right: 10px;
32
+ }
33
+
34
+ .media-left,
35
+ .media-right,
36
+ .media-body {
37
+ display: table-cell;
38
+ vertical-align: top;
39
+ }
40
+
41
+ .media-middle {
42
+ vertical-align: middle;
43
+ }
44
+
45
+ .media-bottom {
46
+ vertical-align: bottom;
47
+ }
48
+
49
+ // Reset margins on headings for tighter default spacing
50
+ .media-heading {
51
+ margin-top: 0;
52
+ margin-bottom: 5px;
53
+ }
54
+
55
+ // Media list variation
56
+ //
57
+ // Undo default ul/ol styles
58
+ .media-list {
59
+ padding-left: 0;
60
+ list-style: none;
61
+ }
@@ -1,14 +1,14 @@
1
- // Alerts
2
-
3
- .alert-variant(@background; @border; @text-color) {
4
- background-color: @background;
5
- border-color: @border;
6
- color: @text-color;
7
-
8
- hr {
9
- border-top-color: darken(@border, 5%);
10
- }
11
- .alert-link {
12
- color: darken(@text-color, 10%);
13
- }
14
- }
1
+ // Alerts
2
+
3
+ .alert-variant(@background; @border; @text-color) {
4
+ background-color: @background;
5
+ border-color: @border;
6
+ color: @text-color;
7
+
8
+ hr {
9
+ border-top-color: darken(@border, 5%);
10
+ }
11
+ .alert-link {
12
+ color: darken(@text-color, 10%);
13
+ }
14
+ }
@@ -1,8 +1,8 @@
1
- // Contextual backgrounds
2
-
3
- .bg-variant(@color) {
4
- background-color: @color;
5
- a&:hover {
6
- background-color: darken(@color, 10%);
7
- }
8
- }
1
+ // Contextual backgrounds
2
+
3
+ .bg-variant(@color) {
4
+ background-color: @color;
5
+ a&:hover {
6
+ background-color: darken(@color, 10%);
7
+ }
8
+ }
@@ -1,18 +1,18 @@
1
- // Single side border-radius
2
-
3
- .border-top-radius(@radius) {
4
- border-top-right-radius: @radius;
5
- border-top-left-radius: @radius;
6
- }
7
- .border-right-radius(@radius) {
8
- border-bottom-right-radius: @radius;
9
- border-top-right-radius: @radius;
10
- }
11
- .border-bottom-radius(@radius) {
12
- border-bottom-right-radius: @radius;
13
- border-bottom-left-radius: @radius;
14
- }
15
- .border-left-radius(@radius) {
16
- border-bottom-left-radius: @radius;
17
- border-top-left-radius: @radius;
18
- }
1
+ // Single side border-radius
2
+
3
+ .border-top-radius(@radius) {
4
+ border-top-right-radius: @radius;
5
+ border-top-left-radius: @radius;
6
+ }
7
+ .border-right-radius(@radius) {
8
+ border-bottom-right-radius: @radius;
9
+ border-top-right-radius: @radius;
10
+ }
11
+ .border-bottom-radius(@radius) {
12
+ border-bottom-right-radius: @radius;
13
+ border-bottom-left-radius: @radius;
14
+ }
15
+ .border-left-radius(@radius) {
16
+ border-bottom-left-radius: @radius;
17
+ border-top-left-radius: @radius;
18
+ }
@@ -1,52 +1,52 @@
1
- // Button variants
2
- //
3
- // Easily pump out default styles, as well as :hover, :focus, :active,
4
- // and disabled options for all buttons
5
-
6
- .button-variant(@color; @background; @border) {
7
- color: @color;
8
- background-color: @background;
9
- border-color: @border;
10
-
11
- &:hover,
12
- &:focus,
13
- &.focus,
14
- &:active,
15
- &.active,
16
- .open > .dropdown-toggle& {
17
- color: @color;
18
- background-color: darken(@background, 10%);
19
- border-color: darken(@border, 12%);
20
- }
21
- &:active,
22
- &.active,
23
- .open > .dropdown-toggle& {
24
- background-image: none;
25
- }
26
- &.disabled,
27
- &[disabled],
28
- fieldset[disabled] & {
29
- &,
30
- &:hover,
31
- &:focus,
32
- &.focus,
33
- &:active,
34
- &.active {
35
- background-color: @background;
36
- border-color: @border;
37
- }
38
- }
39
-
40
- .badge {
41
- color: @background;
42
- background-color: @color;
43
- }
44
- }
45
-
46
- // Button sizes
47
- .button-size(@padding-vertical; @padding-horizontal; @font-size; @line-height; @border-radius) {
48
- padding: @padding-vertical @padding-horizontal;
49
- font-size: @font-size;
50
- line-height: @line-height;
51
- border-radius: @border-radius;
52
- }
1
+ // Button variants
2
+ //
3
+ // Easily pump out default styles, as well as :hover, :focus, :active,
4
+ // and disabled options for all buttons
5
+
6
+ .button-variant(@color; @background; @border) {
7
+ color: @color;
8
+ background-color: @background;
9
+ border-color: @border;
10
+
11
+ &:hover,
12
+ &:focus,
13
+ &.focus,
14
+ &:active,
15
+ &.active,
16
+ .open > .dropdown-toggle& {
17
+ color: @color;
18
+ background-color: darken(@background, 10%);
19
+ border-color: darken(@border, 12%);
20
+ }
21
+ &:active,
22
+ &.active,
23
+ .open > .dropdown-toggle& {
24
+ background-image: none;
25
+ }
26
+ &.disabled,
27
+ &[disabled],
28
+ fieldset[disabled] & {
29
+ &,
30
+ &:hover,
31
+ &:focus,
32
+ &.focus,
33
+ &:active,
34
+ &.active {
35
+ background-color: @background;
36
+ border-color: @border;
37
+ }
38
+ }
39
+
40
+ .badge {
41
+ color: @background;
42
+ background-color: @color;
43
+ }
44
+ }
45
+
46
+ // Button sizes
47
+ .button-size(@padding-vertical; @padding-horizontal; @font-size; @line-height; @border-radius) {
48
+ padding: @padding-vertical @padding-horizontal;
49
+ font-size: @font-size;
50
+ line-height: @line-height;
51
+ border-radius: @border-radius;
52
+ }