nodebb-theme-persona 12.1.6 → 12.1.8

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 (247) hide show
  1. package/README.md +16 -14
  2. package/{scss/account.scss → less/account.less} +97 -13
  3. package/less/bootstrap/.csscomb.json +297 -0
  4. package/less/bootstrap/.csslintrc +19 -0
  5. package/less/bootstrap/alerts.less +73 -0
  6. package/less/bootstrap/badges.less +66 -0
  7. package/less/bootstrap/bootstrap.less +50 -0
  8. package/less/bootstrap/breadcrumbs.less +26 -0
  9. package/less/bootstrap/button-groups.less +243 -0
  10. package/less/bootstrap/buttons.less +160 -0
  11. package/less/bootstrap/carousel.less +269 -0
  12. package/less/bootstrap/close.less +34 -0
  13. package/less/bootstrap/code.less +69 -0
  14. package/less/bootstrap/component-animations.less +33 -0
  15. package/less/bootstrap/dropdowns.less +214 -0
  16. package/less/bootstrap/forms.less +574 -0
  17. package/less/bootstrap/glyphicons.less +305 -0
  18. package/less/bootstrap/grid.less +84 -0
  19. package/less/bootstrap/input-groups.less +166 -0
  20. package/less/bootstrap/jumbotron.less +50 -0
  21. package/less/bootstrap/labels.less +64 -0
  22. package/less/bootstrap/list-group.less +124 -0
  23. package/less/bootstrap/media.less +61 -0
  24. package/less/bootstrap/mixins/alerts.less +14 -0
  25. package/less/bootstrap/mixins/background-variant.less +8 -0
  26. package/less/bootstrap/mixins/border-radius.less +18 -0
  27. package/less/bootstrap/mixins/buttons.less +52 -0
  28. package/less/bootstrap/mixins/center-block.less +7 -0
  29. package/less/bootstrap/mixins/clearfix.less +22 -0
  30. package/less/bootstrap/mixins/forms.less +85 -0
  31. package/less/bootstrap/mixins/gradients.less +59 -0
  32. package/less/bootstrap/mixins/grid-framework.less +91 -0
  33. package/less/bootstrap/mixins/grid.less +122 -0
  34. package/less/bootstrap/mixins/hide-text.less +21 -0
  35. package/less/bootstrap/mixins/image.less +33 -0
  36. package/less/bootstrap/mixins/labels.less +12 -0
  37. package/less/bootstrap/mixins/list-group.less +29 -0
  38. package/less/bootstrap/mixins/nav-divider.less +10 -0
  39. package/less/bootstrap/mixins/nav-vertical-align.less +9 -0
  40. package/less/bootstrap/mixins/opacity.less +8 -0
  41. package/less/bootstrap/mixins/pagination.less +23 -0
  42. package/less/bootstrap/mixins/panels.less +24 -0
  43. package/less/bootstrap/mixins/progress-bar.less +10 -0
  44. package/less/bootstrap/mixins/reset-filter.less +8 -0
  45. package/less/bootstrap/mixins/resize.less +6 -0
  46. package/less/bootstrap/mixins/responsive-visibility.less +15 -0
  47. package/less/bootstrap/mixins/size.less +10 -0
  48. package/less/bootstrap/mixins/tab-focus.less +9 -0
  49. package/less/bootstrap/mixins/table-row.less +28 -0
  50. package/less/bootstrap/mixins/text-emphasis.less +8 -0
  51. package/less/bootstrap/mixins/text-overflow.less +8 -0
  52. package/less/bootstrap/mixins/vendor-prefixes.less +227 -0
  53. package/less/bootstrap/mixins.less +39 -0
  54. package/less/bootstrap/modals.less +150 -0
  55. package/less/bootstrap/navbar.less +660 -0
  56. package/less/bootstrap/navs.less +242 -0
  57. package/less/bootstrap/normalize.less +427 -0
  58. package/less/bootstrap/pager.less +54 -0
  59. package/less/bootstrap/pagination.less +88 -0
  60. package/less/bootstrap/panels.less +265 -0
  61. package/less/bootstrap/popovers.less +135 -0
  62. package/less/bootstrap/print.less +107 -0
  63. package/less/bootstrap/progress-bars.less +87 -0
  64. package/less/bootstrap/responsive-embed.less +35 -0
  65. package/less/bootstrap/responsive-utilities.less +194 -0
  66. package/less/bootstrap/scaffolding.less +162 -0
  67. package/less/bootstrap/tables.less +234 -0
  68. package/less/bootstrap/theme.less +273 -0
  69. package/less/bootstrap/thumbnails.less +36 -0
  70. package/less/bootstrap/tooltip.less +102 -0
  71. package/less/bootstrap/type.less +302 -0
  72. package/less/bootstrap/utilities.less +55 -0
  73. package/less/bootstrap/variables.less +861 -0
  74. package/less/bootstrap/wells.less +29 -0
  75. package/less/bootstrap-flipped.css +1550 -0
  76. package/{scss/categories.scss → less/categories.less} +40 -10
  77. package/{scss/category.scss → less/category.less} +75 -26
  78. package/{scss/chats.scss → less/chats.less} +88 -35
  79. package/{scss/flags.scss → less/flags.less} +3 -3
  80. package/{scss/footer.scss → less/footer.less} +1 -0
  81. package/{scss/groups.scss → less/groups.less} +38 -14
  82. package/{scss/header.scss → less/header.less} +139 -63
  83. package/{scss/helpers.scss → less/helpers.less} +0 -0
  84. package/less/ip-blacklist.less +7 -0
  85. package/{scss/keyframes.scss → less/keyframes.less} +0 -0
  86. package/{scss/mixins.scss → less/mixins.less} +59 -17
  87. package/{scss/mobile.scss → less/mobile.less} +18 -13
  88. package/{scss/modules/alerts.scss → less/modules/alerts.less} +21 -21
  89. package/less/modules/bottom-sheet.less +60 -0
  90. package/{scss/modules/composer-default.scss → less/modules/composer-default.less} +2 -2
  91. package/{scss/modules/cookie-consent.scss → less/modules/cookie-consent.less} +1 -1
  92. package/{scss/modules/fab.scss → less/modules/fab.less} +2 -2
  93. package/{scss/modules/morph.scss → less/modules/morph.less} +1 -1
  94. package/{scss/modules/necro-post.scss → less/modules/necro-post.less} +0 -0
  95. package/less/modules/nprogress.less +80 -0
  96. package/{scss/modules/taskbar.scss → less/modules/taskbar.less} +10 -11
  97. package/{scss/modules/usercard.scss → less/modules/usercard.less} +0 -0
  98. package/{scss/noscript.scss → less/noscript.less} +7 -5
  99. package/less/notifications.less +38 -0
  100. package/{scss/outgoing.scss → less/outgoing.less} +0 -0
  101. package/{scss/persona.scss → less/persona.less} +13 -1
  102. package/less/post-queue.less +19 -0
  103. package/{scss/posts_list.scss → less/posts_list.less} +14 -11
  104. package/{scss/register.scss → less/register.less} +7 -2
  105. package/less/rtl.less +132 -0
  106. package/less/search.less +96 -0
  107. package/{scss/style.scss → less/style.less} +47 -23
  108. package/less/tags.less +37 -0
  109. package/{scss/topic.scss → less/topic.less} +94 -57
  110. package/less/topics_list.less +16 -0
  111. package/less/users.less +73 -0
  112. package/{scss/variables.scss → less/variables.less} +3 -3
  113. package/package.json +2 -2
  114. package/public/persona.js +22 -11
  115. package/templates/account/blocks.tpl +26 -24
  116. package/templates/account/categories.tpl +6 -6
  117. package/templates/account/consent.tpl +10 -10
  118. package/templates/account/edit/password.tpl +10 -8
  119. package/templates/account/edit/username.tpl +10 -6
  120. package/templates/account/edit.tpl +23 -23
  121. package/templates/account/followers.tpl +3 -3
  122. package/templates/account/following.tpl +3 -3
  123. package/templates/account/groups.tpl +2 -2
  124. package/templates/account/info.tpl +72 -67
  125. package/templates/account/posts.tpl +1 -1
  126. package/templates/account/profile.tpl +18 -20
  127. package/templates/account/sessions.tpl +3 -3
  128. package/templates/account/settings.tpl +81 -93
  129. package/templates/account/topics.tpl +5 -5
  130. package/templates/account/uploads.tpl +2 -2
  131. package/templates/admin/plugins/persona.tpl +3 -3
  132. package/templates/alert.tpl +15 -0
  133. package/templates/category.tpl +14 -15
  134. package/templates/chat.tpl +9 -16
  135. package/templates/chats.tpl +3 -5
  136. package/templates/flags/detail.tpl +80 -86
  137. package/templates/flags/list.tpl +4 -4
  138. package/templates/footer.tpl +1 -1
  139. package/templates/groups/details.tpl +218 -23
  140. package/templates/groups/list.tpl +9 -11
  141. package/templates/groups/members.tpl +4 -1
  142. package/templates/header.tpl +4 -10
  143. package/templates/ip-blacklist.tpl +20 -22
  144. package/templates/login.tpl +14 -17
  145. package/templates/modules/taskbar.tpl +1 -1
  146. package/templates/modules/usercard.tpl +2 -2
  147. package/templates/notifications.tpl +38 -40
  148. package/templates/partials/acceptTos.tpl +8 -8
  149. package/templates/partials/account/category-item.tpl +5 -6
  150. package/templates/partials/account/header.tpl +2 -2
  151. package/templates/partials/account/menu.tpl +37 -37
  152. package/templates/partials/breadcrumbs.tpl +1 -1
  153. package/templates/partials/buttons/newTopic.tpl +3 -10
  154. package/templates/partials/categories/item.tpl +10 -24
  155. package/templates/partials/categories/lastpost.tpl +3 -3
  156. package/templates/partials/categories/link.tpl +10 -10
  157. package/templates/partials/category/sort.tpl +7 -7
  158. package/templates/partials/category/subcategory.tpl +3 -3
  159. package/templates/partials/category/tags.tpl +5 -3
  160. package/templates/partials/category/tools.tpl +16 -16
  161. package/templates/partials/category/watch.tpl +10 -8
  162. package/templates/partials/category-filter-content.tpl +5 -17
  163. package/templates/partials/category-filter-right.tpl +1 -1
  164. package/templates/partials/category-selector-content.tpl +4 -17
  165. package/templates/partials/category-selector-right.tpl +1 -1
  166. package/templates/partials/change_owner_modal.tpl +22 -0
  167. package/templates/partials/chats/message-window.tpl +8 -10
  168. package/templates/partials/chats/message.tpl +11 -11
  169. package/templates/partials/chats/options.tpl +8 -8
  170. package/templates/partials/chats/recent_room.tpl +1 -1
  171. package/templates/partials/chats/system-message.tpl +1 -1
  172. package/templates/partials/chats/user.tpl +1 -1
  173. package/templates/partials/chats-menu.tpl +11 -11
  174. package/templates/partials/cookie-consent.tpl +1 -1
  175. package/templates/partials/delete_posts_modal.tpl +19 -0
  176. package/templates/partials/flags/filters.tpl +32 -34
  177. package/templates/partials/fork_thread_modal.tpl +22 -0
  178. package/templates/partials/groups/list.tpl +6 -6
  179. package/templates/partials/groups/memberlist.tpl +10 -11
  180. package/templates/partials/menu.tpl +156 -149
  181. package/templates/partials/merge_topics_modal.tpl +58 -0
  182. package/templates/partials/modals/change_picture_modal.tpl +73 -0
  183. package/templates/partials/modals/flag_modal.tpl +45 -0
  184. package/templates/partials/modals/manage_room.tpl +11 -0
  185. package/templates/partials/modals/manage_room_users.tpl +7 -0
  186. package/templates/partials/modals/post_history.tpl +36 -0
  187. package/templates/partials/modals/rename_room.tpl +4 -0
  188. package/templates/partials/modals/upload_file_modal.tpl +44 -0
  189. package/templates/partials/modals/upload_picture_from_url_modal.tpl +17 -0
  190. package/templates/partials/modals/votes_modal.tpl +10 -0
  191. package/templates/partials/move_thread_modal.tpl +17 -0
  192. package/templates/partials/notifications_list.tpl +2 -2
  193. package/templates/partials/paginator.tpl +21 -21
  194. package/templates/partials/post_bar.tpl +4 -4
  195. package/templates/partials/posts_list.tpl +1 -1
  196. package/templates/partials/posts_list_item.tpl +2 -2
  197. package/templates/partials/quick-search-results.tpl +11 -14
  198. package/templates/partials/slideout-menu.tpl +1 -1
  199. package/templates/partials/tags_list.tpl +3 -3
  200. package/templates/partials/thread_tools.tpl +4 -4
  201. package/templates/partials/topic/badge.tpl +5 -0
  202. package/templates/partials/topic/deleted-message.tpl +2 -2
  203. package/templates/partials/topic/event.tpl +2 -2
  204. package/templates/partials/topic/navigation-post.tpl +3 -3
  205. package/templates/partials/topic/navigator.tpl +7 -7
  206. package/templates/partials/topic/necro-post.tpl +1 -1
  207. package/templates/partials/topic/post-menu-list.tpl +23 -26
  208. package/templates/partials/topic/post-menu.tpl +3 -3
  209. package/templates/partials/topic/post.tpl +44 -49
  210. package/templates/partials/topic/quickreply.tpl +3 -3
  211. package/templates/partials/topic/reply-button.tpl +3 -3
  212. package/templates/partials/topic/sort.tpl +5 -5
  213. package/templates/partials/topic/tags.tpl +5 -3
  214. package/templates/partials/topic/topic-menu-list.tpl +16 -18
  215. package/templates/partials/topic/watch.tpl +10 -11
  216. package/templates/partials/topics_list.tpl +25 -27
  217. package/templates/partials/users_list.tpl +10 -22
  218. package/templates/partials/users_list_menu.tpl +9 -19
  219. package/templates/popular.tpl +35 -9
  220. package/templates/post-queue.tpl +35 -42
  221. package/templates/recent.tpl +24 -10
  222. package/templates/register.tpl +17 -17
  223. package/templates/registerComplete.tpl +10 -14
  224. package/templates/reset.tpl +5 -7
  225. package/templates/reset_code.tpl +9 -9
  226. package/templates/search.tpl +87 -100
  227. package/templates/tag.tpl +10 -8
  228. package/templates/tags.tpl +3 -5
  229. package/templates/top.tpl +35 -9
  230. package/templates/topic.tpl +10 -8
  231. package/templates/tos.tpl +4 -4
  232. package/templates/unread.tpl +22 -10
  233. package/templates/users.tpl +20 -7
  234. package/theme.json +6 -6
  235. package/theme.less +2 -0
  236. package/scss/modules/nprogress.scss +0 -80
  237. package/scss/overrides.scss +0 -44
  238. package/scss/search.scss +0 -39
  239. package/scss/tags.scss +0 -11
  240. package/scss/topics_list.scss +0 -17
  241. package/templates/partials/groups/admin.tpl +0 -195
  242. package/templates/partials/groups/badge.tpl +0 -1
  243. package/templates/partials/toast.tpl +0 -14
  244. package/templates/partials/topic/tag.tpl +0 -1
  245. package/templates/partials/topic-filters.tpl +0 -12
  246. package/templates/partials/topic-terms.tpl +0 -12
  247. package/theme.scss +0 -1
