blob: 40bae7668595319c856b4de69203820521426b77 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
|
@import '_variables';
@import '_mixins';
.videos-header {
display: flex;
justify-content: space-between;
margin: 20px 0 50px;
h4,
.fake-element {
flex: 1;
}
input[type=text] {
@include peertube-input-text(300px);
}
}
.action-button-delete-selection {
display: inline-block;
@include peertube-button;
@include orange-button;
@include button-with-icon(21px);
my-global-icon {
@include apply-svg-color(#fff);
}
}
::ng-deep {
.action-button span {
white-space: nowrap;
}
.video-miniature {
&.display-as-row {
// width: min-content !important;
width: 100% !important;
.video-bottom .video-miniature-information {
width: max-content !important;
min-width: unset !important;
}
}
.video-bottom {
max-width: 350px;
}
}
}
my-delete-button,
my-edit-button {
margin-right: 10px;
}
@media screen and (max-width: $small-view) {
.videos-header {
flex-direction: column;
}
::ng-deep {
.video-miniature {
align-items: center;
.video-bottom,
.video-bottom .video-miniature-information {
/* same width than a.video-thumbnail */
max-width: 223px !important;
}
}
}
my-delete-button,
my-edit-button {
margin-right: 0px;
::ng-deep {
span, a {
margin-right: 0px;
}
}
}
my-delete-button,
my-edit-button,
my-button {
margin-top: 15px;
width: 100%;
text-align: center;
::ng-deep {
.action-button {
/* same width than a.video-thumbnail */
width: 223px;
}
}
}
}
|