feat: Shortcuts widget
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
@forward '_bar';
|
||||
@forward '_launcher';
|
||||
@forward '_clipboard';
|
||||
@forward '_shortcuts';
|
||||
@forward '_battery_info';
|
||||
@forward '_quick_settings';
|
52
ags/styles/components/_shortcuts.scss
Normal file
52
ags/styles/components/_shortcuts.scss
Normal file
@ -0,0 +1,52 @@
|
||||
@use '../theme_colors.scss' as *;
|
||||
|
||||
.shortcuts {
|
||||
.entry {
|
||||
padding: 10px;
|
||||
background: $base0B;
|
||||
border-radius: 8px;
|
||||
transition: background 0.2s ease;
|
||||
|
||||
&:hover {
|
||||
background: $base00;
|
||||
|
||||
>label {
|
||||
color: $base0B;
|
||||
}
|
||||
|
||||
>.kbd {
|
||||
background: $base0B;
|
||||
color: $base00;
|
||||
}
|
||||
}
|
||||
|
||||
label {
|
||||
color: $base00;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.kbd {
|
||||
padding: 2px 6px;
|
||||
font-size: 0.9em;
|
||||
font-family: monospace;
|
||||
border-radius: 4px;
|
||||
margin: 0 2px;
|
||||
|
||||
background: $base00;
|
||||
color: $base0B;
|
||||
}
|
||||
}
|
||||
|
||||
.not-found {
|
||||
background: $base0B;
|
||||
color: $base00;
|
||||
font-size: 14px;
|
||||
padding: 10px;
|
||||
border-radius: 8px;
|
||||
|
||||
image {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user