]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/+admin/plugins/shared/plugin-list.component.scss
Merge branch 'master' into release/3.3.0
[github/Chocobozzz/PeerTube.git] / client / src / app / +admin / plugins / shared / plugin-list.component.scss
CommitLineData
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);
03efb141 39 width: max-content;
faf7eab7 40
03efb141 41 > *:not(:last-child) {
27bc9586 42 @include margin-right(10px);
03efb141
RK
43 }
44 }
6702a1b2
C
45}
46
47.second-row {
2dbbf860
RK
48 display: grid;
49 grid-template-columns: 1fr auto;
6702a1b2
C
50 align-items: center;
51 justify-content: space-between;
52
53 .description {
931d3430 54 opacity: 0.8;
6702a1b2 55 }
6702a1b2
C
56}
57
58.action-button {
59 @include peertube-button-link;
60 @include button-with-icon(21px, 0, -2px);
61}
faf7eab7
C
62
63@media screen and (max-width: $small-view) {
64 .first-row {
65 flex-wrap: wrap;
66
67 .buttons {
68 flex-basis: 100%;
69 margin-top: 10px;
70 }
71 }
72}