@@ -25,40 +25,40 @@
25
25
  }
26
26
 
27
27
  &.alert-info::before {
28
- background-color: $info;
28
+ background-color: @material-info;
29
29
  }
30
30
 
31
31
  &.alert-warning::before {
32
- background-color: $warning;
32
+ background-color: @material-warning;
33
33
  }
34
34
 
35
35
  &.alert-success::before {
36
- background-color: $success;
36
+ background-color: @material-success;
37
37
  }
38
38
 
39
39
  &.alert-danger::before {
40
- background-color: $danger;
40
+ background-color: @material-danger;
41
41
  }
42
42
 
43
43
  &.animate {
44
44
  &.alert-info::before {
45
- background-color: lighten($info, 25%);
45
+ background-color: lighten(@material-info, 25%);
46
46
  }
47
-
47
+
48
48
  &.alert-warning::before {
49
- background-color: lighten($warning, 25%);
49
+ background-color: lighten(@material-warning, 25%);
50
50
  }
51
-
51
+
52
52
  &.alert-success::before {
53
- background-color: lighten($success, 25%);
53
+ background-color: lighten(@material-success, 25%);
54
54
  }
55
-
55
+
56
56
  &.alert-danger::before {
57
- background-color: lighten($danger, 25%);
57
+ background-color: lighten(@material-danger, 25%);
58
58
  }
59
-
59
+
60
60
  &::before {
61
- width: calc(100% + 50px);
61
+ width: ~"calc(100% + 50px)";
62
62
  }
63
63
  }
