numix-gtk-theme/gtk-3.0/scss/widgets/_misc.scss

223 lines
4.3 KiB
SCSS
Raw Normal View History

2014-12-13 14:17:53 +00:00
/***************
! Dimmed label *
****************/
2014-12-28 14:54:48 +00:00
@include exports("dimlabel") {
2015-08-06 19:39:22 +00:00
.dim-label {
opacity: 0.5;
text-shadow: none;
}
2014-12-13 14:17:53 +00:00
}
2014-12-13 12:06:16 +00:00
/***********
! Tooltip *
************/
@include exports("tooltip") {
2015-08-06 19:39:22 +00:00
.tooltip {
@include linear-gradient($tooltip_bg_color);
2014-12-14 12:22:13 +00:00
2015-08-06 19:39:22 +00:00
border: none;
border-radius: $roundness;
color: $tooltip_fg_color;
2014-12-13 12:06:16 +00:00
2015-08-06 19:39:22 +00:00
* { background-color: transparent; }
}
2014-12-13 12:06:16 +00:00
}
/***********
! Dialogs *
************/
@include exports("dialogs") {
2015-08-06 19:39:22 +00:00
GtkMessageDialog, .message-dialog, .prompt {
-GtkDialog-content-area-border: 0;
-GtkDialog-action-area-border: $spacing;
-GtkDialog-button-spacing: 0;
margin: 0;
padding: 0;
}
2014-12-13 12:06:16 +00:00
}
/*********************
! App notifications *
**********************/
@include exports("notifications") {
2015-08-06 19:39:22 +00:00
.app-notification {
&, &.frame {
border-style: solid;
border-color: border_normal($osd_bg);
border-width: 0 1px 1px 1px;
border-radius: 0 0 $roundness $roundness;
padding: $spacing * 2;
background-color: $osd_bg;
background-image: none;
color: $osd_fg;
.button { @include button($osd_bg, $osd_fg); }
}
}
2014-12-13 12:06:16 +00:00
}
/*************
! Expanders *
**************/
@include exports("expander") {
2015-08-06 19:39:22 +00:00
GtkExpander {
padding: $spacing;
outline-offset: 1px;
}
.expander {
color: alpha(currentColor, 0.7);
border: alpha(currentColor, 0.7);
&:hover {
color: alpha(currentColor, 0.8);
border-color: alpha(currentColor, 0.8);
}
&:active {
color: alpha(currentColor, 0.9);
border-color: alpha(currentColor, 0.9);
}
}
2014-12-13 12:06:16 +00:00
}
/*******************
! Symbolic images *
********************/
@include exports("symbolicimage") {
2015-08-06 19:39:22 +00:00
.image {
color: alpha(currentColor, 0.5);
2014-12-13 12:06:16 +00:00
2015-08-06 19:39:22 +00:00
&:hover { color: alpha(currentColor, 0.9); }
2014-12-13 12:06:16 +00:00
2015-08-06 19:39:22 +00:00
&:selected, &:selected:hover { color: $selected_fg_color; }
}
2014-12-13 12:06:16 +00:00
}
/****************
! Floating bar *
*****************/
@include exports("floatingbar") {
2015-08-06 19:39:22 +00:00
.floating-bar {
@include linear-gradient($bg_color);
border: 1px solid border_normal($bg_color);
border-radius: $roundness;
color: $fg_color;
&.top {
border-top-width: 0;
border-top-right-radius: 0;
border-top-left-radius: 0;
}
&.right {
border-right-width: 0;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
&.bottom {
border-bottom-width: 0;
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
}
&.left {
border-left-width: 0;
border-bottom-left-radius: 0;
border-top-left-radius: 0;
}
.button {
-GtkButton-image-spacing: 0;
-GtkButton-inner-border: 0;
border: none;
background-color: transparent;
background-image: none;
}
}
2014-12-13 12:06:16 +00:00
}
/*************************
! Touch text selections *
**************************/
@include exports("touchbubble") {
2015-08-06 19:39:22 +00:00
GtkBubbleWindow {
border-radius: $roundness;
background-clip: border-box;
2014-12-13 12:06:16 +00:00
2015-08-06 19:39:22 +00:00
&.osd.background { background-color: $osd_bg; }
2014-12-13 12:06:16 +00:00
2015-08-06 19:39:22 +00:00
.toolbar { background-color: transparent; }
}
2014-12-13 12:06:16 +00:00
}
/***************
! Font-viewer *
****************/
@include exports("fontviewer") {
2015-08-06 19:39:22 +00:00
SushiFontWidget {
padding: $spacing ($spacing * 2);
}
}
/*************
! Gucharmap *
**************/
@include exports("charmap") {
2015-08-06 19:39:22 +00:00
GucharmapChartable {
background-color: $base_color;
color: $text_color;
2015-08-06 19:39:22 +00:00
&:focus, &:hover, &:active, &:selected { @extend %selected; }
}
}
/*************
! Evolution *
**************/
@include exports("evolution") {
2015-08-06 19:39:22 +00:00
EPreviewPane .entry {
background-color: $base_color;
color: $text_color;
}
}
/*******************
! Gnome Bluetooth *
********************/
@include exports("gnome-bluetooth") {
2015-08-06 19:39:22 +00:00
GtkEntry.entry.pin-entry {
font: regular 50;
padding-left: 25px;
padding-right: 25px;
}
2015-08-06 19:39:22 +00:00
GtkLabel.pin-label { font: regular 50; }
}