]>
Commit | Line | Data |
---|---|---|
8cbc40b2 C |
1 | @use '_variables' as *; |
2 | @use '_mixins' as *; | |
6702a1b2 | 3 | |
df9a1a13 C |
4 | .plugin { |
5 | margin: 15px 0; | |
218f730c | 6 | background-color: pvar(--submenuBackgroundColor); |
df9a1a13 C |
7 | } |
8 | ||
6702a1b2 | 9 | .first-row { |
03efb141 RK |
10 | display: flex; |
11 | align-items: center; | |
6702a1b2 C |
12 | margin-bottom: 10px; |
13 | ||
14 | .plugin-name { | |
27bc9586 C |
15 | @include margin-right(10px); |
16 | ||
6702a1b2 | 17 | font-size: 16px; |
6702a1b2 C |
18 | font-weight: $font-semibold; |
19 | } | |
20 | ||
21 | .plugin-version { | |
22 | opacity: 0.6; | |
23 | } | |
03efb141 RK |
24 | |
25 | .plugin-icon { | |
27bc9586 | 26 | @include margin-left(10px); |
c123027f | 27 | |
03efb141 | 28 | my-global-icon { |
e66883b3 | 29 | @include apply-svg-color(pvar(--greyForegroundColor)); |
c123027f | 30 | |
931d3430 | 31 | &[iconName=npm] { |
e66883b3 | 32 | @include fill-svg-color(pvar(--greyForegroundColor)); |
03efb141 RK |
33 | } |
34 | } | |
35 | } | |
36 | ||
37 | .buttons { | |
27bc9586 | 38 | @include margin-left(auto); |
faf7eab7 | 39 | |
29aedac8 | 40 | width: max-content; |
03efb141 | 41 | } |
6702a1b2 C |
42 | } |
43 | ||
44 | .second-row { | |
2dbbf860 RK |
45 | display: grid; |
46 | grid-template-columns: 1fr auto; | |
6702a1b2 C |
47 | align-items: center; |
48 | justify-content: space-between; | |
49 | ||
50 | .description { | |
931d3430 | 51 | opacity: 0.8; |
6702a1b2 | 52 | } |
6702a1b2 C |
53 | } |
54 | ||
55 | .action-button { | |
56 | @include peertube-button-link; | |
57 | @include button-with-icon(21px, 0, -2px); | |
58 | } | |
faf7eab7 C |
59 | |
60 | @media screen and (max-width: $small-view) { | |
61 | .first-row { | |
62 | flex-wrap: wrap; | |
63 | ||
64 | .buttons { | |
65 | flex-basis: 100%; | |
66 | margin-top: 10px; | |
67 | } | |
68 | } | |
69 | } |