64
64
 
@@ -76,23 +76,23 @@
76
76
  }
77
77
 
78
78
  &.alert-info {
79
- color: $info;
80
- border-color: $info;
79
+ color: @material-info;
80
+ border-color: @material-info;
81
81
  }
82
82
 
83
83
  &.alert-warning {
84
- color: $warning;
85
- border-color: $warning;
84
+ color: @material-warning;
85
+ border-color: @material-warning;
86
86
  }
87
87
 
88
88
  &.alert-success {
89
- color: $success;
90
- border-color: $success;
89
+ color: @material-success;
90
+ border-color: @material-success;
91
91
  }
92
92
 
93
93
  &.alert-danger {
94
- color: $danger;
95
- border-color: $danger;
94
+ color: @material-danger;
95
+ border-color: @material-danger;
96
96
  }
97
97
  }
98
98
  }
@@ -0,0 +1,60 @@
1
+ .bottom-sheet {
2
+ @media (max-width: @screen-sm-max) {
3
+ .dropdown-menu {
4
+ display: block;
5
+ visibility: hidden;
6
+
7
+ position: fixed;
8
+ left: 0 !important;
9
+ right: 0 !important;
10
+ bottom: 0;
11
+
12
+ margin: 0 -1px -1px -1px;
13
+ padding: 0 5px;
14
+ max-height: 60%;
15
+
16
+ box-shadow: 0 2px 6px rgba(0,0,0,0.35);
17
+ overflow: auto;
18
+ -webkit-overflow-scrolling: touch;
19
+ transform: translate3d(0, 350px, 0);
20
+ transition: transform 0.3s, visibility 0s 0.3s;
21
+ z-index: @zindex-popover;
22
+ padding: 5px 0 10px;
23
+
24
+ border-bottom-left-radius: 0;
25
+ border-bottom-right-radius: 0;
26
+
27
+ > li {
28
+ > a {
29
+ padding: 10px 20px;
30
+ overflow: hidden;
31
+ text-overflow: ellipsis;
32
+ white-space: nowrap;
33
+ }
34
+
35
+ &.divider {
36
+ padding: 0;
37
+ }
38
+
39
+ &.active {
40
+ background-color: @btn-primary-bg;
41
+ color: @btn-primary-color;
42
+ }
43
+ }
44
+ }
45
+
46
+ &.open {
47
+ .dropdown-menu {
48
+ transform: none;
49
+ visibility: visible;
50
+ transition-delay: 0s;
51
+ top: auto;
52
+ width: auto;
53
+ }
54
+ }
55
+
56
+ .dropdown-backdrop {
57
+ background-color: rgba(0, 0, 0, .3);
58
+ }
59
+ }
60
+ }
@@ -5,10 +5,10 @@
5
5
  p {
6
6
  margin: 0 0 18px;
7
7
  }
