]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/shared/shared-video-playlist/video-add-to-playlist.component.scss
Bumped to version v5.2.1
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / shared-video-playlist / video-add-to-playlist.component.scss
CommitLineData
8cbc40b2
C
1@use '_variables' as *;
2@use '_mixins' as *;
f0a39880 3
93d54cc7
C
4.header,
5.dropdown-item,
6.input-container {
54e78847 7 padding: 8px 24px;
93d54cc7 8}
f0a39880 9
b75410b8
C
10.dropdown-item:active {
11 color: inherit;
12}
13
93d54cc7
C
14.header {
15 min-width: 240px;
f0a39880
C
16 margin-bottom: 10px;
17 border-bottom: 1px solid $separator-border-color;
18
19 .first-row {
20 display: flex;
21 align-items: center;
22
23 .title {
24 font-size: 18px;
25 flex-grow: 1;
26 }
f0a39880
C
27 }
28}
29
223b24e6
RK
30.playlists {
31 max-height: 180px;
32 overflow-y: auto;
33}
34
f0a39880 35.playlist {
07098c33
C
36 padding: 0;
37
38 > .primary-row {
39 padding: 8px 10px 8px 24px;
40 }
41
42 > .optional-rows {
27bc9586 43 @include padding-left(24px);
07098c33 44 }
e79df4ee
C
45
46 &.has-optional-row:hover {
47 background-color: inherit;
48 }
49}
50
5b0ec7cd 51.primary-row {
e79df4ee 52 display: flex;
f0a39880
C
53
54 my-peertube-checkbox {
27bc9586 55 @include margin-right(10px);
5b0ec7cd 56
54e78847 57 align-self: center;
f0a39880
C
58 }
59
60 .display-name {
61 display: flex;
62 align-items: flex-end;
e79df4ee
C
63 flex-grow: 1;
64 margin: 0;
65 font-weight: $font-regular;
66 cursor: pointer;
67 }
68
69 .optional-row-icon {
d0fbc9fd
C
70 @include margin-left(5px);
71
e79df4ee
C
72 display: flex;
73 align-items: center;
74 font-size: 14px;
75 cursor: pointer;
76
77 my-global-icon {
78 @include apply-svg-color(#333);
27bc9586 79 @include margin-right(0);
e79df4ee
C
80
81 width: 19px;
82 height: 19px;
e79df4ee 83 }
d0fbc9fd
C
84
85 &:hover {
86 opacity: 0.8;
87 }
e79df4ee 88 }
e79df4ee
C
89}
90
91.optional-rows {
5b0ec7cd
C
92 display: grid;
93 grid-template-columns: 35px 80px 80px;
94 row-gap: 3px;
95 column-gap: 10px;
96 align-items: center;
e79df4ee
C
97
98 my-peertube-checkbox {
5b0ec7cd 99 @include margin-left(auto);
e79df4ee
C
100 }
101
5b0ec7cd 102 .header-label {
e79df4ee
C
103 font-size: 13px;
104 color: pvar(--greyForegroundColor);
5b0ec7cd 105 padding-left: 2px;
f0a39880 106
5b0ec7cd
C
107 &:nth-child(1) {
108 grid-column: 2;
109 }
27bc9586 110
5b0ec7cd
C
111 &:nth-child(2) {
112 grid-column: 3;
f0a39880
C
113 }
114 }
115}
116
117.new-playlist-button,
118.new-playlist-block {
119 padding-top: 10px;
f0a39880
C
120 border-top: 1px solid $separator-border-color;
121}
122
931d3430 123.new-playlist-button {
f0a39880
C
124 cursor: pointer;
125
126 my-global-icon {
127 @include apply-svg-color(#333);
27bc9586 128 @include margin-right(4px);
f0a39880
C
129
130 position: relative;
131 left: -1px;
132 top: -1px;
f0a39880
C
133 width: 21px;
134 height: 21px;
135 }
136}
137
138input[type=text] {
139 @include peertube-input-text(200px);
140
141 display: block;
142}
143
144input[type=submit] {
145 @include peertube-button;
146 @include orange-button;
147}