nodebb-theme-persona 12.1.6 → 12.1.7

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 +14 -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} +90 -53
  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
@@ -1,21 +1,31 @@
1
+ .group-label {
2
+ display: inline-block;
3
+ text-transform: uppercase;
4
+ vertical-align: -5px;
5
+ padding: 4px;
6
+ border-radius: 2px;
7
+ max-width: 150px;
8
+ overflow-x: hidden;
9
+ text-overflow: ellipsis;
10
+ white-space: nowrap;
11
+ line-height: 1.1;
12
+ }
13
+
1
14
  .groups.details {
2
15
  margin-top: 200px;
3
16
 
4
17
  [component="groups/cover"] {
5
18
  background-size: cover;
6
19
  background-repeat: no-repeat;
7
- background-origin: content-box;
8
-
9
20
  min-height: 200px;
10
- width: 100%;
21
+ position: relative;
11
22
  margin-bottom: 1em;
12
- padding-left: 0;
13
- padding-right: 0;
14
-
23
+ background-origin: content-box;
24
+ width: 100%;
25
+ top: calc(var(--panel-offset) - 20px);
15
26
  position: absolute;
16
- top: var(--panel-offset);
17
- right: 0;
18
27
  left: auto;
28
+ right: 0px;
19
29
 
20
30
  &:hover {
21
31
  .controls {
@@ -28,7 +38,7 @@
28
38
  min-height: 200px;
29
39
  line-height: 200px;
30
40
  opacity: 0;
31
- @include transition(opacity .15s linear);
41
+ .transition(opacity .15s linear);
32
42
  cursor: pointer;
33
43
  pointer-events: none;
34
44
 
@@ -77,8 +87,8 @@
77
87
  top: 1em;
78
88
  right: 2em;
79
89
  opacity: 1;
80
- background-color: $primary;
81
- color: $gray-200;
90
+ background-color: @brand-primary;
91
+ color: @gray-lighter;
82
92
  padding: 0.5em;
83
93
  font-weight: bold;
84
94
 
@@ -112,6 +122,10 @@
112
122
  margin-top: 0;
113
123
  }
114
124
 
125
+ .owner-controls {
126
+ margin-top: -6px;
127
+ }
128
+
115
129
  .post-body {
116
130
  .topic-title, p {
117
131
  overflow-y: hidden;
@@ -119,7 +133,7 @@
119
133
  }
120
134
  }
121
135
 
122
- @include media-breakpoint-up(md) {
136
+ @media (min-width: @screen-md-min) {
123
137
  margin-top: 300px;
124
138
 
125
139
  [component="groups/cover"] {
@@ -137,18 +151,28 @@
137
151
  padding: .2em .3em .1em;
138
152
  }
139
153
  }
154
+
155
+ .options {
156
+ .user-title-option span.label {
157
+ .group-label;
158
+ }
159
+ }
140
160
  }
141
161
 
142
162
  .groups.list {
143
163
  [component="groups/summary"] {
164
+ .panel-body {
165
+ min-height: 72px;
166
+ }
167
+
144
168
  .list-cover {
145
169
  display: block;
146
170
  background-size: cover;
147
171
  min-height: 125px;
148
172
  background-position: 50% 50%;
149
- @include pointer;
173
+ .pointer;
150
174
 
151
- h5 {
175
+ h3 {
152
176
  background-color: rgba(0,0,0,0.5);
153
177
  display: inline-block;
154
178
  padding: 0.25em 0.5em;
@@ -5,7 +5,7 @@
5
5
  }
6
6
  }
7
7
 
8
- @mixin notification-list() {
8
+ .notification-list {
9
9
  overflow-x: hidden;
10
10
  overflow-y: auto;
11
11
  max-height: 250px;
@@ -19,6 +19,10 @@
19
19
  list-style-type: none;
20
20
  padding: .75em 0.5em;
21
21
 
22
+ &:hover {
23
+ background-color: @dropdown-link-hover-bg;
24
+ }
25
+
22
26
  &.loading-text, &.no-notifs {
23
27
  justify-content: center;
24
28
 
@@ -56,11 +60,11 @@
56
60
  }
57
61
 
58
62
  .mark-read {
59
- color: $text-muted;
63
+ color: @text-muted;
60
64
 
61
65
  &:after {
62
66
  font-family: "Font Awesome 5 Free";
63
- content: fa-content($fa-var-circle);
67
+ content: @fa-var-circle;
64
68
  font-weight: 400;
65
69
  padding: 4px 1rem;
66
70
  position: relative;
@@ -68,16 +72,16 @@
68
72
  }
69
73
 
70
74
  &:hover {
71
- color: darken($text-muted, 10%);
72
- @include pointer;
75
+ color: darken(@text-muted, 10%);
76
+ .pointer;
73
77
  }
74
78
  }
75
79
 
76
80
  &.unread {
77
- background-color: $warning;
81
+ background-color: @state-warning-bg;
78
82
 
79
83
  &:hover {
80
- background-color: darken($warning, 5%);
84
+ background-color: darken(@state-warning-bg, 5%);
81
85
  }
82
86
 
83
87
  .mark-read:after {
@@ -87,15 +91,11 @@
87
91
  }
88
92
  }
89
93
 
90
- .notification-list {
91
- @include notification-list;
92
- }
93
-
94
94
  .chat-list {
95
- @include notification-list;
95
+ .notification-list;
96
96
 
97
97
  > li {
98
- @include pointer;
98
+ .pointer;
99
99
  width: 500px;
100
100
  padding: 0;
101
101
  margin: 0;
@@ -114,7 +114,7 @@
114
114
  }
115
115
 
116
116
  &:not(:last-child) {
117
- border-bottom: 1px solid $dropdown-border-color;
117
+ border-bottom: 1px solid @dropdown-border;
118
118
  }
119
119
 
120
120
  &.no_active a {
@@ -146,11 +146,23 @@
146
146
  display: none !important; //temp
147
147
  }
148
148
 
149
+ .navbar-toggle {
150
+ .notification-icon {
151
+ position: absolute;
152
+ left: -13px;
153
+ top: 14px;
154
+
155
+ &:before {
156
+ display: none;
157
+ }
158
+ }
159
+ }
160
+
149
161
  #user_dropdown {
150
162
  padding: 9px 15px;
151
163
 
152
164
  img, .user-icon {
153
- @include user-icon-style(30px, 1.8rem, 50%);
165
+ .user-icon-style(30px, 1.8rem, 50%);
154
166
  border: 0px none;
155
167
 
156
168
  span {
@@ -160,11 +172,22 @@
160
172
  }
161
173
  }
162
174
 
175
+ .forum-title {
176
+ margin: 0px;
177
+ }
178
+
163
179
  .forum-logo {
180
+ float: left;
164
181
  max-height: 50px;
165
182
  width: auto;
166
183
  }
167
184
 
185
+ @media (max-width: @screen-xs-max) {
186
+ .forum-logo {
187
+ margin-left: 15px;
188
+ }
189
+ }
190
+
168
191
  .header-topic-title {
169
192
  text-align: right;
170
193
  padding: 15px 15px;
@@ -176,16 +199,31 @@
176
199
  span {
177
200
  text-overflow: ellipsis;
178
201
  white-space: nowrap;
179
- color: $primary;
202
+ color: @brand-primary;
180
203
  }
181
204
  }
182
205
 
183
206
  .notif-dropdown-link {
184
207
  border-top: 1px solid rgba(163, 163, 163, 0.5);
208
+ .btn-group-justified {
209
+ table-layout: auto;
210
+ }
185
211
  a {
186
212
  text-align: center;
187
213
  padding: 0.5em 0.5em;
188
214
  font-weight: 600;
215
+ color: @dropdown-link-color;
216
+
217
+ &:hover {
218
+ color: @dropdown-link-hover-color;
219
+ background: @dropdown-link-hover-bg;
220
+ }
221
+ }
222
+ }
223
+
224
+ #search-form {
225
+ .advanced-search-link {
226
+ margin-left: -30px;
189
227
  }
190
228
  }
191
229
  }
@@ -193,8 +231,9 @@
193
231
  .breadcrumb {
194
232
  li {
195
233
  max-width: 100%;
196
- @include text-ellipsis;
234
+ .text-ellipsis;
197
235
  position: relative;
236
+ top: calc(16px / 4);
198
237
  }
199
238
 
200
239
  .fa {
@@ -202,7 +241,11 @@
202
241
  color: rgb(153, 153, 153);
203
242
  }
204
243
 
205
- @include media-breakpoint-down(sm) {
244
+ font-size: 16px;
245
+ padding: 0;
246
+ background: none;
247
+
248
+ @media (max-width: @screen-xs-max) {
206
249
  li {
207
250
  display: none;
208
251
  }
@@ -241,52 +284,29 @@
241
284
  width: 350px;
242
285
  }
243
286
  }
244
- .unread-count {
245
- position: relative;
246
- &:after {
247
- position: absolute;
248
- left: 10px;
249
- top: -10px;
250
- font-size: 10px;
251
- text-align: center;
252
- border: 1px solid #890405;
253
- color: #fff;
254
- font-weight: bold;
255
- min-width: 16px;
256
- -webkit-border-radius: 3px;
257
- -moz-border-radius: 3px;
258
- border-radius: 3px;
259
- background: #c91106;
260
- padding: 1px 2px;
261
- font-family: $font-family-sans-serif;
262
- }
287
+
288
+ .unread-count:after {
289
+ position: absolute;
290
+ left: 23px;
291
+ top: 10px;
292
+ font-size: 10px;
293
+ text-align: center;
294
+ border: 1px solid #890405;
295
+ color: #fff;
296
+ font-weight: bold;
297
+ min-width: 16px;
298
+ -webkit-border-radius: 3px;
299
+ -moz-border-radius: 3px;
300
+ border-radius: 3px;
301
+ background: #c91106;
302
+ padding: 1px 2px;
303
+ font-family: @font-family-sans-serif;
263
304
  }
264
305
 
265
306
  .unread-count[data-content]:not([data-content=""]):not([data-content="0"]):after {
266
307
  content: attr(data-content);
267
308
  }
268
309
 
269
- .navbar-toggler {
270
- .notification-icon {
271
- position: absolute;
272
- &[component="unread/icon"]::after {
273
- left: -10px;
274
- }
275
- &[component="notifications/icon"]:after {
276
- left: -5px;
277
- top: -5px;
278
- }
279
- &[component="chat/icon"]:after {
280
- left: 20px;
281
- top: -5px;
282
- }
283
-
284
- &:before {
285
- display: none;
286
- }
287
- }
288
- }
289
-
290
310
  .slideout-menu .unread-count:after {
291
311
  position: relative;
292
312
  left: -6px;
@@ -295,6 +315,7 @@
295
315
 
296
316
  #search-form {
297
317
  #search-button {
318
+ float: right;
298
319
  max-width: 60px;
299
320
  width: auto;
300
321
  transition-property: max-width, padding-left, padding-right;
@@ -310,8 +331,12 @@
310
331
  padding-right: 0;
311
332
  }
312
333
  #search-fields {
334
+ width: auto;
335
+ max-width: 100%;
313
336
  overflow: hidden;
314
337
  transition: max-width 0.2s ease 0s;
338
+ max-height: 42px;
339
+ float: right;
315
340
  display: inline-block !important;
316
341
  visibility: visible !important;
317
342
 
@@ -321,14 +346,20 @@
321
346
 
322
347
  input.form-control {
323
348
  white-space: nowrap;
324
- outline: none;
325
- box-shadow: none;
349
+ }
350
+
351
+ .form-group .advanced-search-link {
352
+ margin: 0;
353
+ width: 0;
354
+ position: relative;
355
+ left: -30px;
326
356
  }
327
357
  }
328
358
  }
329
359
 
330
360
  body.skin-default .header {
331
361
  .notification-list {
362
+
332
363
  li {
333
364
  a {
334
365
  color: inherit;
@@ -346,6 +377,44 @@ label.dropdown-toggle {
346
377
  display: block;
347
378
  }
348
379
 
380
+ .navbar-default {
381
+ .navbar-nav {
382
+ > li > label {
383
+ color: @navbar-default-link-color;
384
+
385
+ &:hover,
386
+ &:focus {
387
+ color: @navbar-default-link-hover-color;
388
+ background-color: @navbar-default-link-hover-bg;
389
+ }
390
+ }
391
+ > .active > label {
392
+ &,
393
+ &:hover,
394
+ &:focus {
395
+ color: @navbar-default-link-active-color;
396
+ background-color: @navbar-default-link-active-bg;
397
+ }
398
+ }
399
+ > .disabled > label {
400
+ &,
401
+ &:hover,
402
+ &:focus {
403
+ color: @navbar-default-link-disabled-color;
404
+ background-color: @navbar-default-link-disabled-bg;
405
+ }
406
+ }
407
+ > .open > label {
408
+ &,
409
+ &:hover,
410
+ &:focus {
411
+ background-color: @navbar-default-link-active-bg;
412
+ color: @navbar-default-link-active-color;
413
+ }
414
+ }
415
+ }
416
+ }
417
+
349
418
  .dropdown-menu > li > form {
350
419
  > button, > .btn-link {
351
420
  text-align: left;
@@ -356,14 +425,21 @@ label.dropdown-toggle {
356
425
  padding: 3px 20px;
357
426
  clear: both;
358
427
  font-weight: normal;
359
- line-height: $line-height-base;
428
+ line-height: @line-height-base;
429
+ color: @dropdown-link-color;
360
430
  white-space: nowrap; // prevent links from randomly breaking onto new lines
361
431
 
362
432
  &:hover,
363
433
  &:focus {
364
434
  text-decoration: none;
365
- color: $dropdown-link-hover-color;
366
- background-color: $dropdown-link-hover-bg;
435
+ color: @dropdown-link-hover-color;
436
+ background-color: @dropdown-link-hover-bg;
367
437
  }
368
438
  }
369
439
  }
440
+
441
+ html[data-dir="rtl"] {
442
+ .dropdown-menu > li > form > button {
443
+ text-align: right;
444
+ }
445
+ }
File without changes
@@ -0,0 +1,7 @@
1
+ #blacklist-rules {
2
+ width: 100%;
3
+ height: 357px;
4
+ display: block;
5
+ border: 1px solid #eee;
6
+ padding: 5px 10px;
7
+ }
File without changes
@@ -1,34 +1,75 @@
1
+ .no-select {
2
+ .user-select(none);
3
+ }
4
+
5
+ .pointer {
6
+ cursor: pointer;
7
+ *cursor: hand;
8
+ }
9
+
10
+ .inline-block {
11
+ display: inline-block;
12
+ *display: inline;
13
+ zoom: 1;
14
+ }
15
+
16
+ .clear {
17
+ clear: both;
18
+ }
19
+
20
+ .zebra {
21
+ &:nth-child(even) {
22
+ background: rgba(191,191,191,0.2);
23
+ }
1
24
 
2
-
3
- @mixin timeline-style() {
25
+ &:nth-child(odd) {
26
+ background: rgba(223,223,223,0.2);
27
+ }
28
+ }
29
+
30
+ .border-radius (@radius: 5px) {
31
+ -webkit-border-radius: @radius;
32
+ -moz-border-radius: @radius;
33
+ -ms-border-radius: @radius;
34
+ -o-border-radius: @radius;
35
+ border-radius: @radius;
36
+ }
37
+
38
+ .text-ellipsis {
39
+ overflow: hidden;
40
+ text-overflow: ellipsis;
41
+ white-space: nowrap;
42
+ }
43
+
44
+ .timeline-style {
4
45
  > [component="post"], .timeline-event {
5
46
  position: relative; // for absolutely positioned pseudo-element, below
6
- border-left: 2px solid lighten($primary, 30%);
7
- margin-left: 1.5rem;
47
+ border-left: 2px solid lighten(@brand-primary, 30%);
48
+ margin-left: 2.5rem;
8
49
 
9
50
  &:not(:last-child) {
10
- padding-bottom: $post-padding;
51
+ padding-bottom: @post-padding;
11
52
  }
12
53
  &:not(:first-child) {
13
- padding-top: $post-padding;
54
+ padding-top: @post-padding;
14
55
  }
15
56
 
16
57
  > div:not(.content) {
17
- margin-left: -1.5rem;
58
+ margin-left: -2.5rem;
18
59
  }
19
60
 
20
61
  .icon .avatar, .timeline-badge {
21
62
  // Opaque ring
22
63
  position: relative;
23
64
  z-index: 1;
24
- box-shadow: 0 0 0 ($spacer * .5) $body-bg;
65
+ box-shadow: 0 0 0 .5rem @body-bg;
25
66
  }
26
67
  }
27
68
 
28
- @include media-breakpoint-down(sm) {
69
+ @media (max-width: @screen-sm-max) {
29
70
  [component="post"] {
30
71
  border: 0;
31
- padding: $post-padding 0;
72
+ padding: @post-padding 0;
32
73
 
33
74
  margin-left: initial;
34
75
  > div:not(.content) {
@@ -49,7 +90,7 @@
49
90
  position: absolute;
50
91
  top: 0;
51
92
  left: calc(-0.5rem - 1px);
52
- border-bottom: 2px solid lighten($primary, 30%);
93
+ border-bottom: 2px solid lighten(@brand-primary, 30%);
53
94
  }
54
95
 
55
96
  &+:not(.timeline-event):before {
@@ -66,7 +107,7 @@
66
107
  }
67
108
  }
68
109
 
69
- @include media-breakpoint-up(sm) {
110
+ @media (min-width: @screen-sm) {
70
111
  .timeline-event {
71
112
  [component="topic/event/delete"] {
72
113
  visibility: hidden;
@@ -77,7 +118,7 @@
77
118
  visibility: visible;
78
119
 
79
120
  &:hover {
80
- color: $danger;
121
+ color: @brand-danger;
81
122
  }
82
123
  }
83
124
  }
@@ -94,7 +135,7 @@
94
135
  position: absolute;
95
136
  bottom: 0;
96
137
  left: calc(-0.5rem - 1px);
97
- border-bottom: 2px solid lighten($primary, 30%);
138
+ border-bottom: 2px solid lighten(@brand-primary, 30%);
98
139
  }
99
140
 
100
141
  [component="topic/event"], [component="topic/necro-post"] {
@@ -115,15 +156,16 @@
115
156
  padding: 0;
116
157
  margin-left: -17px;
117
158
  margin-right: 17px;
118
- color: lighten($primary, 30%);
119
- background-color: $body-bg;
120
- border: 2px solid lighten($primary, 30%);
159
+ color: lighten(@brand-primary, 30%);
160
+ background-color: @body-bg;
161
+ border: 2px solid lighten(@brand-primary, 30%);
121
162
  border-radius: 50%;
122
163
  }
123
164
 
124
165
  .timeline-text {
125
166
  line-height: 32px;
126
167
  text-transform: initial;
168
+ color: rgba(127,127,127,.5);
127
169
  }
128
170
  }
129
171
  }
@@ -5,7 +5,7 @@
5
5
  }
6
6
 
7
7
  /* iPhone 5 and other such devices */
8
- @include media-breakpoint-down(sm) {
8
+ @media (max-width: @screen-sm-max) {
9
9
  .chat-modal {
10
10
  width: 100%;
11
11
  height: 100%;
@@ -33,7 +33,7 @@
33
33
  }
34
34
  }
35
35
 
36
- @include media-breakpoint-down(md) {
36
+ @media (max-width: @screen-md-max) {
37
37
  #panel {
38
38
  background-color: inherit;
39
39
  min-height: 100%;
@@ -50,6 +50,9 @@
50
50
  line-height: 30px;
51
51
  border: none;
52
52
 
53
+ html[data-dir="rtl"] button& {
54
+ margin-left: 0;
55
+ }
53
56
  &#mobile-menu {
54
57
  .unread-count::after {
55
58
  left: 32px;
@@ -67,7 +70,7 @@
67
70
  }
68
71
  }
69
72
  }
70
- .navbar .navbar-search {
73
+ .navbar-header .navbar-search {
71
74
  input[name="term"] {
72
75
  width: 150px;
73
76
  }
@@ -95,8 +98,10 @@
95
98
  a {
96
99
  height: 100%;
97
100
  padding-top: 15px;
98
- &.active {
99
- background-color: $dark;
101
+ }
102
+ &.active {
103
+ a {
104
+ background-color: #1D1F20;
100
105
  }
101
106
  }
102
107
  }
@@ -105,7 +110,8 @@
105
110
 
106
111
  .slideout-menu {
107
112
  z-index: 10000 !important;
108
- background-color: $dark;
113
+ background-color: #1D1F20;
114
+ background-image: linear-gradient(145deg, #1D1F20, #404348);
109
115
 
110
116
  a, button {
111
117
  color: #fff;
@@ -115,10 +121,7 @@
115
121
  text-decoration: underline;
116
122
  }
117
123
  }
118
- .nav-item .dropdown-menu {
119
- width: 100%;
120
- background-color: $dark;
121
- }
124
+
122
125
  .chat-list {
123
126
  max-height: 100%;
124
127
 
@@ -143,8 +146,10 @@
143
146
  left: 0;
144
147
 
145
148
  .avatar {
146
- $size: 40px;
147
- @include user-icon-style($size, calc($size * 0.6), 0);
149
+ height: 40px;
150
+ width: 40px;
151
+ font-size: 20px;
152
+ border-radius: 0;
148
153
  }
149
154
  }
150
155
 
@@ -310,7 +315,7 @@
310
315
  z-index: 1;
311
316
 
312
317
  img, .user-icon {
313
- @include user-icon-style(70px, 4rem);
318
+ .user-icon-style(70px, 4rem);
314
319
  position: absolute;
315
320
  bottom: -22px;
316
321
  left: 93px;