8
-
8
+
9
9
  blockquote {
10
10
  font-size: 12px;
11
-
11
+
12
12
  p {
13
13
  margin-bottom: 0px;
14
14
  }
@@ -6,7 +6,7 @@
6
6
  padding-left: 1rem;
7
7
  width: 100%;
8
8
  background: rgba(240,240,240,.8);
9
- z-index: $zindex-popover;
9
+ z-index: @zindex-navbar-fixed;
10
10
  a {
11
11
  font-weight: bold;
12
12
  }
@@ -1,7 +1,7 @@
1
1
  .persona-fab {
2
2
  box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.156863), 0px 2px 10px 0px rgba(0, 0, 0, 0.117647);
3
3
 
4
- background-color: $primary;
4
+ background-color: @brand-primary;
5
5
  border: none;
6
6
  border-radius: 50%;
7
7
  cursor: pointer;
@@ -25,7 +25,7 @@
25
25
  }
26
26
 
27
27
  &.plus {
28
- background-color: $success;
28
+ background-color: @material-success;
29
29
  > span > span {
30
30
  background-color: white;
31
31
  }
@@ -232,7 +232,7 @@ header .btn-morph > span > span {
232
232
  display: block;
233
233
  position: absolute;
234
234
  content: "";
235
- background-color: $gray-200;
235
+ background-color: @gray-lighter;
236
236
  border-radius: 100%;
237
237
  width: 100%;
238
238
  height: 100%;
@@ -0,0 +1,80 @@
1
+ #nprogress {
2
+ pointer-events: none;
3
+ }
4
+
5
+ #nprogress .bar {
6
+ background: #29d;
7
+
8
+ position: fixed;
9
+ z-index: 1031;
10
+ top: 0;
11
+ left: 0;
12
+
13
+ width: 100%;
14
+ height: 2px;
15
+ }
16
+
17
+ #nprogress .peg {
18
+ display: block;
19
+ position: absolute;
20
+ right: 0px;
21
+ width: 100px;
22
+ height: 100%;
23
+ box-shadow: 0 0 10px #29d, 0 0 5px #29d;
24
+ opacity: 1.0;
25
+
26
+ -webkit-transform: rotate(3deg) translate(0px, -4px);
27
+ -ms-transform: rotate(3deg) translate(0px, -4px);
28
+ transform: rotate(3deg) translate(0px, -4px);
29
+ }
30
+
31
+ #nprogress .spinner {
32
+ display: block;
33
+ position: fixed;
34
+ z-index: 1031;
35
+ top: 15px;
36
+ right: 15px;
37
+ }
38
+
39
+ @media (max-width: @screen-xs-max) {
40
+ #nprogress .spinner {
41
+ bottom: 15px;
42
+ right: 15px;
43
+ top: initial;
44
+ }
45
+ }
46
+
47
+
48
+ #nprogress .spinner-icon {
49
+ width: 18px;
50
+ height: 18px;
51
+ box-sizing: border-box;
52
+
53
+ border: solid 2px transparent;
54
+ border-top-color: #29d;
55
+ border-left-color: #29d;
56
+ border-radius: 50%;
57
+
58
+ -webkit-animation: nprogress-spinner 400ms linear infinite;
59
+ animation: nprogress-spinner 400ms linear infinite;
60
+ }
61
+
62
+ .nprogress-custom-parent {
63
+ overflow: hidden;
64
+ position: relative;
65
+ }
66
+
67
+ .nprogress-custom-parent #nprogress .spinner,
68
+ .nprogress-custom-parent #nprogress .bar {
69
+ position: absolute;
70
+ }
71
+
72
+ @-webkit-keyframes nprogress-spinner {
73
+ 0% { -webkit-transform: rotate(0deg); }
74
+ 100% { -webkit-transform: rotate(360deg); }
75
+ }
76
+ @keyframes nprogress-spinner {
77
+ 0% { transform: rotate(0deg); }
78
+ 100% { transform: rotate(360deg); }
79
+ }
80
+
@@ -1,7 +1,7 @@
1
1
  @import "../keyframes";
