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