Skip to content

Commit

Permalink
Fix: missing Add badges to glitch and atsu1125 specific settings
Browse files Browse the repository at this point in the history
  • Loading branch information
atsu1125 committed Oct 11, 2022
1 parent 1614abc commit c7c1401
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
16 changes: 16 additions & 0 deletions app/javascript/flavours/glitch/styles/accounts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,10 @@
}

.account-role,
.glitch_features,
.atsu1125_features,
.simple_form .glitch_features,
.simple_form .atsu1125_features,
.simple_form .recommended {
display: inline-block;
padding: 4px 6px;
Expand All @@ -229,6 +233,18 @@
}
}

.glitch_features,
.simple_form .glitch_features {
background-color: rgba($glitch-theme-color, 0.1);
border: 1px solid $glitch-theme-color;
}

.atsu1125_features,
.simple_form .atsu1125_features {
background-color: rgba($atsu1125-theme-color, 0.1);
border: 1px solid $atsu1125-theme-color;
}

.account__header__fields {
max-width: 100vw;
padding: 0;
Expand Down
2 changes: 2 additions & 0 deletions app/javascript/flavours/glitch/styles/forms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ code {
}
}

.glitch_features,
.atsu1125_features,
.recommended {
position: absolute;
margin: 0 4px;
Expand Down
2 changes: 2 additions & 0 deletions app/javascript/flavours/glitch/styles/variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ $success-green: #79bd9a; // Padua
$error-red: #df405a; // Cerise
$warning-red: #ff5050; // Sunset Orange
$gold-star: #ca8f04; // Dark Goldenrod
$glitch-theme-color: #00fa9a;
$atsu1125-theme-color: #00ffff;

$red-bookmark: $warning-red;

Expand Down

0 comments on commit c7c1401

Please sign in to comment.