[libadwaita/wip/exalm/buttons-5: 12/20] stylesheet: Remove special osd image button styles
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/buttons-5: 12/20] stylesheet: Remove special osd image button styles
- Date: Fri, 11 Jun 2021 08:48:50 +0000 (UTC)
commit 66dd0c4dbe096d76002149fcadad96290dd4914c
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Thu Jun 10 23:07:28 2021 +0500
stylesheet: Remove special osd image button styles
There's no good reason to make singular osd image buttons circular. It's
undiscoverable and finicky. People can add .circular if they want that.
src/stylesheet/widgets/_buttons.scss | 12 +-----------
1 file changed, 1 insertion(+), 11 deletions(-)
---
diff --git a/src/stylesheet/widgets/_buttons.scss b/src/stylesheet/widgets/_buttons.scss
index d29be03d..ed0a2237 100644
--- a/src/stylesheet/widgets/_buttons.scss
+++ b/src/stylesheet/widgets/_buttons.scss
@@ -107,20 +107,10 @@ button {
// big standalone buttons like in Documents pager
&.osd {
- min-width: 26px;
+ min-width: 32px;
min-height: 32px;
- &.image-button {
- min-width: 30px;
- &:only-child {
- margin: 4px;
- border-radius: 50%; // completely round when it is a single button
- box-shadow: 0 1px 2px transparentize(black, 0.8); // drop shadow for the only child
- };
- }
-
color: $osd_fg_color;
- border-radius: 5px;
@include button(osd);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]