_base.scss
ASCII text
1
/* Copyright 2009, 2015 Red Hat, Inc.
2
*
3
* Portions adapted from Mx's data/style/default.css
4
* Copyright 2009 Intel Corporation
5
*
6
* This program is free software; you can redistribute it and/or modify it
7
* under the terms and conditions of the GNU Lesser General Public License,
8
* version 2.1, as published by the Free Software Foundation.
9
*
10
* This program is distributed in the hope it will be useful, but WITHOUT ANY
11
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
12
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for
13
* more details.
14
*
15
* You should have received a copy of the GNU Lesser General Public License
16
* along with this program; if not, write to the Free Software Foundation,
17
* Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
18
*/
19
20
@use "../../../../theme";
21
@use "../../../../theme-color";
22
@use "../../gnome-shell";
23
@use "../../typography";
24
25
// Stage
26
stage {
27
color: theme-color.$on-surface;
28
29
@if gnome-shell.$version >= 3.36 {
30
font-size: 1em;
31
} @else {
32
@include typography.body2;
33
font-family: typography.$font-family;
34
}
35
}
36
37
// Links
38
.shell-link {
39
transition-duration: theme.$state-duration;
40
border-radius: theme.$corner-radius;
41
color: theme-color.$primary;
42
43
&:hover {
44
background-color: theme-color.hover-overlay(theme-color.$primary);
45
color: theme-color.$primary;
46
}
47
48
&:active {
49
transition-duration: theme.$ripple-duration;
50
background-color: theme-color.pressed-overlay(theme-color.$primary);
51
color: theme-color.$primary;
52
}
53
}
54
55
// Outline for low res icons
56
.lowres-icon {
57
icon-shadow: none;
58
}
59
60
// Dropshadow for large icons
61
.icon-dropshadow {
62
icon-shadow: none;
63
}
64