_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 "../../../../st-theme";
23
@use "../../gnome-shell";
24
@use "../../typography";
25
26
// Stage
27
stage {
28
color: theme-color.$on-surface;
29
30
@if gnome-shell.$version >= 3.36 {
31
font-size: 1em;
32
} @else {
33
@include typography.body2;
34
font-family: typography.$font-family;
35
}
36
}
37
38
// Links
39
.shell-link {
40
transition-duration: st-theme.$duration;
41
border-radius: theme.$corner-radius;
42
color: theme-color.$primary;
43
44
&:hover {
45
background-color: theme-color.hover-overlay(theme-color.$primary);
46
color: theme-color.$primary;
47
}
48
49
&:active {
50
transition-duration: st-theme.$duration-ripple;
51
background-color: theme-color.pressed-overlay(theme-color.$primary);
52
color: theme-color.$primary;
53
}
54
}
55
56
// Outline for low res icons
57
.lowres-icon {
58
icon-shadow: none;
59
}
60
61
// Dropshadow for large icons
62
.icon-dropshadow {
63
icon-shadow: none;
64
}
65