2
2
 
3
3
  .modal-unfocused {
4
- z-index: $zindex-modal - 5 !important;
4
+ z-index: @zindex-modal - 5 !important;
5
5
  }
6
6
 
7
7
  .taskbar {
@@ -10,7 +10,7 @@
10
10
  right: auto;
11
11
 
12
12
  margin-top: 0;
13
- @include transition(.15s ease-in opacity);
13
+ .transition(.15s ease-in opacity);
14
14
 
15
15
  background: none;
16
16
  border: none;
@@ -68,7 +68,6 @@
68
68
  }
69
69
 
70
70
  a {
71
- display: inline-block;
72
71
  padding: 3px 15px;
73
72
  font-size: 20px;
74
73
 
@@ -77,7 +76,7 @@
77
76
  }
78
77
 
79
78
  &:focus, &:hover {
80
- color: $gray-200;
79
+ color: @gray-lighter;
81
80
  }
82
81
 
83
82
  border-radius: 50%;
@@ -113,14 +112,14 @@
113
112
 
114
113
  &.taskbar-composer {
115
114
  a, a:hover, a:focus, a:active {
116
- background-color: $danger;
115
+ background-color: #f44336;
117
116
  background-size: cover;
118
117
  }
119
118
  }
120
119
 
121
120
  &.taskbar-chat {
122
121
  a, a:hover, a:focus, a:active {
123
- background: $primary;
122
+ background: @brand-primary;
124
123
  }
125
124
 
126
125
  &.new:after {
@@ -130,14 +129,14 @@
130
129
  top: 0px;
131
130
  font-size: 10px;
132
131
  text-align: center;
133
- border: 1px solid $danger;
132
+ border: 1px solid #890405;
134
133
  color: #fff;
135
134
  font-weight: bold;
136
135
  min-width: 20px;
137
- border-radius: 4px;
138
- background: $danger;
136
+ .border-radius(4px);
137
+ background: #c91106;
139
138
  padding: 1px 2px;
140
- font-family: $font-family-sans-serif;
139
+ font-family: @font-family-sans-serif;
141
140
  }
142
141
 
143
142
  &.new[data-content="0"]:after {
@@ -152,7 +151,7 @@
152
151
  i {
153
152
  font-size: 18px;
154
153
  line-height: 42px;
155
- color: $body-color;
154
+ color: #FFF;
156
155
  }
157
156
  }
158
157
  }
