]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/+admin/plugins/shared/plugin-list.component.scss
Cleanup plugins admin CSS
[github/Chocobozzz/PeerTube.git] / client / src / app / +admin / plugins / shared / plugin-list.component.scss
CommitLineData
6702a1b2
C
1@import '_variables';
2@import '_mixins';
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 {
15 font-size: 16px;
16 margin-right: 10px;
17 font-weight: $font-semibold;
18 }
19
20 .plugin-version {
21 opacity: 0.6;
22 }
03efb141
RK
23
24 .plugin-icon {
25 margin-left: 10px;
c123027f 26
03efb141 27 my-global-icon {
e66883b3 28 @include apply-svg-color(pvar(--greyForegroundColor));
c123027f 29
931d3430 30 &[iconName=npm] {
e66883b3 31 @include fill-svg-color(pvar(--greyForegroundColor));
03efb141
RK
32 }
33 }
34 }
35
36 .buttons {
37 margin-left: auto;
38 width: max-content;
faf7eab7 39
03efb141
RK
40 > *:not(:last-child) {
41 margin-right: 10px;
42 }
43 }
6702a1b2
C
44}
45
46.second-row {
2dbbf860
RK
47 display: grid;
48 grid-template-columns: 1fr auto;
6702a1b2
C
49 align-items: center;
50 justify-content: space-between;
51
52 .description {
931d3430 53 opacity: 0.8;
6702a1b2 54 }
6702a1b2
C
55}
56
57.action-button {
58 @include peertube-button-link;
59 @include button-with-icon(21px, 0, -2px);
60}
faf7eab7
C
61
62@media screen and (max-width: $small-view) {
63 .first-row {
64 flex-wrap: wrap;
65
66 .buttons {
67 flex-basis: 100%;
68 margin-top: 10px;
69 }
70 }
71}