numix-gtk-theme/gtk-3.0/scss/apps/_gedit.scss

133 lines
3.4 KiB
SCSS

/*********
! Gedit *
**********/
@include exports("gedit") {
GeditWindow .pane-separator {
border-width: 0 1px 0 0;
border-style: solid;
&, &:hover {
border-color: shade($bg_color, ($contrast + .1));
background-color: $bg_color;
}
}
.gedit-document-panel {
background-color: $bg_color;
color: mix($fg_color, $bg_color, .1);
.list-row {
padding: $spacing;
.button {
padding: 1px;
border-radius: $roundness;
border-style: solid;
border-color: transparent;
border-width: 1px;
background-color: transparent;
background-image: none;
color: transparent;
icon-shadow: none;
}
}
.prelight-row .button {
border-color: fade-out($black, .9);
color: fade-out($white, .2);
&:active {
border-color: fade-out($black, .8);
background-color: fade-out($black, .02);
color: $white;
}
}
list-row, .prelight-row {
.button:hover {
border-color: fade-out($black, .9);
color: $white;
}
}
}
.gedit-document-panel-group-row {
&, &:hover {
border-top: 1px solid shade($bg_color, ($contrast + .1));
background-color: $bg_color;
}
}
.gedit-document-panel-document-row {
&:hover { background-color: shade($bg_color, 1.05); }
&:selected {
&, &:hover { @extend %selected; }
}
}
.gedit-document-panel-dragged-row {
border: 1px solid fade-out($black, .9);
background-color: fade-out($black, .5);
color: $white;
}
.gedit-document-panel-placeholder-row {
border: 0;
background-color: fade-out($black, .02);
transition: all 200ms ease-in;
}
GeditStatusbar { border-top: 1px solid border_normal($bg_color); }
GeditStatusbar GeditSmallButton, GeditStatusMenuButton {
text-shadow: none;
.button {
border-style: solid;
border-width: 0 1px;
border-color: transparent;
border-radius: 0;
padding: 1px 6px 2px 4px;
&:hover, &:active, &:active:hover { border-color: border_normal($bg_color); }
&:active {
background-color: shade($bg_color, .95);
color: $fg_color;
}
}
}
GeditViewFrame .gedit-search-slider {
padding: $spacing;
border-radius: 0 0 $roundness $roundness;
border-width: 0 1px 1px;
border-style: solid;
border-color: border_normal($base_color);
background-color: $base_color;
.not-found {
background-color: $error_bg_color;
background-image: none;
color: $error_fg_color;
&:selected { @extend %selected; }
}
}
GeditFileBrowserWidget .toolbar {
padding: $spacing / 2;
border-top: 0;
background-color: $bg_color;
background-image: none;
}
.gedit-search-entry-occurrences-tag {
margin: $spacing / 2;
padding: $spacing / 2;
color: mix($text_color, $base_color, .5);
}
}