@@ -1,14 +1,16 @@
1
+ @import "mixins";
2
+
1
3
  noscript {
2
- @mixin default() {
4
+ .default {
3
5
  list-style-type: none;
4
6
  padding: 1em;
5
7
  margin-bottom: 1em;
6
- @include zebra;
8
+ .zebra;
7
9
  }
8
10
 
9
11
  .categories {
10
12
  li {
11
- @include default;
13
+ .default;
12
14
 
13
15
  .icon {
14
16
  float: left;
@@ -27,7 +29,7 @@ noscript {
27
29
 
28
30
  .topics {
29
31
  li {
30
- @include default;
32
+ .default;
31
33
  }
32
34
 
33
35
  .timestamp {
@@ -61,7 +63,7 @@ noscript {
61
63
 
62
64
  .posts {
63
65
  li {
64
- @include default;
66
+ .default;
65
67
 
66
68
  .profile {
67
69
  text-align: center;
@@ -0,0 +1,38 @@
1
+ .notifications-list {
2
+ margin-top: 1em;
3
+ padding: 0;
4
+
5
+ li {
6
+ clear: both;
7
+ list-style-type: none;
8
+ padding: 1em;
9
+ margin-bottom: 0.5em;
10
+ .zebra;
11
+ .pointer;
12
+
13
+ &:last-child {
14
+ margin-bottom: 0;
15
+ }
16
+
17
+ &.unread {
18
+ background: #fefbed;
19
+ }
20
+
21
+ .timestamp {
22
+ font-size: 0.8em;
23
+ }
24
+
25
+ a {
26
+ display: block;
27
+ .text-ellipsis;
28
+ }
29
+
30
+ p {
31
+ margin: 0 0 0 30px;
32
+ }
33
+
34
+ .user-img {
35
+ .user-icon-style(24px, 1rem, 50%);
36
+ }
37
+ }
38
+ }
File without changes
@@ -1,6 +1,6 @@
1
1
  @import "variables";
2
+
2
3
  @import "style";
3
- @import "mixins";
4
4
 
5
5
  @import "topic";
6
6
  @import "category";
@@ -11,18 +11,23 @@
11
11
  @import "account";
12
12
  @import "groups";
13
13
  @import "chats";
14
+ @import "notifications";
14
15
  @import "search";
15
16
  @import "topics_list";
17
+ @import "users";
16
18
  @import "outgoing";
17
19
  @import "footer";
18
20
  @import "posts_list";
19
21
  @import "register";
20
22
  @import "flags";
23
+ @import "post-queue";
24
+ @import "ip-blacklist";
21
25
 
22
26
  @import "mobile";
23
27
 
24
28
  @import "helpers";
25
29
  @import "keyframes";
30
+ @import "rtl";
26
31
 
27
32
  @import "modules/nprogress";
28
33
  @import "modules/usercard";
@@ -32,5 +37,12 @@
32
37
  @import "modules/morph";
33
38
  @import "modules/composer-default";
34
39
  @import "modules/cookie-consent";
40
+ @import "modules/bottom-sheet";
35
41
  @import "modules/necro-post";
36
42
 
43
+
44
+ @material-primary: #337ab7;
45
+ @material-success: #4CAF50;
46
+ @material-info: #717484;
47
+ @material-warning: #ff6d00;
48
+ @material-danger: #F44336;
@@ -0,0 +1,19 @@
1
+ /*
2
+ Post queue page CSS
3
+ - Originally in ACP
4
+ - Now available in front-end for global mods as well
5
+ */
6
+ .posts-list {
7
+ .topic-title {
8
+ word-break: break-word;
9
+ }
10
+ .post-content {
11
+ word-break: break-word;
12
+ }
13
+ .post-content-editable {
14
+ textarea {
15
+ width: 100%;
16
+ height: 300px;
17
+ }
18
+ }
19
+ }
@@ -1,7 +1,9 @@
1
1
  .posts-list {
2
+ list-style-type: none;
2
3
  padding-left: 0px;
3
4
 
4
5
  .posts-list-item {
6
+ @icon-radius: 14px;
5
7
  width: 100%;
6
8
  margin-bottom: 0px;
7
9
 
@@ -15,21 +17,23 @@
15
17
  }
16
18
 
17
19
  .user-img {
20
+ .user-icon-style(@icon-radius * 2px, 1.5rem, 50%);
18
21
  position: absolute;
19
22
  top: 50%;
20
- margin-top: -14px;
21
- margin-left: -14px;
23
+ margin-top: -1 * @icon-radius;
24
+ margin-left: -1 * @icon-radius;
22
25
  }
23
26
 
24
27
  a {
25
28
  span {
26
29
  overflow: hidden;
30
+ height: 16px;
27
31
  padding-left: 8px;
28
32
  }
29
33
  }
30
34
 
31
35
  .topic-title {
32
- color: $gray-800;
36
+ color: @gray-dark;
33
37
  font-weight: 900;
34
38
  font-size: 125%;
35
39
  text-decoration: underline;
@@ -38,7 +42,7 @@
38
42
  .topic-category {
39
43
  text-transform: uppercase;
40
44
  font-size: 10px;
41
- color: $gray-600;
45
+ color: lighten(@gray-base, 65%);
42
46
  margin-top: 6px;
43
47
  margin-right: 10px;
44
48
  margin-bottom: 25px;
@@ -47,7 +51,7 @@
47
51
 
48
52
  a {
49
53
  font-weight: 900;
50
- color: $gray-600;
54
+ color: @gray-light;
51
55
  }
52
56
  }
53
57
 
@@ -78,9 +82,8 @@
78
82
  }
79
83
 
80
84
  .post-body {
81
- border-right: 2px solid $primary;
85
+ border-right: 2px solid @brand-primary;
82
86
  min-height: 100px;
83
- position: relative; // to handle abs. positioning in .post-info child
84
87
  }
85
88
 
86
89
  .post-info {
@@ -94,6 +97,7 @@
94
97
  > a {
95
98
  position: relative;
96
99
  .user-img {
100
+ margin-top: -3px;
97
101
  text-align: center;
98
102
  padding: 0;
99
103
  }
@@ -101,11 +105,10 @@
101
105
 
102
106
  .post-author {
103
107
  padding-left: 25px;
104
- margin-top: -14px;
105
- color: $gray-600;
108
+ color: lighten(@gray-base, 65%);
106
109
 
107
110
  a {
108
- color: $gray-600;
111
+ color: @gray-light;
109
112
  font-weight: 900;
110
113
 
111
114
  }
@@ -121,7 +124,7 @@
121
124
  overflow-y: none;
122
125
  }
123
126
 
124
- @include media-breakpoint-down(sm) {
127
+ @media (max-width: @screen-sm-min) {
125
128
  .posts-list .posts-list-item .post-info {
126
129
  width: 100px;
127
130
  }
@@ -1,6 +1,7 @@
1
1
  .page-register-complete {
2
2
  .tos {
3
- background: $body-bg;
3
+ background: @body-bg;
4
+ color: @text-color;
4
5
  max-height: 350px;
5
6
  margin-top: 5px;
6
7
  overflow-y: scroll;
@@ -13,6 +14,10 @@
13
14
  .register-block {
14
15
  margin-top: 15px;
15
16
 
17
+ .help-block {
18
+ font-size: 13px;
19
+ }
20
+
16
21
  .register-success {
17
22
  .form-control {
18
23
  border-color: #5cb85c;
@@ -64,7 +69,7 @@
64
69
  }
65
70
  }
66
71
 
67
- @include media-breakpoint-down(sm) {
72
+ @media (max-width: @screen-xs-max) {
68
73
  .alt-login-block {
69
74
  margin-bottom: 20px;
70
75
  }