]>
Commit | Line | Data |
---|---|---|
6f02515e RK |
1 | // Bootstrap grid utilities require functions, variables and mixins |
2 | @import 'node_modules/bootstrap/scss/functions'; | |
3 | @import 'node_modules/bootstrap/scss/variables'; | |
4 | @import 'node_modules/bootstrap/scss/mixins'; | |
5 | @import 'node_modules/bootstrap/scss/grid'; | |
6 | ||
7 | @import 'variables'; | |
8 | @import 'mixins'; | |
63c4db6d | 9 | |
a6d5ff76 RK |
10 | label { |
11 | font-weight: $font-regular; | |
12 | font-size: 100%; | |
13 | } | |
14 | ||
15a7387d C |
15 | .peertube-select-container { |
16 | @include peertube-select-container(auto); | |
17 | } | |
18 | ||
2ba5ac33 RK |
19 | .title-page a { |
20 | color: var(--mainForegroundColor); | |
21 | ||
22 | &:hover { | |
23 | text-decoration: none; | |
24 | opacity: .8; | |
25 | } | |
26 | } | |
27 | ||
017c3dca C |
28 | my-peertube-checkbox { |
29 | display: block; | |
30 | margin-bottom: 1rem; | |
31 | } | |
32 | ||
45c6bcf3 C |
33 | .nav-tabs { |
34 | margin-bottom: 15px; | |
35 | } | |
36 | ||
4cc66133 C |
37 | .video-edit { |
38 | height: 100%; | |
40e87e9e | 39 | min-height: 300px; |
4cc66133 C |
40 | |
41 | .form-group { | |
42 | margin-bottom: 25px; | |
43 | } | |
44 | ||
45 | input { | |
46 | @include peertube-input-text(100%); | |
47 | display: block; | |
4cc66133 C |
48 | } |
49 | ||
cb9244de C |
50 | .label-tags + span { |
51 | font-size: 15px; | |
52 | } | |
6de36768 | 53 | |
07fa4c97 C |
54 | .advanced-settings .form-group { |
55 | margin-bottom: 20px; | |
56 | } | |
4cc66133 C |
57 | } |
58 | ||
40e87e9e C |
59 | .captions { |
60 | ||
61 | .captions-header { | |
62 | text-align: right; | |
6f02515e | 63 | margin-bottom: 1rem; |
40e87e9e C |
64 | |
65 | .create-caption { | |
457bb213 | 66 | @include create-button; |
40e87e9e C |
67 | } |
68 | } | |
69 | ||
70 | .caption-entry { | |
71 | display: flex; | |
72 | height: 40px; | |
73 | align-items: center; | |
74 | ||
772d5642 C |
75 | a.caption-entry-label { |
76 | @include disable-default-a-behaviour; | |
77 | ||
6f02515e | 78 | flex-grow: 1; |
772d5642 C |
79 | color: #000; |
80 | ||
81 | &:hover { | |
82 | opacity: 0.8; | |
83 | } | |
84 | } | |
85 | ||
40e87e9e C |
86 | .caption-entry-label { |
87 | font-size: 15px; | |
88 | font-weight: bold; | |
89 | ||
90 | margin-right: 20px; | |
772d5642 C |
91 | width: 150px; |
92 | } | |
93 | ||
94 | .caption-entry-state { | |
95 | width: 200px; | |
96 | ||
97 | &.caption-entry-state-create { | |
98 | color: #39CC0B; | |
99 | } | |
100 | ||
101 | &.caption-entry-state-delete { | |
102 | color: #FF0000; | |
103 | } | |
40e87e9e C |
104 | } |
105 | ||
106 | .caption-entry-delete { | |
107 | @include peertube-button; | |
108 | @include grey-button; | |
109 | } | |
110 | } | |
111 | ||
112 | .no-caption { | |
113 | text-align: center; | |
114 | font-size: 15px; | |
115 | } | |
116 | } | |
117 | ||
4cc66133 C |
118 | .submit-container { |
119 | text-align: right; | |
4cc66133 | 120 | |
cadb46d8 C |
121 | .message-submit { |
122 | display: inline-block; | |
123 | margin-right: 25px; | |
124 | ||
457bb213 | 125 | color: $grey-foreground-color; |
cadb46d8 C |
126 | font-size: 15px; |
127 | } | |
128 | ||
4cc66133 C |
129 | .submit-button { |
130 | @include peertube-button; | |
131 | @include orange-button; | |
457bb213 | 132 | @include button-with-icon(20px, 1px); |
4cc66133 C |
133 | |
134 | display: inline-block; | |
135 | ||
136 | input { | |
137 | cursor: inherit; | |
138 | background-color: inherit; | |
139 | border: none; | |
140 | padding: 0; | |
cadb46d8 | 141 | outline: 0; |
63347a0f C |
142 | color: inherit; |
143 | font-weight: $font-semibold; | |
4cc66133 | 144 | } |
4cc66133 C |
145 | } |
146 | } | |
147 | ||
bbe0f064 C |
148 | p-calendar { |
149 | display: block; | |
150 | ||
03652b31 | 151 | ::ng-deep { |
bbe0f064 C |
152 | input, |
153 | .ui-calendar { | |
154 | width: 100%; | |
155 | } | |
156 | ||
157 | input { | |
158 | @include peertube-input-text(100%); | |
159 | color: #000; | |
160 | } | |
161 | } | |
162 | } | |
163 | ||
6f02515e RK |
164 | @include ng2-tags; |
165 | ||
166 | // columns for the video | |
167 | .col-video-edit { | |
168 | @include make-col-ready(); | |
169 | ||
170 | @include media-breakpoint-up(md) { | |
171 | @include make-col(7); | |
172 | ||
173 | & + .col-video-edit { | |
174 | @include make-col(5); | |
175 | } | |
176 | } | |
177 | ||
178 | @include media-breakpoint-up(xl) { | |
179 | @include make-col(8); | |
180 | ||
181 | & + .col-video-edit { | |
182 | @include make-col(4); | |
183 | } | |
184 | } | |
185 | } | |
186 | ||
187 | :host-context(.expanded) { | |
188 | .col-video-edit { | |
189 | @include media-breakpoint-up(md) { | |
190 | @include make-col(8); | |
b15fe00f | 191 | |
6f02515e RK |
192 | & + .col-video-edit { |
193 | @include make-col(4); | |
194 | } | |
195 | } | |
196 | } | |
197 | } |