Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from elementary/lainsce-gtk-filecolor-choosers
Simplify style
- Loading branch information
Showing
5 changed files
with
77 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<gresources> | ||
<gresource prefix="/io/elementary/files/"> | ||
<file alias="ColorButton.css" compressed="true">styles/ColorButton.css</file> | ||
</gresource> | ||
</gresources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
.color-button { | ||
border: 1px solid alpha (#000, 0.3); | ||
border-radius: 16px; | ||
box-shadow: | ||
inset 0 1px 0 0 alpha (@inset_dark_color, 0.7), | ||
inset 0 0 0 1px alpha (@inset_dark_color, 0.3), | ||
0 1px 0 0 alpha (@bg_highlight_color, 0.3); | ||
min-height: 16px; | ||
min-width: 16px; | ||
} | ||
|
||
.color-button.red { | ||
background: @STRAWBERRY_300; | ||
} | ||
|
||
.color-button.orange { | ||
background: @ORANGE_300; | ||
} | ||
|
||
.color-button.yellow { | ||
background: @BANANA_500; | ||
} | ||
|
||
.color-button.green { | ||
background: @LIME_500; | ||
} | ||
|
||
.color-button.blue { | ||
background: @BLUEBERRY_500; | ||
} | ||
|
||
.color-button.purple { | ||
background: @GRAPE_500; | ||
} | ||
|
||
.color-button.brown { | ||
background: @COCOA_300; | ||
} | ||
|
||
.color-button.slate { | ||
background: @SLATE_300; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters