[SCRIPT] Updated
This commit is contained in:
@@ -0,0 +1,133 @@
|
||||
.bar-widget {
|
||||
padding: 0.4rem 1rem;
|
||||
margin: 0;
|
||||
border-radius: 0;
|
||||
transition: 0.3s;
|
||||
background-color: rgba($surface, 0.3);
|
||||
}
|
||||
|
||||
.clock {
|
||||
@include hover($surface);
|
||||
color: $onSurface;
|
||||
background-color: $surface;
|
||||
font-size: 1.5rem;
|
||||
border-radius: 1rem;
|
||||
padding: 0 0.75rem;
|
||||
margin: 0 0.5rem;
|
||||
margin-right: 0;
|
||||
transition: 0.3s;
|
||||
|
||||
&.active {
|
||||
background-color: $primary;
|
||||
color: $surface;
|
||||
|
||||
.record-indicator {
|
||||
color: $surface;
|
||||
}
|
||||
|
||||
@include hover($primary)
|
||||
}
|
||||
}
|
||||
|
||||
.kb-layout {
|
||||
border-radius: 0.5rem;
|
||||
padding: 0 0.25rem;
|
||||
margin: 0 0.25rem;
|
||||
transition: 0.3s;
|
||||
font-size: 1.3rem;
|
||||
}
|
||||
|
||||
.kb-layout:hover {
|
||||
background-color: rgba(white, 0.2);
|
||||
}
|
||||
|
||||
.pinned-app {
|
||||
margin: 0 0.25rem;
|
||||
transition: 0.3s;
|
||||
padding: 0 0.1rem;
|
||||
border-radius: 0.25rem;
|
||||
}
|
||||
|
||||
.pinned-app:hover {
|
||||
background-color: rgba(white, 0.2);
|
||||
}
|
||||
|
||||
|
||||
.tray {
|
||||
padding: 0 0.25rem;
|
||||
margin: 0 0.25rem;
|
||||
}
|
||||
|
||||
.workspaces {
|
||||
border-radius: 1rem;
|
||||
padding: 0.5rem;
|
||||
background-color: $surface;
|
||||
margin: 0 0.5rem;
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.workspace {
|
||||
@include hover($primaryContainer);
|
||||
border-radius: 1rem;
|
||||
margin: 0 0.25rem;
|
||||
min-width: 0.7rem;
|
||||
min-height: 0.7rem;
|
||||
transition: 0.3s;
|
||||
|
||||
&.active {
|
||||
@include hover($primary);
|
||||
min-width: 2rem;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes recorder-animation {
|
||||
0% { opacity: 0; }
|
||||
50% { opacity: 1; }
|
||||
90% { opacity: 1; }
|
||||
100% { opacity: 0; }
|
||||
}
|
||||
|
||||
.record-indicator {
|
||||
color: $error;
|
||||
}
|
||||
|
||||
.record-indicator.active {
|
||||
animation: recorder-animation 2s infinite;
|
||||
}
|
||||
|
||||
.battery-item {
|
||||
margin: 0 0.25rem;
|
||||
}
|
||||
|
||||
.battery-scale {
|
||||
min-width: 5rem;
|
||||
all: unset;
|
||||
|
||||
* {
|
||||
all: unset;
|
||||
}
|
||||
}
|
||||
|
||||
.battery-scale trough,
|
||||
.battery-scale trough highlight {
|
||||
background-color: $surfaceContainerHighest;
|
||||
border-radius: 0.5rem;
|
||||
min-height: 1.5rem;
|
||||
min-width: 6rem;
|
||||
}
|
||||
|
||||
|
||||
.battery-scale trough highlight {
|
||||
background-color: $primary;
|
||||
min-width: 0rem;
|
||||
}
|
||||
|
||||
.battery-icon {
|
||||
color: $onSurface;
|
||||
margin-right: 0.3rem;
|
||||
}
|
||||
|
||||
.battery-percent {
|
||||
color: $onSurface;
|
||||
margin-right: 0.3rem;
|
||||
}
|
||||
@@ -0,0 +1,166 @@
|
||||
.control-center {
|
||||
@include window;
|
||||
min-width: 28rem;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.control-center-widget {
|
||||
padding: 1rem;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.qs-main-box {
|
||||
margin-top: 0.5rem;
|
||||
}
|
||||
|
||||
.user {
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
.qs-button {
|
||||
@include hover($surfaceContainerHigh);
|
||||
color: $onSurface;
|
||||
min-height: 2.4rem;
|
||||
border-radius: 1.2rem;
|
||||
transition: 0.3s;
|
||||
padding: 0.3rem 0.8rem;
|
||||
|
||||
&.active {
|
||||
@include hover($primary);
|
||||
color: $surface;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.qs-button-label {
|
||||
margin-left: 0.5rem;
|
||||
}
|
||||
|
||||
.record-menu {
|
||||
background-color: $surfaceContainerHigh;
|
||||
border-radius: 1rem;
|
||||
padding: 1rem;
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
.record-icon {
|
||||
color: $error;
|
||||
}
|
||||
|
||||
.record-dropdown {
|
||||
button {
|
||||
all: unset;
|
||||
color: $onSurfaceVariant;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
}
|
||||
|
||||
.record-cancel-button,
|
||||
.record-start-button {
|
||||
color: $surface;
|
||||
border-radius: 1rem;
|
||||
padding: 0.25rem 0.75rem;
|
||||
font-size: 0.95rem;
|
||||
transition: 0.3s;
|
||||
}
|
||||
|
||||
.record-cancel-button {
|
||||
@include hover($surfaceContainerHigh);
|
||||
color: $onSurface;
|
||||
border: 1px solid $primary;
|
||||
}
|
||||
|
||||
.record-start-button {
|
||||
@include hover($primary);
|
||||
}
|
||||
|
||||
.volume-entry {
|
||||
@include hover($surfaceContainerHigh);
|
||||
transition: 0.3s;
|
||||
border-radius: 1rem;
|
||||
padding: 0.5rem 0.5rem;
|
||||
}
|
||||
|
||||
.volume-entry-list-header-label {
|
||||
font-size: 1.35rem;
|
||||
margin-left: 0.5rem;
|
||||
}
|
||||
|
||||
.volume-entry-list-header-box {
|
||||
margin-bottom: 0.75rem;
|
||||
}
|
||||
|
||||
.user-name-box {
|
||||
margin-left: 0.5rem;
|
||||
}
|
||||
|
||||
.user-name {
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
.user-name-secondary {
|
||||
color: $onSurfaceVariant;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.user-settings {
|
||||
@include hover($surfaceContainerHighest);
|
||||
color: $onSurface;
|
||||
border-radius: 2rem;
|
||||
min-width: 2.35rem;
|
||||
margin: 0.4rem 0rem;
|
||||
margin-right: 0.5rem;
|
||||
transition: 0.3s;
|
||||
}
|
||||
|
||||
.user-power {
|
||||
@include hover($primary);
|
||||
color: $surface;
|
||||
border-radius: 1.5rem;
|
||||
min-width: 2.35rem;
|
||||
margin: 0.4rem 0rem;
|
||||
transition: 0.3s;
|
||||
}
|
||||
|
||||
.ethernet-header-box,
|
||||
.wifi-header-box,
|
||||
.vpn-header-box {
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.ethernet-header-label,
|
||||
.vpn-header-label {
|
||||
font-size: 1.35rem;
|
||||
margin-left: 0.75rem;
|
||||
}
|
||||
|
||||
.wifi-header-label {
|
||||
font-size: 1.35rem;
|
||||
}
|
||||
|
||||
.ethernet-connection-item,
|
||||
.wifi-network-item,
|
||||
.vpn-connection-item {
|
||||
@include hover($surfaceContainerHigh);
|
||||
transition: 0.3s;
|
||||
border-radius: 1rem;
|
||||
padding: 0.5rem 0.5rem;
|
||||
}
|
||||
|
||||
|
||||
.ethernet-connection-label,
|
||||
.wifi-network-label,
|
||||
.vpn-connection-label {
|
||||
margin-left: 0.5rem;
|
||||
}
|
||||
|
||||
.ethernet-connection-item-connect-label,
|
||||
.vpn-connection-item-connect-label {
|
||||
color: $onSurfaceVariant;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.volume-entry-label {
|
||||
margin-left: 0.5rem;
|
||||
margin-right: 1rem;
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
.launcher {
|
||||
@include window;
|
||||
margin-top: 20rem;
|
||||
}
|
||||
|
||||
.launcher-search {
|
||||
all: unset;
|
||||
}
|
||||
|
||||
.launcher-search-box {
|
||||
padding: 0.75rem 1rem;
|
||||
background-color: $surfaceContainer;
|
||||
border-radius: 1rem;
|
||||
min-width: 30rem;
|
||||
}
|
||||
|
||||
.launcher-scroll {
|
||||
min-height: 30rem;
|
||||
}
|
||||
|
||||
.launcher-app {
|
||||
all: unset;
|
||||
@include hover($surface);
|
||||
border-radius: 1rem;
|
||||
padding: 0.5rem 0.25rem;
|
||||
border: 2px solid $surface;
|
||||
margin-top: 0.25rem;
|
||||
transition: 0.3s;
|
||||
|
||||
&:focus {
|
||||
border: 2px solid $primary;
|
||||
}
|
||||
}
|
||||
|
||||
.launcher-app-label {
|
||||
font-size: 1.1rem;
|
||||
margin-left: 1rem;
|
||||
}
|
||||
@@ -0,0 +1,75 @@
|
||||
.rec-unset {
|
||||
* {
|
||||
all: unset;
|
||||
}
|
||||
}
|
||||
|
||||
.unset {
|
||||
all: unset;
|
||||
}
|
||||
|
||||
tooltip {
|
||||
all: unset;
|
||||
background-color: $surface;
|
||||
padding: 0.5rem 1rem;
|
||||
border-radius: 1rem;
|
||||
}
|
||||
|
||||
.toggle-box {
|
||||
padding: 0.75rem 1rem;
|
||||
border-radius: 1rem;
|
||||
background-color: $primaryContainer;
|
||||
}
|
||||
|
||||
.material-slider {
|
||||
all: unset;
|
||||
|
||||
* {
|
||||
all: unset;
|
||||
}
|
||||
}
|
||||
|
||||
.material-slider trough,
|
||||
.material-slider trough highlight {
|
||||
background-color: $secondaryContainer;
|
||||
border-radius: 1rem;
|
||||
min-height: 1rem;
|
||||
}
|
||||
|
||||
|
||||
.material-slider trough highlight {
|
||||
background-color: $primary;
|
||||
}
|
||||
|
||||
.material-slider-icon {
|
||||
padding: 0.25rem;
|
||||
min-width: 1.5rem;
|
||||
min-height: 1.5rem;
|
||||
border-radius: 1rem;
|
||||
margin-right: 0.5rem;
|
||||
}
|
||||
|
||||
.material-slider-arrow {
|
||||
all: unset;
|
||||
padding: 0.25rem;
|
||||
min-width: 1.5rem;
|
||||
min-height: 1.5rem;
|
||||
border-radius: 1rem;
|
||||
margin-left: 0.5rem;
|
||||
}
|
||||
|
||||
.hover-surface {
|
||||
@include hover($surface);
|
||||
transition: 0.3s;
|
||||
}
|
||||
|
||||
.control-center-menu {
|
||||
margin-top: 1rem;
|
||||
background-color: $surfaceContainerHigh;
|
||||
border-radius: 1rem;
|
||||
padding: 1rem;
|
||||
|
||||
separator {
|
||||
margin: 0.5rem 0;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,84 @@
|
||||
// WARNING: Do not import this file in style.scss
|
||||
|
||||
.media-{{ desktop_entry }} {
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
|
||||
.media-image-{{ desktop_entry }} {
|
||||
background-image: url('file:///{{ art_url }}');
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
min-height: 11rem;
|
||||
border-radius: 1.5rem;
|
||||
}
|
||||
|
||||
.media-image-gradient-{{ desktop_entry }} {
|
||||
border-radius: 1.3rem;
|
||||
background: linear-gradient(90deg, rgba({{ onPrimary }}, 0.9) 0%, rgba({{ onPrimary }}, 0.4) 50%, rgba({{ onPrimary }}, 0.9) 100%);
|
||||
}
|
||||
|
||||
.media-scale-{{ desktop_entry }} trough,
|
||||
.media-scale-{{ desktop_entry }} trough highlight {
|
||||
background-color: rgba({{ onSurface }}, 0.2);
|
||||
border-radius: 1rem;
|
||||
min-height: 0.2rem;
|
||||
}
|
||||
|
||||
|
||||
.media-scale-{{ desktop_entry }} trough highlight {
|
||||
background-color: {{ onSurface }};
|
||||
}
|
||||
|
||||
.media-scale-{{ desktop_entry }} slider {
|
||||
background-color: {{ onSurface }};
|
||||
padding: 0.5rem 0.1rem;
|
||||
margin: -0.5rem -0.1rem;
|
||||
}
|
||||
|
||||
.media-title-{{ desktop_entry }} {
|
||||
color: {{ onSurface }};
|
||||
}
|
||||
|
||||
.media-artist-{{ desktop_entry }} {
|
||||
color: {{ onSurfaceVariant }};
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
|
||||
.media-content-{{ desktop_entry }} {
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
.media-playback-button-{{ desktop_entry }} {
|
||||
background-color: {{ primary }};
|
||||
color: {{ onPrimary }};
|
||||
border-radius: 4rem;
|
||||
min-width: 2.7rem;
|
||||
min-height: 2.7rem;
|
||||
transition: 0.3s;
|
||||
|
||||
&:hover {
|
||||
background-color: lighten({{ primary }}, 5%);
|
||||
}
|
||||
|
||||
&.playing {
|
||||
border-radius: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
.media-player-icon-{{ desktop_entry }} {
|
||||
color: {{ primary }};
|
||||
font-size: 1.6rem;
|
||||
padding: 1rem;
|
||||
font-family: "JetBrains Mono Nerd Font";
|
||||
}
|
||||
|
||||
.media-skip-button-{{ desktop_entry }} {
|
||||
transition: 0.3s;
|
||||
color: {{ onSurface }};
|
||||
&:hover {
|
||||
color: {{ primary }};
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
@mixin hover($bg) {
|
||||
background-color: $bg;
|
||||
|
||||
&:hover {
|
||||
@if $darkmode == true {
|
||||
background-color: lighten($bg, 5%);
|
||||
}
|
||||
@else {
|
||||
background-color: darken($bg, 5%);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
@mixin window {
|
||||
background-color: $surface;
|
||||
border-radius: 1rem;
|
||||
padding: 1rem;
|
||||
color: $onSurface;
|
||||
box-shadow: 0 0 4px 2px $shadow;
|
||||
margin: 1rem;
|
||||
}
|
||||
@@ -0,0 +1,66 @@
|
||||
.notification-center {
|
||||
background-color: $surfaceContainerLow;
|
||||
border-radius: 1.5rem 1.5rem 1rem 1rem;
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
.notification-center-header {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.notification {
|
||||
background-color: $surfaceContainerHigh;
|
||||
border-radius: 1rem;
|
||||
padding: 1rem;
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
.notification-count {
|
||||
background-color: $tertiary;
|
||||
color: $onTertiary;
|
||||
min-width: 2rem;
|
||||
font-size: 1.5rem;
|
||||
border-radius: 2rem;
|
||||
}
|
||||
|
||||
.notification-header-label {
|
||||
font-size: 1.1rem;
|
||||
margin-left: 0.5rem;
|
||||
}
|
||||
|
||||
.notification-close {
|
||||
@include hover($surfaceContainerHigh);
|
||||
color: $onSurface;
|
||||
border-radius: 1rem;
|
||||
padding: 0.25rem;
|
||||
margin-left: 0.5rem;
|
||||
transition: 0.3s;
|
||||
}
|
||||
|
||||
.notification-clear-all {
|
||||
@include hover($surfaceContainerHigh);
|
||||
transition: 0.3s;
|
||||
border-radius: 1rem;
|
||||
padding: 0.25rem 1rem;
|
||||
}
|
||||
|
||||
.notification-action {
|
||||
color: $primary;
|
||||
@include hover($surfaceContainerHighest);
|
||||
border-radius: 0.5rem;
|
||||
padding: 0.25rem 0.25rem;
|
||||
transition: 0.3s;
|
||||
}
|
||||
|
||||
.notification-screenshot-label {
|
||||
margin-top: 0.5rem;
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
|
||||
.notification-center-info-label {
|
||||
color: $onSurfaceVariant;
|
||||
}
|
||||
|
||||
.notification-body {
|
||||
color: $onSurfaceVariant;
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
.notification-popup {
|
||||
@include window;
|
||||
min-width: 25rem;
|
||||
|
||||
& .notification-close {
|
||||
@include hover($surface);
|
||||
}
|
||||
|
||||
& .notification-action {
|
||||
@include hover($surfaceContainer);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
.osd {
|
||||
@include window;
|
||||
min-width: 15rem;
|
||||
margin-bottom: 5rem;
|
||||
* {
|
||||
all: unset
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
.powermenu {
|
||||
@include window;
|
||||
}
|
||||
|
||||
.powermenu-button {
|
||||
@include hover($surfaceContainer);
|
||||
transition: 0.3s;
|
||||
border-radius: 10rem;
|
||||
min-width: 8rem;
|
||||
min-height: 8rem;
|
||||
|
||||
&:focus {
|
||||
@include hover($primary);
|
||||
color: $surface;
|
||||
}
|
||||
}
|
||||
|
||||
.powermenu-button-label {
|
||||
margin-top: 0.5rem;
|
||||
}
|
||||
|
||||
.powermenu-button-box {
|
||||
margin: 0.5rem;
|
||||
}
|
||||
|
||||
.powermenu-overlay {
|
||||
background-color: rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
@@ -0,0 +1,71 @@
|
||||
.settings-sidebar {
|
||||
background-color: $surfaceContainer;
|
||||
min-width: 300px;
|
||||
}
|
||||
|
||||
.settings-sidebar-label {
|
||||
font-size: 2rem;
|
||||
margin-left: 1rem;
|
||||
margin-bottom: 0.5rem;
|
||||
margin-top: 2rem;
|
||||
}
|
||||
|
||||
.settings-sidebar-entry {
|
||||
all: unset;
|
||||
background-color: $surfaceContainer;
|
||||
padding: 1rem 2rem;
|
||||
padding-left: 0.75rem;
|
||||
font-size: 1.2rem;
|
||||
|
||||
&:selected {
|
||||
@if $darkmode == true {
|
||||
background-color: lighten($surfaceContainer, 10%);
|
||||
}
|
||||
@else {
|
||||
background-color: darken($surfaceContainer, 10%);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.settings-page-name {
|
||||
font-size: 2rem;
|
||||
margin-left: 2.5rem;
|
||||
margin-bottom: 2rem;
|
||||
margin-top: 2rem;
|
||||
}
|
||||
|
||||
.settings-group-name {
|
||||
margin-left: 2.5rem;
|
||||
color: $primary;
|
||||
}
|
||||
|
||||
.settings-row {
|
||||
all: unset;
|
||||
padding: 0.7rem 2.5rem;
|
||||
transition: 0.2s;
|
||||
|
||||
&:active {
|
||||
@if $darkmode == true {
|
||||
background-color: rgba(255, 255, 255, 0.05);
|
||||
}
|
||||
@else {
|
||||
background-color: rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.settings-row-label {
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
.settings-row-sublabel {
|
||||
font-size: 0.9rem;
|
||||
font-weight: normal;
|
||||
color: $onSurfaceVariant;
|
||||
}
|
||||
|
||||
.settings-user-name {
|
||||
font-size: 2.3rem;
|
||||
margin-left: 1.5rem;
|
||||
}
|
||||
Reference in New Issue
Block a user