2021-04-08 22:59:05 +08:00
|
|
|
//This is the RIGHT PLACE to edit the stylesheet
|
|
|
|
|
2020-12-27 18:33:02 +08:00
|
|
|
//let's start by telling people not to edit the generated CSS:
|
|
|
|
$cakeisalie: "This stylesheet is generated, DO NOT EDIT";
|
|
|
|
/* #{$cakeisalie} */
|
|
|
|
|
2021-04-08 22:59:05 +08:00
|
|
|
/* Copyright 2009, 2015 Red Hat, Inc.
|
|
|
|
*
|
|
|
|
* Portions adapted from Mx's data/style/default.css
|
|
|
|
* Copyright 2009 Intel Corporation
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
|
|
* under the terms and conditions of the GNU Lesser General Public License,
|
|
|
|
* version 2.1, as published by the Free Software Foundation.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope it will be useful, but WITHOUT ANY
|
|
|
|
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
|
|
|
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for
|
|
|
|
* more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public License
|
|
|
|
* along with this program; if not, write to the Free Software Foundation,
|
|
|
|
* Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
2025-04-10 12:41:17 +08:00
|
|
|
// reset colors
|
|
|
|
|
2025-04-10 13:22:58 +08:00
|
|
|
@if $shell_version == 'new' and $accent_type == 'default' {
|
2024-10-30 18:05:53 +08:00
|
|
|
$selected_bg_color: -st-accent-color;
|
|
|
|
$primary_color: -st-accent-color;
|
|
|
|
}
|
|
|
|
|
2025-04-10 12:41:17 +08:00
|
|
|
@if $trans == 'true' {
|
|
|
|
$menu_bg: if($variant == 'light', rgba($base_color, $opacity), rgba($bg_color, $opacity));
|
|
|
|
$osd_bg_color: rgba($solid_osd_bg_color, $opacity);
|
|
|
|
$dialog_bg_color: if($variant == 'light', rgba($bg_color, $opacity), rgba($base_color, $opacity));
|
|
|
|
}
|
|
|
|
|
|
|
|
$active_color: if($variant == 'light', rgba(black, 0.26), rgba(white, 0.2));
|
|
|
|
$track_color: if($variant == 'light', rgba(black, 0.20), rgba(white, 0.16));
|
|
|
|
$visit_color: if($variant == 'light', rgba(black, 0.16), rgba(white, 0.12));
|
|
|
|
$divider_color: if($variant == 'light', rgba(black, 0.12), rgba(white, 0.1));
|
|
|
|
$fill_color: if($variant == 'light', rgba(black, 0.06), rgba(white, 0.05));
|
|
|
|
|
|
|
|
$menu_bd: if($variant == 'light', rgba(black, 0.08), rgba(white, 0.08));
|
|
|
|
$borders_color: if($variant == 'light', rgba(black, 0.12), rgba(white, 0.12));
|
|
|
|
$light_borders_color: if($variant == 'light', rgba(black, 0.08), rgba(white, 0.10));
|
|
|
|
$dark_borders_color: if($variant == 'light', rgba(black, 0.08), rgba(black, 0.15));
|
|
|
|
$solid_borders_color: if($variant == 'light', mix(black, $base_color, 12%), mix(white, $base_color, 12%));
|
|
|
|
$dark_solid_borders_color: if($variant == 'light', mix(black, $base_color, 12%), mix(white, $base_color, 15%));
|
|
|
|
$highlight_color: if($variant == 'light', rgba(white, 0.15), rgba(white, 0.1));
|
|
|
|
|
2021-04-08 22:59:05 +08:00
|
|
|
// Stage
|
2024-03-31 02:47:02 +08:00
|
|
|
stage {
|
|
|
|
@include fontsize($base_font_size);
|
|
|
|
color: $fg_color;
|
|
|
|
}
|
2023-03-29 14:48:35 +08:00
|
|
|
|
|
|
|
/* General Typography */
|
|
|
|
|
|
|
|
%large_title {
|
|
|
|
font-weight: 300;
|
2024-05-20 12:06:29 +08:00
|
|
|
@include fontsize(24pt);
|
2023-03-29 14:48:35 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
%title_1 {
|
|
|
|
font-weight: 800;
|
2024-05-20 12:06:29 +08:00
|
|
|
@include fontsize(20pt);
|
2023-03-29 14:48:35 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
%title_2 {
|
|
|
|
font-weight: 800;
|
2024-05-20 12:06:29 +08:00
|
|
|
@include fontsize(15pt);
|
2023-03-29 14:48:35 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
%title_3 {
|
|
|
|
font-weight: 700;
|
2024-05-20 12:06:29 +08:00
|
|
|
@include fontsize(15pt);
|
2023-03-29 14:48:35 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
%title_4 {
|
|
|
|
font-weight: 700;
|
2024-05-20 12:06:29 +08:00
|
|
|
@include fontsize(13pt);
|
2023-03-29 14:48:35 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
%heading {
|
|
|
|
font-weight: 700;
|
2024-05-20 12:06:29 +08:00
|
|
|
@include fontsize(11pt);
|
2023-03-29 14:48:35 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
%caption_heading {
|
|
|
|
font-weight: 700;
|
2024-05-20 12:06:29 +08:00
|
|
|
@include fontsize(9pt);
|
2023-03-29 14:48:35 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
%caption {
|
|
|
|
font-weight: 400;
|
2024-05-20 12:06:29 +08:00
|
|
|
@include fontsize(9pt);
|
2023-03-29 14:48:35 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
%smaller {
|
|
|
|
font-weight: 400;
|
2024-05-20 12:06:29 +08:00
|
|
|
@include fontsize(8pt);
|
2023-03-29 14:48:35 +08:00
|
|
|
}
|
|
|
|
|
2024-05-18 17:19:45 +08:00
|
|
|
%monospace { font-family: monospace; }
|
|
|
|
|
|
|
|
%numeric { font-feature-settings: "tnum"; }
|