Skip to content

Commit

Permalink
unbreak combos
Browse files Browse the repository at this point in the history
  • Loading branch information
danirabbit committed Feb 16, 2024
1 parent c29375b commit b199a54
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 34 deletions.
35 changes: 35 additions & 0 deletions data/styles/AppInfoView.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,41 @@ appinfoview {
combobox {
margin-top: rem(12px);
}

button.text-button,
button.image-button {
background-color: #{'@banner_fg_color'};
background-image: none;
border: none;
box-shadow: none;
color: #{'@banner_bg_color'};
font-size: 11pt;
font-weight: 600;

/*Hack to make the button square-ish*/
&.raised {
padding: 0 0.333em;
}

&:active,
&:checked {
opacity: 0.9;
}

&:disabled {
opacity: 0.33;
}

&:not(.suggested-action) {
opacity: 0.8;
}

label,
image {
color: inherit;
font-weight: inherit;
}
}
}

.content-warning-box {
Expand Down
34 changes: 0 additions & 34 deletions data/styles/Banner.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,38 +34,4 @@
0 8px 12px #{'alpha(shade(@banner_bg_color, 0.8), 0.6)'};
}
}

button {
background-color: #{'@banner_fg_color'};
background-image: none;
border: none;
box-shadow: none;
color: #{'@banner_bg_color'};
font-size: 11pt;
font-weight: 600;

/*Hack to make the button square-ish*/
&.image-button.raised {
padding: 0 0.333em;
}

&:active,
&:checked {
opacity: 0.9;
}

&:disabled {
opacity: 0.33;
}

&:not(.suggested-action) {
opacity: 0.8;
}

label,
image {
color: inherit;
font-weight: inherit;
}
}
}

0 comments on commit b199a54

Please sign in to comment.