78 lines
1.7 KiB
SCSS
Raw Normal View History

2021-04-08 22:59:05 +08:00
// Rubberband for select-area screenshots
.select-area-rubberband {
border: 1px solid $primary_color;
border-radius: 3px;
2024-10-30 18:05:53 +08:00
@if $gnome_version == 'old' {
background-color: transparentize($primary_color, 0.3);
} @else {
background-color: st-transparentize($primary_color, 0.3);
}
2021-04-08 22:59:05 +08:00
}
// User icon
.user-icon {
background-size: contain;
color: $light_alt_fg_color;
border-radius: $circular_radius;
border: none;
2022-10-09 23:53:57 +08:00
// box-shadow: 0 3px 8px rgba(black, 0.25);
2021-04-08 22:59:05 +08:00
icon-size: $base_icon_size * 4; // 64px
&:hover {
2023-05-19 01:07:30 +08:00
color: lighten($osd_fg_color, 30%);
2021-04-08 22:59:05 +08:00
}
& StIcon {
2022-10-09 23:53:57 +08:00
background-color: $light_track_color;
2021-04-08 22:59:05 +08:00
border-radius: $circular_radius;
2021-08-23 18:42:07 +08:00
padding: $base_padding * 2; // 12px
2023-05-19 01:07:30 +08:00
width: $base_icon_size * 2.5;
height: $base_icon_size * 2.5; // 40px;
2021-04-08 22:59:05 +08:00
}
&.user-avatar {
2023-05-19 01:07:30 +08:00
border: none;
box-shadow: inset 0 0 0 1px transparentize($light_alt_fg_color, 0.9);
2021-04-08 22:59:05 +08:00
}
2024-05-20 12:06:29 +08:00
.popup-menu & {
color: $alt_fg_color;
StIcon {
background-color: $track_color;
}
}
2021-04-08 22:59:05 +08:00
}
.user-widget.vertical .user-icon {
icon-size: $base_icon_size * 6; // 128px
& StIcon {
padding: $base_padding * 3 + 2px; // 20px
padding-top: $base_padding * 3; // 18 px
padding-bottom: $base_padding * 3 + 4px; // 22px
width: $base_icon_size * 5.5; height: $base_icon_size * 5.5; // 88px;
}
}
.lightbox { background-color: black; }
.flashspot { background-color: white; }
// Hidden
2022-05-05 17:53:22 +08:00
.hidden { color: rgba(0,0,0,0); }
2021-04-08 22:59:05 +08:00
// Caps-lock warning
.caps-lock-warning-label {
text-align: center;
padding-bottom: 8px;
color: $warning_color;
2024-05-20 12:06:29 +08:00
@extend %caption;
}
/* Workspace animation */
.workspace-animation {
2025-04-10 11:54:13 +08:00
background-color: $solid_osd_bg_color;
2021-04-08 22:59:05 +08:00
}