]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/+admin/plugins/shared/plugin-card.component.scss
Fix top menu opacity
[github/Chocobozzz/PeerTube.git] / client / src / app / +admin / plugins / shared / plugin-card.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
C
17 font-weight: $font-semibold;
18 }
19
20 .plugin-version {
3d2078d6 21 opacity: 0.7;
6702a1b2 22 }
03efb141
RK
23
24 .plugin-icon {
27bc9586 25 @include 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 {
27bc9586 37 @include margin-left(auto);
faf7eab7 38
29aedac8 39 width: max-content;
03efb141 40 }
6702a1b2
C
41}
42
43.second-row {
2dbbf860
RK
44 display: grid;
45 grid-template-columns: 1fr auto;
6702a1b2
C
46 align-items: center;
47 justify-content: space-between;
48
49 .description {
931d3430 50 opacity: 0.8;
6702a1b2 51 }
6702a1b2
C
52}
53
54.action-button {
55 @include peertube-button-link;
56 @include button-with-icon(21px, 0, -2px);
57}
faf7eab7
C
58
59@media screen and (max-width: $small-view) {
60 .first-row {
61 flex-wrap: wrap;
62
63 .buttons {
64 flex-basis: 100%;
65 margin-top: 10px;
66 }
67 }
68}