liferay-frontend-theme-styled 6.0.31 → 6.0.32

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.
@@ -17,7 +17,6 @@
17
17
  @import 'application/file_icons_colors';
18
18
  @import 'application/item_selector';
19
19
  @import 'application/item_viewer';
20
- @import 'application/list_group_deprecated';
21
20
  @import 'application/menu';
22
21
  @import 'application/misc';
23
22
  @import 'application/modal';
package/css/_extras.scss CHANGED
@@ -1,123 +1,61 @@
1
- @mixin keyframes($name) {
2
- @keyframes #{$name} {
3
- @content;
4
- }
5
- }
6
-
7
- .menu-content,
8
- .underlay-content {
9
- box-shadow: 2px 4px 7px rgba(0, 0, 0, 0.5);
10
- }
11
-
12
- .lfr-ddm-container .file-entry-upload-progress {
13
- border-radius: 0 0 4px 4px;
14
- }
15
-
16
- .lfr-preview-file-image img {
17
- box-shadow: 0 3px 5px -3px rgba(0, 0, 0, 0.8);
18
- }
19
-
20
- .lfr-preview-file-image-current-column {
21
- box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.8);
22
- }
23
-
24
- .lfr-preview-file-image-current-column {
25
- box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.8);
26
- }
27
-
28
- .portlet-document-library,
29
- .portlet-dynamic-data-mapping {
30
- .lfr-ddm-small-image-preview {
31
- box-shadow: 0 1px 3px #ccc;
32
- }
33
- }
34
-
35
- .portlet-document-library-upload-mask .overlaymask-content {
36
- border-radius: 5px;
37
- }
38
-
39
- .overlaymask-content {
40
- background-color: #fff;
41
- }
42
-
43
- :not(.inline-item) {
44
- > .loading-animation {
1
+ .loading-animation {
2
+ :not(.inline-item) > & {
45
3
  margin-bottom: 20px;
46
4
  margin-top: 20px;
47
5
  }
48
- }
49
6
 
50
- .product-menu {
51
- .loading-animation {
7
+ .product-menu & {
52
8
  margin-top: 160px;
53
9
  }
54
10
  }
55
11
 
56
- .lfr-search-combobox-item {
57
- border-radius: 1px;
58
- }
12
+ @keyframes lfr-drop-active {
13
+ 0% {
14
+ background-color: #ebebeb;
15
+ border-color: #ddd;
16
+ }
59
17
 
60
- .lfr-search-combobox {
61
- .field-input-text {
62
- border-radius: 4px 1px 1px 4px;
18
+ 50% {
19
+ background-color: #ddedde;
20
+ border-color: #7d7;
21
+ transform: scale(1.1);
63
22
  }
64
23
 
65
- .button-input {
66
- border-radius: 1px 4px 4px 1px;
24
+ 75% {
25
+ background-color: #ddedde;
26
+ border-color: #7d7;
67
27
  }
68
- }
69
28
 
70
- .lfr-upload-container .progress-bar,
71
- .lfr-upload-container .progress,
72
- .lfr-editable:after {
73
- border-radius: 10px;
29
+ 100% {
30
+ background-color: #ebebeb;
31
+ border-color: #ddd;
32
+ }
74
33
  }
75
34
 
76
- .portlet-language .portlet-body {
77
- .current-language,
78
- .taglib-icon,
79
- .taglib-language-list-text {
35
+ .lfr-upload-container {
36
+ .progress-bar,
37
+ .progress {
80
38
  border-radius: 10px;
81
39
  }
82
- }
83
40
 
84
- body > .lfr-menu-list ul,
85
- .active-area-proxy,
86
- .lfr-api-results,
87
- .lfr-translation-manager,
88
- .lfr-translation-manager-translation,
89
- .lfr-upload-container .cancel-button .modify-pages .delete-tab,
90
- .portlet-image-gallery-display .image-thumbnail img,
91
- .rule-group-instance-container .rule-group-instance,
92
- .select-documents,
93
- .select-files,
94
- .tags-search-combobox .field-input-text {
95
- border-radius: 4px;
96
- }
41
+ .upload-file,
42
+ .upload-target {
43
+ border-radius: 5px;
44
+ }
97
45
 
98
- .lfr-search-combobox,
99
- .lfr-upload-container .upload-file,
100
- .lfr-upload-container .upload-target,
101
- .portlet-document-library .common-file-metadata-container.selected,
102
- .portlet-document-library-display .common-file-metadata-container.selected,
103
- .portlet-image-gallery-display .image-icon,
104
- .select-documents,
105
- .select-files {
106
- border-radius: 5px;
107
- }
46
+ .upload-target {
47
+ .upload-drop-active & {
48
+ animation: none;
49
+ }
108
50
 
109
- .portlet-dynamic-data-list-display,
110
- .portlet-dynamic-data-lists {
111
- .lfr-ddm-container {
112
- .lfr-ddm-repeatable-placeholder {
113
- border-radius: 6px;
51
+ .upload-drop-intent & {
52
+ animation: lfr-drop-active 1s ease 0.2s infinite;
114
53
  }
115
54
  }
116
55
  }
117
56
 
118
- .menu-content {
119
- border-bottom-left-radius: 4px;
120
- border-bottom-right-radius: 4px;
57
+ .select-files {
58
+ border-radius: 5px;
121
59
  }
122
60
 
123
61
  .taglib-form-navigator > .form-steps > ul.form-navigator.list-group {
@@ -140,61 +78,7 @@ body > .lfr-menu-list ul,
140
78
  }
141
79
  }
142
80
 
143
- .underlay-content {
144
- border-bottom-left-radius: 8px;
145
- border-bottom-right-radius: 8px;
146
- }
147
-
148
- .input-localized {
149
- .lfr-input-localized-state {
150
- border-radius: 3px;
151
- }
152
-
153
- .lfr-input-localized .lfr-input-localized-state {
154
- box-shadow: 0 0 3px #ddd;
155
-
156
- &.lfr-input-localized-state-error {
157
- box-shadow: 0 0 3px #ff0047;
158
- }
159
- }
160
-
161
- .palette-item-selected .lfr-input-localized-state {
162
- box-shadow: 0 0 3px #27c1f2;
163
- }
164
- }
165
-
166
- .lfr-content-preview-popup .lfr-content-preview-popup-content {
167
- border-radius: 0;
168
- box-shadow: 8px 3px 7px rgba(0, 0, 0, 0.25);
169
- }
170
-
171
- .lfr-message .lfr-message-control {
172
- border-radius: 10px;
173
- }
174
-
175
- .lfr-token {
176
- border-radius: 8px;
177
- }
178
-
179
- .staging-tabview-list {
180
- border-radius: 0;
181
- }
182
-
183
- .site-variations-tabview-list .tab-content,
184
- .staging-tabview-list .tab-active .tab-content,
185
- .tagselector-content .textboxlistentry-holder .lfr-tag-selector-input:focus {
186
- box-shadow: none;
187
- }
188
-
189
- .rule-group-instance-container .rule-group-instance {
190
- box-shadow: 1px 1px 2px #999;
191
- }
192
-
193
- .lfr-action-label {
194
- border-radius: 2px;
195
- }
196
-
197
- @include keyframes(progress-bar-stripes) {
81
+ @keyframes progress-bar-stripes {
198
82
  from {
199
83
  background-position: 40px 0;
200
84
  }
@@ -208,7 +92,6 @@ body > .lfr-menu-list ul,
208
92
  .lfr-upload-container .file-uploading .progress-bar .progress {
209
93
  $transparent: rgba(255, 255, 255, 0);
210
94
 
211
- -webkit-animation: progress-bar-stripes 0.5s linear infinite;
212
95
  animation: progress-bar-stripes 0.5s linear infinite;
213
96
  background-image: linear-gradient(
214
97
  -45deg,
@@ -228,7 +111,7 @@ body > .lfr-menu-list ul,
228
111
  }
229
112
  }
230
113
 
231
- @include keyframes(highlight-animation) {
114
+ @keyframes highlight-animation {
232
115
  from {
233
116
  background-color: #ffc;
234
117
  }
@@ -239,60 +122,9 @@ body > .lfr-menu-list ul,
239
122
  }
240
123
 
241
124
  .highlight-animation {
242
- -webkit-animation: highlight-animation 0.7s;
243
125
  animation: highlight-animation 0.7s;
244
126
  }
245
127
 
246
- .lfr-spa-loading .lfr-spa-loading-bar {
247
- -webkit-animation: shift-rightwards 1s ease-in-out infinite;
248
- animation: shift-rightwards 1s ease-in-out infinite;
249
- -webkit-animation-delay: 0.4s;
250
- animation-delay: 0.4s;
251
- }
252
-
253
- .lfr-spa-loading-bar {
254
- transform: translateX(100%);
255
- }
256
-
257
- @keyframes shift-rightwards {
258
- 0% {
259
- transform: translateX(-100%);
260
- }
261
- 40% {
262
- transform: translateX(0%);
263
- }
264
- 60% {
265
- transform: translateX(0%);
266
- }
267
- 100% {
268
- transform: translateX(100%);
269
- }
270
- }
271
-
272
- .mobile.touch body:first-of-type .portlet-content .lfr-icon-actions {
273
- .lfr-icon-menu-text,
274
- .taglib-text {
275
- max-width: 200px;
276
- }
277
- }
278
-
279
- .portlet-boundary.yui3-dd-dragging {
280
- transform: scale(0.8);
281
- transition: transform 0.3s ease;
282
-
283
- @media (prefers-reduced-motion: reduce) {
284
- transition: none;
285
- }
286
- }
287
-
288
- .portlet-document-library .entry-thumbnail .label,
289
- .portlet-document-library-display .workflow-status .label,
290
- .portlet-journal .entry-thumbnail .label {
291
- border-bottom-left-radius: 0;
292
- border-top-left-radius: 0;
293
- border-top-right-radius: 0;
294
- }
295
-
296
128
  .portlet-options.btn-group {
297
129
  &,
298
130
  &.open {
@@ -302,150 +134,6 @@ body > .lfr-menu-list ul,
302
134
  }
303
135
  }
304
136
 
305
- @keyframes lfr-drop-active {
306
- 0% {
307
- background-color: #ebebeb;
308
- border-color: #ddd;
309
- }
310
-
311
- 50% {
312
- background-color: #ddedde;
313
- border-color: #7d7;
314
- transform: scale(1.1);
315
- }
316
-
317
- 75% {
318
- background-color: #ddedde;
319
- border-color: #7d7;
320
- }
321
-
322
- 100% {
323
- background-color: #ebebeb;
324
- border-color: #ddd;
325
- }
326
- }
327
-
328
- .upload-drop-active {
329
- .lfr-upload-container .upload-target {
330
- -webkit-animation: none;
331
- animation: none;
332
- }
333
- }
334
-
335
- .upload-drop-intent .lfr-upload-container .upload-target {
336
- -webkit-animation: lfr-drop-active 1s ease 0.2s infinite;
337
- animation: lfr-drop-active 1s ease 0.2s infinite;
338
- }
339
-
340
- .quick-access-nav {
341
- a {
342
- box-shadow: rgba(0, 0, 0, 0.1) 1px 1px 1px;
343
- }
344
- }
345
-
346
- .cke_toolbar {
347
- &.cke_toolbar__a11yhelpbtn {
348
- .cke_toolgroup,
349
- .cke_toolgroup:hover {
350
- box-shadow: initial;
351
- }
352
-
353
- .cke_button {
354
- &:hover {
355
- box-shadow: none;
356
- }
357
-
358
- .cke_button_label {
359
- &:after {
360
- background-image: linear-gradient(#fff, #e4e4e4);
361
- border-radius: 2px;
362
- }
363
-
364
- &:hover:after {
365
- background-image: linear-gradient(#f2f2f2, #ccc);
366
- }
367
- }
368
- }
369
- }
370
- }
371
-
372
- // ---------- Switches ----------
373
-
374
- input.switch {
375
- &:focus ~ .switch-bar:before {
376
- box-shadow: 0 0 3px #00f;
377
- }
378
-
379
- &:empty ~ .switch-bar {
380
- &:after,
381
- &:before,
382
- .switch-icon,
383
- .switch-toggle:after,
384
- .switch-toggle:before {
385
- @include transition(all 100ms ease-in);
386
- }
387
- }
388
- }
389
-
390
- // ---------- Image selector ----------
391
-
392
- .taglib-image-selector {
393
- .selection-status {
394
- @include transition(opacity 0.2s ease-in-out);
395
-
396
- border-radius: 30px;
397
- }
398
-
399
- .progress-wrapper .progressbar {
400
- border-radius: 0;
401
- }
402
- }
403
-
404
- // ---------- Drop here info ----------
405
-
406
- .drop-here-info {
407
- @include transition(all 0.2s ease-in-out);
408
-
409
- .drop-icons {
410
- @include transition(all 0.2s ease-in-out);
411
-
412
- span {
413
- @include transition(all 0.3s ease-in-out);
414
-
415
- border-radius: 3px;
416
- }
417
-
418
- span:nth-of-type(1) {
419
- box-shadow: 5px 4px 0 0 rgba(0, 0, 0, 0.08);
420
- transform: rotate(25deg);
421
- }
422
-
423
- span:nth-of-type(2) {
424
- box-shadow: 0 6px 0 -2px rgba(0, 0, 0, 0.15);
425
- transform: scale(0.8);
426
- }
427
-
428
- span:nth-of-type(3) {
429
- box-shadow: -5px 4px 0 0 rgba(0, 0, 0, 0.08);
430
- transform: rotate(-25deg);
431
- }
432
- }
433
- }
434
-
435
- .drop-active .drop-here-info {
436
- span:nth-of-type(1) {
437
- transform: rotate(-20deg);
438
- }
439
-
440
- span:nth-of-type(2) {
441
- transform: scale(1);
442
- }
443
-
444
- span:nth-of-type(3) {
445
- transform: rotate(15deg);
446
- }
447
- }
448
-
449
137
  .form-group.form-inline {
450
138
  &.input-boolean-wrapper,
451
139
  &.input-checkbox-wrapper {
@@ -89,6 +89,12 @@ html#{$cadmin-selector} {
89
89
 
90
90
  .portlet-boundary.yui3-dd-dragging {
91
91
  opacity: 0.6;
92
+ transform: scale(0.8);
93
+ transition: transform 0.3s ease;
94
+
95
+ @media (prefers-reduced-motion: reduce) {
96
+ transition: none;
97
+ }
92
98
 
93
99
  .portlet {
94
100
  border: 2px dashed #ccc;
@@ -148,3 +154,7 @@ html#{$cadmin-selector} {
148
154
  .yui3-dd-proxy {
149
155
  z-index: 1110 !important;
150
156
  }
157
+
158
+ .portlet-column-content.empty {
159
+ padding: $portlet-column-content-empty-padding;
160
+ }
@@ -183,3 +183,7 @@ $user-icon-color-6: #9be169 !default;
183
183
  $user-icon-color-7: #af78ff !default;
184
184
  $user-icon-color-8: #ffd76e !default;
185
185
  $user-icon-color-9: #5fc8ff !default;
186
+
187
+ // ---------- Column widths ----------
188
+
189
+ $portlet-column-content-empty-padding: 50px;
@@ -1,11 +0,0 @@
1
- // ---------- Column widths ----------
2
-
3
- .portlet-column-content.empty {
4
- padding: $portlet-column-content-empty-padding;
5
- }
6
-
7
- // ---------- Wrapper ----------
8
-
9
- #wrapper {
10
- position: relative;
11
- }
@@ -1 +0,0 @@
1
- $portlet-column-content-empty-padding: 50px;
package/css/main.scss CHANGED
@@ -14,8 +14,6 @@
14
14
 
15
15
  @import 'portlet';
16
16
 
17
- @import 'widget';
18
-
19
17
  @import 'extras';
20
18
 
21
19
  @import 'custom';
@@ -1,61 +0,0 @@
1
- .modify-pages {
2
- li {
3
- position: relative;
4
-
5
- &.lfr-nav-hover {
6
- .delete-tab {
7
- opacity: 1;
8
- }
9
- }
10
- }
11
-
12
- .delete-tab {
13
- color: #444;
14
- cursor: pointer;
15
- display: block;
16
- font-size: 20px;
17
- font-weight: bold;
18
- height: 16px;
19
- line-height: 6px;
20
- margin-top: -8px;
21
- opacity: 0;
22
- overflow: hidden;
23
- padding: 3px 0;
24
- position: absolute;
25
- right: 1px;
26
- text-shadow: 0 1px #fff;
27
- top: 50%;
28
-
29
- &:hover {
30
- color: #b50303;
31
- }
32
- }
33
-
34
- .drag-handle {
35
- cursor: move;
36
- left: 3px;
37
- margin-left: 15px;
38
- position: absolute;
39
- top: 15px;
40
- }
41
- }
42
-
43
- .controls-hidden .modify-pages {
44
- .drag-handle {
45
- display: none;
46
- }
47
- }
48
-
49
- .touch .modify-pages {
50
- @include media-breakpoint-up(md) {
51
- .drag-handle {
52
- display: none;
53
- }
54
- }
55
- }
56
-
57
- .nav {
58
- li .toolbar {
59
- margin-top: 5px;
60
- }
61
- }
@@ -1,56 +0,0 @@
1
- .navigation-pane {
2
- .body-row {
3
- height: 100%;
4
- overflow: hidden;
5
- position: relative;
6
- width: 100%;
7
-
8
- ul li a .icon {
9
- float: left;
10
- margin-right: 5px;
11
- }
12
- }
13
-
14
- .lfr-component {
15
- margin-left: 0;
16
- }
17
-
18
- .navigation-entry {
19
- position: relative;
20
-
21
- &.folder.error {
22
- display: block;
23
- padding: 6px 8px;
24
- }
25
-
26
- .browse-folder,
27
- .nav-item-label {
28
- @include text-truncate();
29
-
30
- vertical-align: middle;
31
- }
32
-
33
- .nav-item-icon {
34
- vertical-align: middle;
35
- }
36
-
37
- .overlay.entry-action {
38
- bottom: 0;
39
- display: block;
40
- overflow: hidden;
41
- position: absolute;
42
- right: 0;
43
- top: 0;
44
-
45
- .btn {
46
- border-width: 0;
47
- margin: 0;
48
- padding: 11px 14px;
49
-
50
- @include media-breakpoint-up(md) {
51
- padding: 11px;
52
- }
53
- }
54
- }
55
- }
56
- }
@@ -1,45 +0,0 @@
1
- .nav-menu {
2
- ul {
3
- padding-left: 10px;
4
- }
5
-
6
- li a {
7
- &.ancestor {
8
- font-weight: bold;
9
- }
10
-
11
- &.selected {
12
- color: #000;
13
- font-weight: bold;
14
- text-decoration: none;
15
- }
16
- }
17
- }
18
-
19
- .nav-menu-style-arrows ul {
20
- list-style-image: url(../images/arrows/04_right.png);
21
- }
22
-
23
- .portlet-navigation {
24
- .nav-pills > li {
25
- > a {
26
- margin-bottom: 2px;
27
- }
28
-
29
- > .dropdown-menu {
30
- margin-top: 0;
31
- }
32
- }
33
- }
34
-
35
- .split-button-dropdowns {
36
- list-style: none;
37
- margin: 0;
38
- padding: 0;
39
-
40
- > li {
41
- display: inline-block;
42
- padding-left: 2px;
43
- padding-right: 2px;
44
- }
45
- }