aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/sass
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/sass')
-rw-r--r--client/src/sass/include/_miniature.scss14
-rw-r--r--client/src/sass/include/_mixins.scss12
-rw-r--r--client/src/sass/primeng-custom.scss14
3 files changed, 29 insertions, 11 deletions
diff --git a/client/src/sass/include/_miniature.scss b/client/src/sass/include/_miniature.scss
index 36d4e84d3..25a024aac 100644
--- a/client/src/sass/include/_miniature.scss
+++ b/client/src/sass/include/_miniature.scss
@@ -28,15 +28,15 @@ $play-overlay-transition: 0.2s ease;
28$play-overlay-height: 26px; 28$play-overlay-height: 26px;
29$play-overlay-width: 18px; 29$play-overlay-width: 18px;
30 30
31@mixin miniature-thumbnail { 31@mixin miniature-thumbnail($width: $video-thumbnail-width, $height: $video-thumbnail-height) {
32 @include disable-outline; 32 @include disable-outline;
33 33
34 display: inline-block; 34 display: inline-block;
35 position: relative; 35 position: relative;
36 border-radius: 3px; 36 border-radius: 3px;
37 overflow: hidden; 37 overflow: hidden;
38 width: $video-thumbnail-width; 38 width: $width;
39 height: $video-thumbnail-height; 39 height: $height;
40 background-color: #ececec; 40 background-color: #ececec;
41 transition: filter $play-overlay-transition; 41 transition: filter $play-overlay-transition;
42 42
@@ -45,8 +45,8 @@ $play-overlay-width: 18px;
45 right: 0; 45 right: 0;
46 bottom: 0; 46 bottom: 0;
47 47
48 width: $video-thumbnail-width; 48 width: inherit;
49 height: $video-thumbnail-height; 49 height: inherit;
50 opacity: 0; 50 opacity: 0;
51 background-color: rgba(0, 0, 0, 0.7); 51 background-color: rgba(0, 0, 0, 0.7);
52 52
@@ -87,8 +87,8 @@ $play-overlay-width: 18px;
87 } 87 }
88 88
89 img { 89 img {
90 width: $video-thumbnail-width; 90 width: inherit;
91 height: $video-thumbnail-height; 91 height: inherit;
92 92
93 &.blur-filter { 93 &.blur-filter {
94 filter: blur(5px); 94 filter: blur(5px);
diff --git a/client/src/sass/include/_mixins.scss b/client/src/sass/include/_mixins.scss
index 3eefdb6fb..7faeec6bd 100644
--- a/client/src/sass/include/_mixins.scss
+++ b/client/src/sass/include/_mixins.scss
@@ -515,3 +515,15 @@
515 align-items: center; 515 align-items: center;
516 } 516 }
517} 517}
518
519@mixin dropdown-with-icon-item {
520 padding: 6px 24px;
521
522 my-global-icon {
523 width: 24px;
524
525 margin-right: 10px;
526 position: relative;
527 top: -2px;
528 }
529}
diff --git a/client/src/sass/primeng-custom.scss b/client/src/sass/primeng-custom.scss
index 6e502b028..6de145379 100644
--- a/client/src/sass/primeng-custom.scss
+++ b/client/src/sass/primeng-custom.scss
@@ -62,11 +62,9 @@ p-table {
62 tr { 62 tr {
63 &:hover { 63 &:hover {
64 background-color: var(--submenuColor) !important; 64 background-color: var(--submenuColor) !important;
65 }
66 65
67 &:not(:hover) { 66 .action-cell .dropdown-root {
68 .action-cell * { 67 display: block !important;
69 display: none !important;
70 } 68 }
71 } 69 }
72 70
@@ -140,6 +138,14 @@ p-table {
140 padding: 0 !important; 138 padding: 0 !important;
141 text-align: center; 139 text-align: center;
142 140
141 .dropdown-root {
142 display: none !important;
143
144 &.show {
145 display: block !important;
146 }
147 }
148
143 my-edit-button + my-delete-button { 149 my-edit-button + my-delete-button {
144 margin-left: 5px; 150 margin-left: 5px;
145 } 151 }