HC: include a missing sass function

- used in the color widget
This commit is contained in:
Jakub Steiner 2015-04-28 00:33:17 +02:00
parent 37c72b1afa
commit f9ef67d2fa
2 changed files with 7 additions and 3 deletions

View File

@ -1,6 +1,10 @@
// Drawing mixins
// generic drawing of more complex things
@function _widget_edge($c:$borders_edge) {
// outer highlight "used" on most widgets
@return 0 1px $c;
}
@mixin _shadows($shadow1, $shadow2:none, $shadow3:none, $shadow4:none) {
//

View File

@ -2542,13 +2542,13 @@ GtkInfoBar {
* Color Chooser *
*****************/
GtkColorSwatch {
box-shadow: inset 0 1px rgba(0, 0, 0, 0.1), _widget_edge(); }
box-shadow: inset 0 1px rgba(0, 0, 0, 0.1), 0 1px #fff; }
:selected GtkColorSwatch {
box-shadow: none; }
:selected GtkColorSwatch.overlay, :selected GtkColorSwatch.overlay:hover {
border-color: #fff; }
GtkColorSwatch:selected {
box-shadow: inset 0 1px rgba(0, 0, 0, 0.1), _widget_edge(); }
box-shadow: inset 0 1px rgba(0, 0, 0, 0.1), 0 1px #fff; }
GtkColorSwatch.top {
border-top-left-radius: 5px;
border-top-right-radius: 5px; }
@ -2573,7 +2573,7 @@ GtkColorSwatch {
border-radius: 3px; }
GtkColorEditor GtkColorSwatch:hover {
background-image: none;
box-shadow: inset 0 1px rgba(0, 0, 0, 0.1), _widget_edge(); }
box-shadow: inset 0 1px rgba(0, 0, 0, 0.1), 0 1px #fff; }
GtkColorEditor GtkColorSwatch:backdrop {
box-shadow: none; }
GtkColorSwatch.color-dark {