feat(ags binto): add calendar widget
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2024-07-24 11:45:28 -04:00
parent 5ad37a0439
commit 18d42f406e
34 changed files with 1703 additions and 1541 deletions

View file

@ -5,6 +5,7 @@ import Pointers from './services/pointers.ts';
import AppLauncher from './ts/applauncher/main.ts'; import AppLauncher from './ts/applauncher/main.ts';
import Bar from './ts/bar/binto.ts'; import Bar from './ts/bar/binto.ts';
import Clipboard from './ts/clipboard/main.ts'; import Clipboard from './ts/clipboard/main.ts';
import Calendar from './ts/date/binto.ts';
import { NotifPopups, NotifCenter } from './ts/notifications/binto.ts'; import { NotifPopups, NotifCenter } from './ts/notifications/binto.ts';
import OSD from './ts/osd/main.ts'; import OSD from './ts/osd/main.ts';
import Powermenu from './ts/powermenu.ts'; import Powermenu from './ts/powermenu.ts';
@ -26,6 +27,7 @@ App.config({
windows: () => [ windows: () => [
AppLauncher(), AppLauncher(),
Calendar(),
Clipboard(), Clipboard(),
NotifCenter(), NotifCenter(),
Powermenu(), Powermenu(),

View file

@ -1,91 +1,95 @@
.applauncher { .applauncher {
all: unset;
border: 2px solid $contrast-bg;
background-color: $bg;
color: #f8f8f2;
padding: 2px;
* {
font-size: 16px;
}
list, row {
all: unset; all: unset;
} border: 2px solid $contrast-bg;
background-color: $bg;
.header {
margin: 16.2px;
margin-bottom: 0;
image, entry {
all: unset;
border-radius: 9px;
color: #f8f8f2;
background-color: rgba(#44475a, 0.6);
border: 1px solid #44475a;
padding: 4.5px;
}
image {
margin-right: 9px;
-gtk-icon-transform: scale(0.8);
font-size: 25.6px;
}
}
scrolledwindow {
padding: 10px;
padding-bottom: 0;
min-width: 900px;
min-height: 650px;
}
.placeholder {
margin-top: 9px;
color: #f8f8f2; color: #f8f8f2;
font-size: 1.2em; padding: 2px;
}
.app {
all: unset;
transition: 200ms;
border-radius: 9px;
label {
transition: 200ms;
&.title {
margin-top: 20px;
color: #f8f8f2;
}
&.description {
color: rgba(238, 238, 238, 0.7);
}
}
image {
transition: 200ms;
margin: 0 8px;
}
&:active {
background-color: rgba($contrast-bg, 0.5);
box-shadow: inset 0 0 0 3px rgba(238, 238, 238, 0.03);
}
}
*:selected, .app:hover, .app:focus {
* { * {
font-weight: unset; font-size: 16px;
} }
label.title { list,
color: $contrast-bg; row {
all: unset;
} }
image { .header {
-gtk-icon-shadow: 2px 2px $contrast-bg; margin: 16.2px;
margin-bottom: 0;
image,
entry {
all: unset;
border-radius: 9px;
color: #f8f8f2;
background-color: rgba(#44475a, 0.6);
border: 1px solid #44475a;
padding: 4.5px;
}
image {
margin-right: 9px;
-gtk-icon-transform: scale(0.8);
font-size: 25.6px;
}
}
scrolledwindow {
padding: 10px;
padding-bottom: 0;
min-width: 900px;
min-height: 650px;
}
.placeholder {
margin-top: 9px;
color: #f8f8f2;
font-size: 1.2em;
}
.app {
all: unset;
transition: 200ms;
border-radius: 9px;
label {
transition: 200ms;
&.title {
margin-top: 20px;
color: #f8f8f2;
}
&.description {
color: rgba(238, 238, 238, 0.7);
}
}
image {
transition: 200ms;
margin: 0 8px;
}
&:active {
background-color: rgba($contrast-bg, 0.5);
box-shadow: inset 0 0 0 3px rgba(238, 238, 238, 0.03);
}
}
*:selected,
.app:hover,
.app:focus {
* {
font-weight: unset;
}
label.title {
color: $contrast-bg;
}
image {
-gtk-icon-shadow: 2px 2px $contrast-bg;
}
} }
}
} }

View file

@ -2,11 +2,14 @@
.clock, .clock,
.notif-panel { .notif-panel {
border: 2px solid $contrast-bg;
padding: 4.5px 7px; padding: 4.5px 7px;
background-color: $bgfull; background-color: $bgfull;
} }
.sys-tray { .sys-tray {
border: 2px solid $contrast-bg;
menubar { menubar {
background-color: $bgfull; background-color: $bgfull;
padding: 2.5px; padding: 2.5px;
@ -30,6 +33,8 @@
} }
.current-window { .current-window {
border: 2px solid $contrast-bg;
font-size: 18px;
padding-right: 7px; padding-right: 7px;
background-color: $bgfull; background-color: $bgfull;
} }

View file

@ -1,56 +1,60 @@
.clipboard { .clipboard {
all: unset;
border: 2px solid $contrast-bg;
background-color: $bg;
color: #f8f8f2;
padding: 2px;
* {
font-size: 16px;
}
list, row {
all: unset; all: unset;
} border: 2px solid $contrast-bg;
background-color: $bg;
color: #f8f8f2;
padding: 2px;
.header { * {
margin: 16.2px; font-size: 16px;
margin-bottom: 0;
image, entry {
all: unset;
border-radius: 9px;
color: #f8f8f2;
background-color: rgba(#44475a, 0.6);
border: 1px solid #44475a;
padding: 4.5px;
} }
image { list,
margin-right: 9px; row {
-gtk-icon-transform: scale(0.8); all: unset;
font-size: 25.6px;
} }
}
scrolledwindow { .header {
padding: 10px; margin: 16.2px;
padding-bottom: 0; margin-bottom: 0;
min-width: 900px;
min-height: 750px;
}
.item { image,
all: unset; entry {
transition: 200ms; all: unset;
border-radius: 9px; border-radius: 9px;
color: #f8f8f2;
background-color: rgba(#44475a, 0.6);
border: 1px solid #44475a;
padding: 4.5px;
}
box { image {
padding: 10px; margin-right: 9px;
-gtk-icon-transform: scale(0.8);
font-size: 25.6px;
}
} }
}
*:selected .item, .item:hover, .item:focus { scrolledwindow {
background-color: #363449; padding: 10px;
} padding-bottom: 0;
min-width: 900px;
min-height: 750px;
}
.item {
all: unset;
transition: 200ms;
border-radius: 9px;
box {
padding: 10px;
}
}
*:selected .item,
.item:hover,
.item:focus {
background-color: #363449;
}
} }

View file

@ -0,0 +1,74 @@
.date {
background-color: $bg;
color: $fg;
border: 2px solid $contrast-bg;
}
.timebox {
margin: 30px 0;
.time-container {
.content {
font-weight: bolder;
font-size: 60px;
}
.divider {
margin: 8px 15px;
padding: 0 1px;
background: linear-gradient($red, $magenta, $blue, $cyan);
}
}
.date-container {
margin-top: 2px;
}
}
.cal-box {
border-radius: 30px;
padding: 0 1rem .2rem;
color: $fg;
background-color: $bgfull;
border-bottom: 2px solid $contrast-bg;
border-top: 2px solid $contrast-bg;
margin: 0 12px 18px;
.cal {
font-size: 20px;
background-color: inherit;
padding: .5rem .10rem 0;
margin-left: 10px;
border-radius: 30px;
&>* {
border: solid 0 transparent;
}
&.highlight {
padding: 10rem;
}
}
}
calendar:selected {
color: $cyan;
}
calendar.header {
color: $cyan;
font-weight: bold;
}
calendar.button {
color: $cyan;
}
calendar.highlight {
color: $green;
font-weight: bold;
}
calendar:indeterminate {
color: $lightblack;
}

View file

@ -1,107 +1,109 @@
.notification-center { .notification-center {
min-height: 700px; border: 2px solid $contrast-bg;
min-width: 524px; min-height: 700px;
background: $bg; min-width: 524px;
padding: 0; background: $bg;
padding: 0;
* { * {
font-size: 16px; font-size: 16px;
}
.header {
padding: 10px;
margin-top: 22px;
margin-bottom: 9px;
label {
font-size: 22px;
} }
.clear { .header {
box { padding: 10px;
all: unset; margin-top: 22px;
transition: 200ms; margin-bottom: 9px;
color: #eee;
background-color: #664C90;
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03);
padding: 4.5px 9px;
}
&:hover box { label {
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03); font-size: 22px;
background-color: rgba(238, 238, 238, 0.154);
color: #f1f1f1;
}
&.disabled box {
box-shadow: none;
background-color: rgba(#664C90, 0.3);
color: rgba(238, 238, 238, 0.3);
}
label {
font-size: 1.2em;
}
}
}
.notification-list-box {
background: $bgfull;
padding: 0 12px;
scrollbar {
all: unset;
border-radius: 8px;
border-top-left-radius: 0;
border-bottom-left-radius: 0;
* {
all: unset;
}
&:hover {
border-radius: 8px;
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
}
scrollbar.vertical {
transition: 200ms;
background-color: rgba(23, 23, 23, 0.3);
&:hover {
background-color: rgba(23, 23, 23, 0.7);
slider {
background-color: rgba(238, 238, 238, 0.7);
min-width: .6em;
} }
}
slider { .clear {
background-color: rgba(238, 238, 238, 0.5); box {
border-radius: 9px; all: unset;
min-width: .4em; transition: 200ms;
min-height: 2em; color: #eee;
transition: 200ms; background-color: #664C90;
} box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03);
} padding: 4.5px 9px;
} }
.placeholder { &:hover box {
color: white; box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03);
background-color: rgba(238, 238, 238, 0.154);
color: #f1f1f1;
}
image { &.disabled box {
font-size: 7em; box-shadow: none;
text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.6); background-color: rgba(#664C90, 0.3);
-gtk-icon-shadow: 2px 2px 2px rgba(0, 0, 0, 0.6); color: rgba(238, 238, 238, 0.3);
}
label {
font-size: 1.2em;
}
}
} }
label { .notification-list-box {
font-size: 1.2em; background: $bgfull;
text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.6); padding: 0 12px;
-gtk-icon-shadow: 2px 2px 2px rgba(0, 0, 0, 0.6); border-top: 2px solid $contrast-bg;
scrollbar {
all: unset;
border-radius: 8px;
border-top-left-radius: 0;
border-bottom-left-radius: 0;
* {
all: unset;
}
&:hover {
border-radius: 8px;
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
}
scrollbar.vertical {
transition: 200ms;
background-color: rgba(23, 23, 23, 0.3);
&:hover {
background-color: rgba(23, 23, 23, 0.7);
slider {
background-color: rgba(238, 238, 238, 0.7);
min-width: .6em;
}
}
slider {
background-color: rgba(238, 238, 238, 0.5);
border-radius: 9px;
min-width: .4em;
min-height: 2em;
transition: 200ms;
}
}
}
.placeholder {
color: white;
image {
font-size: 7em;
text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.6);
-gtk-icon-shadow: 2px 2px 2px rgba(0, 0, 0, 0.6);
}
label {
font-size: 1.2em;
text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.6);
-gtk-icon-shadow: 2px 2px 2px rgba(0, 0, 0, 0.6);
}
} }
}
} }

View file

@ -10,197 +10,198 @@ $background-color-9: rgba(238, 238, 238, 0.7);
$background-color-10: rgba(238, 238, 238, 0.5); $background-color-10: rgba(238, 238, 238, 0.5);
.notification.critical { .notification.critical {
>box { >box {
box-shadow: inset 0 0 0.5em 0 #e67090; box-shadow: inset 0 0 0.5em 0 #e67090;
} }
} }
.notification { .notification {
>box { >box {
all: unset; all: unset;
box-shadow: 0 0 4.5px 0 rgba(0, 0, 0, 0.4); box-shadow: 0 0 4.5px 0 rgba(0, 0, 0, 0.4);
margin: 9px 9px 0; margin: 9px 9px 0;
background-color: $bg; background-color: $bg;
padding: 16.2px; padding: 16.2px;
border: 2px solid $contrast-bg;
* { * {
font-size: 16px; font-size: 16px;
}
}
&:hover {
.close-button {
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03);
background-color: $background-color-1;
background-color: $background-color-2;
}
}
.title {
margin-right: 9px;
font-size: 1.1em;
}
.description {
font-size: .9em;
min-width: 350px;
}
.icon {
margin-right: 9px;
}
.icon.img {
border: 1px solid rgba(238, 238, 238, 0.03);
}
.actions {
button {
all: unset;
transition: all 500ms;
background-color: $background-color-3;
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03);
font-size: 1.2em;
padding: 4.5px 9px;
margin: 9px 4.5px 0;
* {
font-size: 16px;
}
&:focus {
box-shadow: inset 0 0 0 1px #51a4e7;
background-color: $background-color-1;
}
&:hover {
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03);
background-color: $background-color-1;
}
&:active {
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03);
background-image: linear-gradient(to right, #51a4e7, #6cb2eb);
background-color: $background-color-4;
&:hover {
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03), inset 0 0 0 99px rgba(238, 238, 238, 0.154);
} }
} }
&:checked { &:hover {
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03); .close-button {
background-image: linear-gradient(to right, #51a4e7, #6cb2eb); box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03);
background-color: $background-color-4; background-color: $background-color-1;
background-color: $background-color-2;
&:hover {
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03), inset 0 0 0 99px rgba(238, 238, 238, 0.154);
} }
} }
&:disabled { .title {
box-shadow: none; margin-right: 9px;
font-size: 1.1em;
}
.description {
font-size: .9em;
min-width: 350px;
}
.icon {
margin-right: 9px;
}
.icon.img {
border: 1px solid rgba(238, 238, 238, 0.03);
}
.actions {
button {
all: unset;
transition: all 500ms;
background-color: $background-color-3;
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03);
font-size: 1.2em;
padding: 4.5px 9px;
margin: 9px 4.5px 0;
* {
font-size: 16px;
}
&:focus {
box-shadow: inset 0 0 0 1px #51a4e7;
background-color: $background-color-1;
}
&:hover {
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03);
background-color: $background-color-1;
}
&:active {
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03);
background-image: linear-gradient(to right, #51a4e7, #6cb2eb);
background-color: $background-color-4;
&:hover {
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03), inset 0 0 0 99px rgba(238, 238, 238, 0.154);
}
}
&:checked {
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03);
background-image: linear-gradient(to right, #51a4e7, #6cb2eb);
background-color: $background-color-4;
&:hover {
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03), inset 0 0 0 99px rgba(238, 238, 238, 0.154);
}
}
&:disabled {
box-shadow: none;
background-color: $background-color-5;
}
&:first-child {
margin-left: 0;
}
&:last-child {
margin-right: 0;
}
}
button.on {
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03);
background-image: linear-gradient(to right, #51a4e7, #6cb2eb);
background-color: $background-color-4;
&:hover {
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03), inset 0 0 0 99px rgba(238, 238, 238, 0.154);
}
}
button.active {
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03);
background-image: linear-gradient(to right, #51a4e7, #6cb2eb);
background-color: $background-color-4;
&:hover {
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03), inset 0 0 0 99px rgba(238, 238, 238, 0.154);
}
}
}
button.close-button {
all: unset;
transition: all 500ms;
background-color: $background-color-5; background-color: $background-color-5;
} background-image: none;
box-shadow: none;
margin-left: 9px;
min-width: 1.2em;
min-height: 1.2em;
&:first-child { * {
margin-left: 0; font-size: 16px;
} }
&:last-child { &:focus {
margin-right: 0; box-shadow: inset 0 0 0 1px #51a4e7;
} background-color: $background-color-1;
}
&:hover {
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03);
background-color: $background-color-1;
background-color: $background-color-2;
}
&:active {
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03);
background-color: $background-color-4;
background-image: linear-gradient(#e67090, #e67090);
&:hover {
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03), inset 0 0 0 99px rgba(238, 238, 238, 0.154);
}
}
&:checked {
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03);
background-image: linear-gradient(to right, #51a4e7, #6cb2eb);
background-color: $background-color-4;
&:hover {
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03), inset 0 0 0 99px rgba(238, 238, 238, 0.154);
}
}
&:disabled {
box-shadow: none;
background-color: $background-color-5;
}
} }
button.on { button.close-button.on {
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03); box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03);
background-image: linear-gradient(to right, #51a4e7, #6cb2eb); background-image: linear-gradient(to right, #51a4e7, #6cb2eb);
background-color: $background-color-4; background-color: $background-color-4;
&:hover { &:hover {
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03), inset 0 0 0 99px rgba(238, 238, 238, 0.154); box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03), inset 0 0 0 99px rgba(238, 238, 238, 0.154);
} }
} }
button.active { button.close-button.active {
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03); box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03);
background-image: linear-gradient(to right, #51a4e7, #6cb2eb); background-image: linear-gradient(to right, #51a4e7, #6cb2eb);
background-color: $background-color-4; background-color: $background-color-4;
&:hover { &:hover {
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03), inset 0 0 0 99px rgba(238, 238, 238, 0.154); box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03), inset 0 0 0 99px rgba(238, 238, 238, 0.154);
} }
} }
}
button.close-button {
all: unset;
transition: all 500ms;
background-color: $background-color-5;
background-image: none;
box-shadow: none;
margin-left: 9px;
min-width: 1.2em;
min-height: 1.2em;
* {
font-size: 16px;
}
&:focus {
box-shadow: inset 0 0 0 1px #51a4e7;
background-color: $background-color-1;
}
&:hover {
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03);
background-color: $background-color-1;
background-color: $background-color-2;
}
&:active {
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03);
background-color: $background-color-4;
background-image: linear-gradient(#e67090, #e67090);
&:hover {
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03), inset 0 0 0 99px rgba(238, 238, 238, 0.154);
}
}
&:checked {
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03);
background-image: linear-gradient(to right, #51a4e7, #6cb2eb);
background-color: $background-color-4;
&:hover {
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03), inset 0 0 0 99px rgba(238, 238, 238, 0.154);
}
}
&:disabled {
box-shadow: none;
background-color: $background-color-5;
}
}
button.close-button.on {
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03);
background-image: linear-gradient(to right, #51a4e7, #6cb2eb);
background-color: $background-color-4;
&:hover {
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03), inset 0 0 0 99px rgba(238, 238, 238, 0.154);
}
}
button.close-button.active {
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03);
background-image: linear-gradient(to right, #51a4e7, #6cb2eb);
background-color: $background-color-4;
&:hover {
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03), inset 0 0 0 99px rgba(238, 238, 238, 0.154);
}
}
} }

View file

@ -1,40 +1,40 @@
.osd { .osd {
padding: 12px 20px; padding: 12px 20px;
background: rgba(40, 42, 54, 0.8); background: rgba(40, 42, 54, 0.8);
border: 2px solid $contrast-bg; border: 2px solid $contrast-bg;
label { label {
min-width: 170px; min-width: 170px;
}
progressbar:disabled {
opacity: 0.5;
}
progressbar {
min-height: 6px;
min-width: 170px;
border-radius: 999px;
background: transparent;
border: none;
trough {
background: #363847;
min-height: inherit;
border: none;
} }
progress { progressbar:disabled {
background: #79659f; opacity: 0.5;
min-height: inherit;
border: none;
} }
}
image { progressbar {
font-size: 2rem; min-height: 6px;
color: white; min-width: 170px;
margin-left: -0.4rem; border-radius: 999px;
margin-right: 0.8rem; background: transparent;
} border: none;
trough {
background: #363847;
min-height: inherit;
border: none;
}
progress {
background: #79659f;
min-height: inherit;
border: none;
}
}
image {
font-size: 2rem;
color: white;
margin-left: -0.4rem;
margin-right: 0.8rem;
}
} }

View file

@ -1,34 +1,48 @@
.powermenu { .powermenu {
background-color: $bg; background-color: $bg;
color: $fg; color: $fg;
padding: 10px; padding: 10px;
font-family: "MesloLGS NF"; font-family: "MesloLGS NF";
/* font-family: Iosevka Nerd Font; */ font-size: 70px;
font-size: 70px; border: 2px solid $contrast-bg;
border: 2px solid $contrast-bg;
label { label {
min-width: 140px; min-width: 140px;
min-height: 130px; min-height: 130px;
} }
.button { .button {
margin: 5px 10px; margin: 5px 10px;
min-width: 80px; min-width: 80px;
transition: all ease .2s; transition: all ease .2s;
&:hover { background-color: $bg-secondary; }
&:active { background-color: $bg-secondary; } &:hover {
background-color: $bg-secondary;
.content { }
padding: 0 15px;
&:active {
background-color: $bg-secondary;
}
.content {
padding: 0 15px;
}
}
.shutdown {
color: $red;
}
.reboot {
color: $magenta;
}
.logout {
color: $yellow;
} }
}
.shutdown { color: $red; }
.reboot { color: $magenta; }
.logout { color: $yellow; }
} }
.powermenu-clickhandler { .powermenu-clickhandler {
background-color: black; background-color: black;
} }

View file

@ -1,66 +1,66 @@
.screenshot { .screenshot {
background-color: $bg; background-color: $bg;
color: $fg; color: $fg;
border: 2px solid $contrast-bg; border: 2px solid $contrast-bg;
label { label {
font-size: 20pt; font-size: 20pt;
}
.header {
border-bottom: 2px solid $contrast-bg;
.header-btn {
transition: 200ms;
&:hover {
background-color: rgba(23, 23, 23, 0.7);
image {
-gtk-icon-shadow: 1px 1px $contrast-bg;
}
}
label {
margin: 10px;
font-weight: bold;
}
image {
font-size: 30px;
}
} }
}
scrolledwindow { .header {
min-height: 400px; border-bottom: 2px solid $contrast-bg;
min-width: 800px;
padding: 0 10px;
box { .header-btn {
.item-btn { transition: 200ms;
transition: 200ms;
&:hover { &:hover {
background-color: rgba(23, 23, 23, 0.7); background-color: rgba(23, 23, 23, 0.7);
image {
-gtk-icon-shadow: 1px 1px $contrast-bg;
}
}
label {
margin: 10px;
font-weight: bold;
}
image {
font-size: 30px;
}
}
}
scrolledwindow {
min-height: 400px;
min-width: 800px;
padding: 0 10px;
box {
.item-btn {
transition: 200ms;
&:hover {
background-color: rgba(23, 23, 23, 0.7);
}
}
label {
padding: 5px;
}
image {
font-size: 30px;
}
&:first-child label {
padding-top: 10px;
}
&:last-child label {
padding-bottom: 10px;
}
} }
}
label {
padding: 5px;
}
image {
font-size: 30px;
}
&:first-child label {
padding-top: 10px;
}
&:last-child label {
padding-bottom: 10px;
}
} }
}
} }

View file

@ -11,9 +11,10 @@ undershoot {
@import './common'; @import './common';
@import './binto-widgets/applauncher'; @import './binto-widgets/applauncher';
@import './binto-widgets/bar'; @import './binto-widgets/bar';
@import './binto-widgets/clipboard';
@import './binto-widgets/date';
@import './binto-widgets/notification'; @import './binto-widgets/notification';
@import './binto-widgets/notification-center'; @import './binto-widgets/notification-center';
@import './binto-widgets/osd'; @import './binto-widgets/osd';
@import './binto-widgets/powermenu'; @import './binto-widgets/powermenu';
@import './binto-widgets/clipboard';
@import './binto-widgets/screenshot'; @import './binto-widgets/screenshot';

View file

@ -34,30 +34,32 @@ $javacafe-blue: #86aaec;
scrolledwindow { scrolledwindow {
scrollbar, scrollbar * {
all: unset;
}
scrollbar.vertical { scrollbar,
transition: 200ms; scrollbar * {
background-color: rgba(23, 23, 23, 0.3); all: unset;
margin: 20px 0;
&:hover {
background-color: rgba(23, 23, 23, 0.7);
slider {
background-color: rgba(238, 238, 238, 0.7);
min-width: .6em;
}
} }
slider { scrollbar.vertical {
background-color: rgba(238, 238, 238, 0.5); transition: 200ms;
border-radius: 9px; background-color: rgba(23, 23, 23, 0.3);
min-width: .4em; margin: 20px 0;
min-height: 2em;
transition: 200ms; &:hover {
background-color: rgba(23, 23, 23, 0.7);
slider {
background-color: rgba(238, 238, 238, 0.7);
min-width: .6em;
}
}
slider {
background-color: rgba(238, 238, 238, 0.5);
border-radius: 9px;
min-width: .4em;
min-height: 2em;
transition: 200ms;
}
} }
}
} }

View file

@ -1,10 +1,10 @@
@import './common'; @import './common';
window { window {
background-color: transparent; background-color: transparent;
} }
.clock { .clock {
font-size: 80pt; font-size: 80pt;
font-family: 'Ubuntu Mono'; font-family: 'Ubuntu Mono';
} }

View file

@ -1,91 +1,95 @@
.applauncher { .applauncher {
all: unset;
border: 2px solid $contrast-bg;
border-radius: 25px;
background-color: $bg;
color: #f8f8f2;
padding: 2px;
* {
font-size: 16px;
}
list, row {
all: unset; all: unset;
} border: 2px solid $contrast-bg;
border-radius: 25px;
.header { background-color: $bg;
margin: 16.2px;
margin-bottom: 0;
image, entry {
all: unset;
border-radius: 9px;
color: #f8f8f2;
background-color: rgba(#44475a, 0.6);
border: 1px solid #44475a;
padding: 4.5px;
}
image {
margin-right: 9px;
-gtk-icon-transform: scale(0.8);
font-size: 25.6px;
}
}
scrolledwindow {
padding: 10px;
padding-bottom: 0;
min-width: 700px;
min-height: 450px;
}
.placeholder {
margin-top: 9px;
color: #f8f8f2; color: #f8f8f2;
font-size: 1.2em; padding: 2px;
}
.app {
all: unset;
transition: 200ms;
border-radius: 9px;
label {
transition: 200ms;
&.title {
color: #f8f8f2;
}
&.description {
color: rgba(238, 238, 238, 0.7);
}
}
image {
transition: 200ms;
margin: 0 8px;
}
&:active {
background-color: rgba($contrast-bg, 0.5);
box-shadow: inset 0 0 0 3px rgba(238, 238, 238, 0.03);
}
}
*:selected, .app:hover, .app:focus {
* { * {
font-weight: unset; font-size: 16px;
} }
label.title { list,
color: $contrast-bg; row {
all: unset;
} }
image { .header {
-gtk-icon-shadow: 2px 2px $contrast-bg; margin: 16.2px;
margin-bottom: 0;
image,
entry {
all: unset;
border-radius: 9px;
color: #f8f8f2;
background-color: rgba(#44475a, 0.6);
border: 1px solid #44475a;
padding: 4.5px;
}
image {
margin-right: 9px;
-gtk-icon-transform: scale(0.8);
font-size: 25.6px;
}
}
scrolledwindow {
padding: 10px;
padding-bottom: 0;
min-width: 700px;
min-height: 450px;
}
.placeholder {
margin-top: 9px;
color: #f8f8f2;
font-size: 1.2em;
}
.app {
all: unset;
transition: 200ms;
border-radius: 9px;
label {
transition: 200ms;
&.title {
color: #f8f8f2;
}
&.description {
color: rgba(238, 238, 238, 0.7);
}
}
image {
transition: 200ms;
margin: 0 8px;
}
&:active {
background-color: rgba($contrast-bg, 0.5);
box-shadow: inset 0 0 0 3px rgba(238, 238, 238, 0.03);
}
}
*:selected,
.app:hover,
.app:focus {
* {
font-weight: unset;
}
label.title {
color: $contrast-bg;
}
image {
-gtk-icon-shadow: 2px 2px $contrast-bg;
}
} }
}
} }

View file

@ -1,57 +1,61 @@
.clipboard { .clipboard {
all: unset;
border: 2px solid $contrast-bg;
border-radius: 25px;
background-color: $bg;
color: #f8f8f2;
padding: 2px;
* {
font-size: 16px;
}
list, row {
all: unset; all: unset;
} border: 2px solid $contrast-bg;
border-radius: 25px;
background-color: $bg;
color: #f8f8f2;
padding: 2px;
.header { * {
margin: 16.2px; font-size: 16px;
margin-bottom: 0;
image, entry {
all: unset;
border-radius: 9px;
color: #f8f8f2;
background-color: rgba(#44475a, 0.6);
border: 1px solid #44475a;
padding: 4.5px;
} }
image { list,
margin-right: 9px; row {
-gtk-icon-transform: scale(0.8); all: unset;
font-size: 25.6px;
} }
}
scrolledwindow { .header {
padding: 10px; margin: 16.2px;
padding-bottom: 0; margin-bottom: 0;
min-width: 900px;
min-height: 750px;
}
.item { image,
all: unset; entry {
transition: 200ms; all: unset;
border-radius: 9px; border-radius: 9px;
color: #f8f8f2;
background-color: rgba(#44475a, 0.6);
border: 1px solid #44475a;
padding: 4.5px;
}
box { image {
padding: 10px; margin-right: 9px;
-gtk-icon-transform: scale(0.8);
font-size: 25.6px;
}
} }
}
*:selected .item, .item:hover, .item:focus { scrolledwindow {
background-color: #363449; padding: 10px;
} padding-bottom: 0;
min-width: 900px;
min-height: 750px;
}
.item {
all: unset;
transition: 200ms;
border-radius: 9px;
box {
padding: 10px;
}
}
*:selected .item,
.item:hover,
.item:focus {
background-color: #363449;
}
} }

View file

@ -1,75 +1,75 @@
.date { .date {
background-color: $bg; background-color: $bg;
color: $fg; color: $fg;
border-radius: 30px; border-radius: 30px;
border: 2px solid $contrast-bg; border: 2px solid $contrast-bg;
} }
.timebox { .timebox {
margin: 30px 0; margin: 30px 0;
.time-container { .time-container {
.content { .content {
font-weight: bolder; font-weight: bolder;
font-size: 60px; font-size: 60px;
}
.divider {
margin: 8px 15px;
padding: 0 1px;
background: linear-gradient($red, $magenta, $blue, $cyan);
}
} }
.divider { .date-container {
margin: 8px 15px; margin-top: 2px;
padding: 0 1px;
background: linear-gradient($red, $magenta, $blue, $cyan);
} }
}
.date-container {
margin-top: 2px;
}
} }
.cal-box { .cal-box {
border-radius: 30px;
padding: 0 1rem .2rem;
color: $fg;
background-color: $bgfull;
border-bottom: 2px solid $contrast-bg;
border-top: 2px solid $contrast-bg;
margin: 0 12px 18px;
.cal {
font-size: 20px;
background-color: inherit;
padding: .5rem .10rem 0;
margin-left: 10px;
border-radius: 30px; border-radius: 30px;
padding: 0 1rem .2rem;
color: $fg;
background-color: $bgfull;
border-bottom: 2px solid $contrast-bg;
border-top: 2px solid $contrast-bg;
margin: 0 12px 18px;
& > * { .cal {
border: solid 0 transparent; font-size: 20px;
} background-color: inherit;
padding: .5rem .10rem 0;
margin-left: 10px;
border-radius: 30px;
&.highlight { &>* {
padding: 10rem; border: solid 0 transparent;
}
&.highlight {
padding: 10rem;
}
} }
}
} }
calendar:selected { calendar:selected {
color: $cyan; color: $cyan;
} }
calendar.header { calendar.header {
color: $cyan; color: $cyan;
font-weight: bold; font-weight: bold;
} }
calendar.button { calendar.button {
color: $cyan; color: $cyan;
} }
calendar.highlight { calendar.highlight {
color: $green; color: $green;
font-weight: bold; font-weight: bold;
} }
calendar:indeterminate { calendar:indeterminate {
color: $lightblack; color: $lightblack;
} }

View file

@ -1,113 +1,113 @@
.notification-center { .notification-center {
min-height: 700px; min-height: 700px;
min-width: 524px; min-width: 524px;
background: $bg; background: $bg;
border-radius: 30px;
border-top-right-radius: 0;
border: 2px solid $contrast-bg;
padding: 0;
* {
font-size: 16px;
}
.header {
padding: 10px;
margin-top: 22px;
margin-bottom: 9px;
label {
font-size: 22px;
}
.clear {
box {
all: unset;
transition: 200ms;
border-radius: 9px;
color: #eee;
background-color: #664C90;
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03);
padding: 4.5px 9px;
}
&:hover box {
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03);
background-color: rgba(238, 238, 238, 0.154);
color: #f1f1f1;
}
&.disabled box {
box-shadow: none;
background-color: rgba(#664C90, 0.3);
color: rgba(238, 238, 238, 0.3);
}
label {
font-size: 1.2em;
}
}
}
.notification-list-box {
background: $bgfull;
padding: 0 12px;
border-radius: 30px; border-radius: 30px;
border-top: 2px solid $contrast-bg; border-top-right-radius: 0;
border: 2px solid $contrast-bg;
padding: 0;
scrollbar { * {
all: unset; font-size: 16px;
border-radius: 8px;
border-top-left-radius: 0;
border-bottom-left-radius: 0;
* {
all: unset;
}
&:hover {
border-radius: 8px;
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
} }
scrollbar.vertical { .header {
transition: 200ms; padding: 10px;
background-color: rgba(23, 23, 23, 0.3); margin-top: 22px;
margin-bottom: 9px;
&:hover { label {
background-color: rgba(23, 23, 23, 0.7); font-size: 22px;
slider {
background-color: rgba(238, 238, 238, 0.7);
min-width: .6em;
} }
}
slider { .clear {
background-color: rgba(238, 238, 238, 0.5); box {
border-radius: 9px; all: unset;
min-width: .4em; transition: 200ms;
min-height: 2em; border-radius: 9px;
transition: 200ms; color: #eee;
} background-color: #664C90;
} box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03);
} padding: 4.5px 9px;
}
.placeholder { &:hover box {
color: white; box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03);
background-color: rgba(238, 238, 238, 0.154);
color: #f1f1f1;
}
image { &.disabled box {
font-size: 7em; box-shadow: none;
text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.6); background-color: rgba(#664C90, 0.3);
-gtk-icon-shadow: 2px 2px 2px rgba(0, 0, 0, 0.6); color: rgba(238, 238, 238, 0.3);
}
label {
font-size: 1.2em;
}
}
} }
label { .notification-list-box {
font-size: 1.2em; background: $bgfull;
text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.6); padding: 0 12px;
-gtk-icon-shadow: 2px 2px 2px rgba(0, 0, 0, 0.6); border-radius: 30px;
border-top: 2px solid $contrast-bg;
scrollbar {
all: unset;
border-radius: 8px;
border-top-left-radius: 0;
border-bottom-left-radius: 0;
* {
all: unset;
}
&:hover {
border-radius: 8px;
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
}
scrollbar.vertical {
transition: 200ms;
background-color: rgba(23, 23, 23, 0.3);
&:hover {
background-color: rgba(23, 23, 23, 0.7);
slider {
background-color: rgba(238, 238, 238, 0.7);
min-width: .6em;
}
}
slider {
background-color: rgba(238, 238, 238, 0.5);
border-radius: 9px;
min-width: .4em;
min-height: 2em;
transition: 200ms;
}
}
}
.placeholder {
color: white;
image {
font-size: 7em;
text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.6);
-gtk-icon-shadow: 2px 2px 2px rgba(0, 0, 0, 0.6);
}
label {
font-size: 1.2em;
text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.6);
-gtk-icon-shadow: 2px 2px 2px rgba(0, 0, 0, 0.6);
}
} }
}
} }

View file

@ -10,201 +10,201 @@ $background-color-9: rgba(238, 238, 238, 0.7);
$background-color-10: rgba(238, 238, 238, 0.5); $background-color-10: rgba(238, 238, 238, 0.5);
.notification.critical { .notification.critical {
>box { >box {
box-shadow: inset 0 0 0.5em 0 #e67090; box-shadow: inset 0 0 0.5em 0 #e67090;
} }
} }
.notification { .notification {
>box { >box {
all: unset; all: unset;
margin: 9px 9px 0; margin: 9px 9px 0;
border: 2px solid $contrast-bg; border: 2px solid $contrast-bg;
border-radius: 15px; border-radius: 15px;
background-color: $bg; background-color: $bg;
padding: 16.2px; padding: 16.2px;
* { * {
font-size: 16px; font-size: 16px;
}
}
&:hover {
.close-button {
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03);
background-color: $background-color-1;
background-color: $background-color-2;
}
}
.title {
margin-right: 9px;
font-size: 1.1em;
}
.description {
font-size: .9em;
min-width: 350px;
}
.icon {
border-radius: 7.2px;
margin-right: 9px;
}
.icon.img {
border: 1px solid rgba(238, 238, 238, 0.03);
}
.actions {
button {
all: unset;
transition: all 500ms;
background-color: $background-color-3;
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03);
border-radius: 7.2px;
font-size: 1.2em;
padding: 4.5px 9px;
margin: 9px 4.5px 0;
* {
font-size: 16px;
}
&:focus {
box-shadow: inset 0 0 0 1px #51a4e7;
background-color: $background-color-1;
}
&:hover {
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03);
background-color: $background-color-1;
}
&:active {
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03);
background-image: linear-gradient(to right, #51a4e7, #6cb2eb);
background-color: $background-color-4;
&:hover {
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03), inset 0 0 0 99px rgba(238, 238, 238, 0.154);
} }
} }
&:checked { &:hover {
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03); .close-button {
background-image: linear-gradient(to right, #51a4e7, #6cb2eb); box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03);
background-color: $background-color-4; background-color: $background-color-1;
background-color: $background-color-2;
&:hover {
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03), inset 0 0 0 99px rgba(238, 238, 238, 0.154);
} }
} }
&:disabled { .title {
box-shadow: none; margin-right: 9px;
font-size: 1.1em;
}
.description {
font-size: .9em;
min-width: 350px;
}
.icon {
border-radius: 7.2px;
margin-right: 9px;
}
.icon.img {
border: 1px solid rgba(238, 238, 238, 0.03);
}
.actions {
button {
all: unset;
transition: all 500ms;
background-color: $background-color-3;
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03);
border-radius: 7.2px;
font-size: 1.2em;
padding: 4.5px 9px;
margin: 9px 4.5px 0;
* {
font-size: 16px;
}
&:focus {
box-shadow: inset 0 0 0 1px #51a4e7;
background-color: $background-color-1;
}
&:hover {
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03);
background-color: $background-color-1;
}
&:active {
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03);
background-image: linear-gradient(to right, #51a4e7, #6cb2eb);
background-color: $background-color-4;
&:hover {
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03), inset 0 0 0 99px rgba(238, 238, 238, 0.154);
}
}
&:checked {
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03);
background-image: linear-gradient(to right, #51a4e7, #6cb2eb);
background-color: $background-color-4;
&:hover {
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03), inset 0 0 0 99px rgba(238, 238, 238, 0.154);
}
}
&:disabled {
box-shadow: none;
background-color: $background-color-5;
}
&:first-child {
margin-left: 0;
}
&:last-child {
margin-right: 0;
}
}
button.on {
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03);
background-image: linear-gradient(to right, #51a4e7, #6cb2eb);
background-color: $background-color-4;
&:hover {
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03), inset 0 0 0 99px rgba(238, 238, 238, 0.154);
}
}
button.active {
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03);
background-image: linear-gradient(to right, #51a4e7, #6cb2eb);
background-color: $background-color-4;
&:hover {
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03), inset 0 0 0 99px rgba(238, 238, 238, 0.154);
}
}
}
button.close-button {
all: unset;
transition: all 500ms;
background-color: $background-color-5; background-color: $background-color-5;
} background-image: none;
box-shadow: none;
margin-left: 9px;
border-radius: 7.2px;
min-width: 1.2em;
min-height: 1.2em;
&:first-child { * {
margin-left: 0; font-size: 16px;
} }
&:last-child { &:focus {
margin-right: 0; box-shadow: inset 0 0 0 1px #51a4e7;
} background-color: $background-color-1;
}
&:hover {
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03);
background-color: $background-color-1;
background-color: $background-color-2;
}
&:active {
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03);
background-color: $background-color-4;
background-image: linear-gradient(#e67090, #e67090);
&:hover {
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03), inset 0 0 0 99px rgba(238, 238, 238, 0.154);
}
}
&:checked {
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03);
background-image: linear-gradient(to right, #51a4e7, #6cb2eb);
background-color: $background-color-4;
&:hover {
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03), inset 0 0 0 99px rgba(238, 238, 238, 0.154);
}
}
&:disabled {
box-shadow: none;
background-color: $background-color-5;
}
} }
button.on { button.close-button.on {
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03); box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03);
background-image: linear-gradient(to right, #51a4e7, #6cb2eb); background-image: linear-gradient(to right, #51a4e7, #6cb2eb);
background-color: $background-color-4; background-color: $background-color-4;
&:hover { &:hover {
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03), inset 0 0 0 99px rgba(238, 238, 238, 0.154); box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03), inset 0 0 0 99px rgba(238, 238, 238, 0.154);
} }
} }
button.active { button.close-button.active {
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03); box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03);
background-image: linear-gradient(to right, #51a4e7, #6cb2eb); background-image: linear-gradient(to right, #51a4e7, #6cb2eb);
background-color: $background-color-4; background-color: $background-color-4;
&:hover { &:hover {
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03), inset 0 0 0 99px rgba(238, 238, 238, 0.154); box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03), inset 0 0 0 99px rgba(238, 238, 238, 0.154);
} }
} }
}
button.close-button {
all: unset;
transition: all 500ms;
background-color: $background-color-5;
background-image: none;
box-shadow: none;
margin-left: 9px;
border-radius: 7.2px;
min-width: 1.2em;
min-height: 1.2em;
* {
font-size: 16px;
}
&:focus {
box-shadow: inset 0 0 0 1px #51a4e7;
background-color: $background-color-1;
}
&:hover {
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03);
background-color: $background-color-1;
background-color: $background-color-2;
}
&:active {
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03);
background-color: $background-color-4;
background-image: linear-gradient(#e67090, #e67090);
&:hover {
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03), inset 0 0 0 99px rgba(238, 238, 238, 0.154);
}
}
&:checked {
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03);
background-image: linear-gradient(to right, #51a4e7, #6cb2eb);
background-color: $background-color-4;
&:hover {
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03), inset 0 0 0 99px rgba(238, 238, 238, 0.154);
}
}
&:disabled {
box-shadow: none;
background-color: $background-color-5;
}
}
button.close-button.on {
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03);
background-image: linear-gradient(to right, #51a4e7, #6cb2eb);
background-color: $background-color-4;
&:hover {
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03), inset 0 0 0 99px rgba(238, 238, 238, 0.154);
}
}
button.close-button.active {
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03);
background-image: linear-gradient(to right, #51a4e7, #6cb2eb);
background-color: $background-color-4;
&:hover {
box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.03), inset 0 0 0 99px rgba(238, 238, 238, 0.154);
}
}
} }

View file

@ -1,43 +1,43 @@
.osd { .osd {
padding: 12px 20px; padding: 12px 20px;
border-radius: 999px;
background: rgba(40, 42, 54, 0.8);
border: 2px solid $contrast-bg;
label {
min-width: 170px;
}
progressbar:disabled {
opacity: 0.5;
}
progressbar {
min-height: 6px;
min-width: 170px;
border-radius: 999px; border-radius: 999px;
background: transparent; background: rgba(40, 42, 54, 0.8);
border: none; border: 2px solid $contrast-bg;
trough { label {
background: #363847; min-width: 170px;
min-height: inherit;
border-radius: inherit;
border: none;
} }
progress { progressbar:disabled {
background: #79659f; opacity: 0.5;
min-height: inherit;
border-radius: inherit;
border: none;
} }
}
image { progressbar {
font-size: 2rem; min-height: 6px;
color: white; min-width: 170px;
margin-left: -0.4rem; border-radius: 999px;
margin-right: 0.8rem; background: transparent;
} border: none;
trough {
background: #363847;
min-height: inherit;
border-radius: inherit;
border: none;
}
progress {
background: #79659f;
min-height: inherit;
border-radius: inherit;
border: none;
}
}
image {
font-size: 2rem;
color: white;
margin-left: -0.4rem;
margin-right: 0.8rem;
}
} }

View file

@ -1,95 +1,99 @@
.thingy { .thingy {
border-radius: 2rem 2rem 0 0; border-radius: 2rem 2rem 0 0;
min-height: 2.7rem; min-height: 2.7rem;
min-width: 20rem; min-width: 20rem;
.settings { .settings {
padding: 0.5rem; padding: 0.5rem;
.button { .button {
background-color: $bgfull; background-color: $bgfull;
border: 0.1rem solid $darkbg; border: 0.1rem solid $darkbg;
border-radius: 0.7rem; border-radius: 0.7rem;
padding: 0.3rem; padding: 0.3rem;
&.toggled { &.toggled {
background-color: $contrast-bg; background-color: $contrast-bg;
} }
}
} }
}
} }
.osk { .osk {
padding-top: 4px; padding-top: 4px;
border-radius: 10px 10px 0; border-radius: 10px 10px 0;
.side { .side {
.key { .key {
&:active label { &:active label {
background-color: $contrast-bg; background-color: $contrast-bg;
} }
label { label {
background-color: $bg; background-color: $bg;
border: 0.08rem solid $darkbg; border: 0.08rem solid $darkbg;
border-radius: 0.7rem; border-radius: 0.7rem;
min-height: 3rem; min-height: 3rem;
transition: background-color 0.2s ease-in-out, transition: background-color 0.2s ease-in-out,
border-color 0.2s ease-in-out; border-color 0.2s ease-in-out;
&.normal, &.Super { &.normal,
min-width: 3rem; &.Super {
min-width: 3rem;
}
&.Tab,
&.Backspace {
min-width: 7rem;
}
&.Enter,
&.Caps {
min-width: 8rem;
}
&.Shift {
min-width: 9rem;
}
&.Space {
min-width: 20rem;
}
&.PrtSc,
&.AltGr {
min-width: 3.2rem;
}
&.active {
background-color: $darkbg;
}
&.altgr {
border: 0.08rem solid blue;
}
}
} }
&.Tab, &.Backspace { &.right-side {
min-width: 7rem; .key .mod {
&.Ctrl {
min-width: 2.4rem;
}
}
} }
&.Enter, &.Caps { &.left-side {
min-width: 8rem; .key .mod {
} &.Alt {
min-width: 3rem;
}
&.Shift { &.Ctrl {
min-width: 9rem; min-width: 4rem;
}
}
} }
&.Space {
min-width: 20rem;
}
&.PrtSc, &.AltGr {
min-width: 3.2rem;
}
&.active {
background-color: $darkbg;
}
&.altgr {
border: 0.08rem solid blue;
}
}
} }
&.right-side {
.key .mod {
&.Ctrl {
min-width: 2.4rem;
}
}
}
&.left-side {
.key .mod {
&.Alt {
min-width: 3rem;
}
&.Ctrl {
min-width: 4rem;
}
}
}
}
} }

View file

@ -1,117 +1,116 @@
.arrow { .arrow {
transition: -gtk-icon-transform 0.3s ease-in-out; transition: -gtk-icon-transform 0.3s ease-in-out;
margin-bottom: 12px; margin-bottom: 12px;
} }
.media { .media {
margin-top: 9px; margin-top: 9px;
} }
.player { .player {
all: unset; all: unset;
padding: 10px; padding: 10px;
min-width: 400px; min-width: 400px;
min-height: 200px; min-height: 200px;
border-radius: 30px; border-radius: 30px;
border-top: 2px solid $contrast-bg; border-top: 2px solid $contrast-bg;
border-bottom: 2px solid $contrast-bg; border-bottom: 2px solid $contrast-bg;
transition: background 250ms; transition: background 250ms;
.top { .top {
font-size: 23px; font-size: 23px;
}
.metadata {
.title{
font-weight: 500;
transition: text 250ms;
} }
.artist{ .metadata {
font-weight: 400; .title {
font-size: 15px; font-weight: 500;
transition: text 250ms; transition: text 250ms;
}
.artist {
font-weight: 400;
font-size: 15px;
transition: text 250ms;
}
} }
}
.bottom { .bottom {
font-size: 30px; font-size: 30px;
} }
.pausebutton { .pausebutton {
transition: background-color ease .2s, transition: background-color ease .2s,
color ease .2s; color ease .2s;
font-size: 15px; font-size: 15px;
padding: 4px 4px 4px 7px; padding: 4px 4px 4px 7px;
} }
.playing { .playing {
transition: background-color ease .2s, transition: background-color ease .2s,
color ease .2s; color ease .2s;
border-radius: 15px; border-radius: 15px;
} }
.stopped, .stopped,
.paused { .paused {
transition: background-color ease .2s, transition: background-color ease .2s,
color ease .2s; color ease .2s;
border-radius: 26px; border-radius: 26px;
padding: 4px 4px 4px 10px; padding: 4px 4px 4px 10px;
} }
button label { button label {
min-width: 35px; min-width: 35px;
} }
} }
.position-indicator { .position-indicator {
min-width: 18px; min-width: 18px;
margin: 7px; margin: 7px;
background-color: rgba(255, 255, 255, 0.7); background-color: rgba(255, 255, 255, 0.7);
box-shadow: 0 0 5px 0 rgba(255, 255, 255, 0.3); box-shadow: 0 0 5px 0 rgba(255, 255, 255, 0.3);
border-radius: 100%; border-radius: 100%;
} }
.previous, .previous,
.next, .next,
.shuffle, .shuffle,
.loop { .loop {
border-radius: 100%;
transition: color 200ms;
&:hover {
border-radius: 100%; border-radius: 100%;
background-color: rgba(127, 132, 156, 0.4);
transition: color 200ms; transition: color 200ms;
}
&:hover {
border-radius: 100%;
background-color: rgba(127, 132, 156, 0.4);
transition: color 200ms;
}
} }
.loop { .loop {
label { label {
padding-right: 8px; padding-right: 8px;
} }
} }
.position-slider { .position-slider {
highlight { highlight {
margin: 0; margin: 0;
border-radius: 2em; border-radius: 2em;
} }
trough { trough {
margin: 0 8px; margin: 0 8px;
border-radius: 2em; border-radius: 2em;
} }
slider { slider {
margin: -8px; margin: -8px;
min-height: 20px; min-height: 20px;
border-radius: 10px; border-radius: 10px;
transition: background-color 0.5s ease-in-out; transition: background-color 0.5s ease-in-out;
} }
slider:hover { slider:hover {
transition: background-color 0.5s ease-in-out; transition: background-color 0.5s ease-in-out;
} }
} }

View file

@ -1,37 +1,52 @@
.powermenu { .powermenu {
background-color: $bg; background-color: $bg;
color: $fg; color: $fg;
padding: 10px; padding: 10px;
font-family: "MesloLGS NF"; font-family: "MesloLGS NF";
/* font-family: Iosevka Nerd Font; */ /* font-family: Iosevka Nerd Font; */
font-size: 70px; font-size: 70px;
border-radius: 30px; border-radius: 30px;
border: 2px solid $contrast-bg; border: 2px solid $contrast-bg;
label { label {
min-width: 140px; min-width: 140px;
min-height: 130px; min-height: 130px;
} }
.button { .button {
margin: 5px 10px; margin: 5px 10px;
border-radius: 12px; border-radius: 12px;
min-width: 80px; min-width: 80px;
transition: all ease .2s; transition: all ease .2s;
&:hover { background-color: $bg-secondary; }
&:active { background-color: $bg-secondary; } &:hover {
background-color: $bg-secondary;
.content { }
border-radius: 4px;
padding: 0 15px; &:active {
background-color: $bg-secondary;
}
.content {
border-radius: 4px;
padding: 0 15px;
}
}
.shutdown {
color: $red;
}
.reboot {
color: $magenta;
}
.logout {
color: $yellow;
} }
}
.shutdown { color: $red; }
.reboot { color: $magenta; }
.logout { color: $yellow; }
} }
.powermenu-clickhandler { .powermenu-clickhandler {
background-color: black; background-color: black;
} }

View file

@ -1,182 +1,184 @@
.quick-settings { .quick-settings {
font-size: 30px; font-size: 30px;
min-width: 500px; min-width: 500px;
padding: 0; padding: 0;
background-color: $bg; background-color: $bg;
border-radius: 30px 0 30px 30px; border-radius: 30px 0 30px 30px;
border: 2px solid $contrast-bg; border: 2px solid $contrast-bg;
} }
.title { .title {
font-size: 22px; font-size: 22px;
margin-top: 30px; margin-top: 30px;
} }
.grid-label { .grid-label {
font-size: 30px; font-size: 30px;
margin-left: 15px; margin-left: 15px;
margin-right: 10px; margin-right: 10px;
min-width: 50px; min-width: 50px;
} }
.scrolled-indicator { .scrolled-indicator {
margin: 5px 0; margin: 5px 0;
} }
.menu { .menu {
margin: 10px; margin: 10px;
padding: 0;
border: 1.5px solid $contrast-bg;
border-radius: 10px;
font-size: 12px;
scrolledwindow {
padding: 3px;
}
row {
padding: 0; padding: 0;
margin: 0; border: 1.5px solid $contrast-bg;
} border-radius: 10px;
font-size: 12px;
.menu-item { scrolledwindow {
margin: 5px; padding: 3px;
label {
font-size: 16px;
margin-left: 5px;
} }
image { row {
font-size: 20px; padding: 0;
margin: 0;
}
.menu-item {
margin: 5px;
label {
font-size: 16px;
margin-left: 5px;
}
image {
font-size: 20px;
}
} }
}
} }
.sub-label { .sub-label {
font-size: 14px; font-size: 14px;
padding: 3px; padding: 3px;
border: 2px solid $contrast-bg; border: 2px solid $contrast-bg;
border-radius: 10px 20px 20px 10px; border-radius: 10px 20px 20px 10px;
min-width: 106px; min-width: 106px;
background: #1b1b1b; background: #1b1b1b;
margin-top: 5px; margin-top: 5px;
} }
.grid-chev { .grid-chev {
margin-left: 10px; margin-left: 10px;
margin-right: 12px; margin-right: 12px;
font-size: 25px; font-size: 25px;
transition: -gtk-icon-transform 0.3s ease-in-out; transition: -gtk-icon-transform 0.3s ease-in-out;
} }
.button-grid { .button-grid {
font-size: 10px; font-size: 10px;
min-width: 440px; min-width: 440px;
background-color: $bgfull; background-color: $bgfull;
border-top: 2px solid $contrast-bg; border-top: 2px solid $contrast-bg;
border-bottom: 2px solid $contrast-bg; border-bottom: 2px solid $contrast-bg;
border-radius: 15px; border-radius: 15px;
padding: 10px 15px; padding: 10px 15px;
} }
.grid-button { .grid-button {
min-height: 65px; min-height: 65px;
min-width: 70px; min-width: 70px;
} }
.left-part { .left-part {
background: #1b1b1b; background: #1b1b1b;
border-top-left-radius: 15px; border-top-left-radius: 15px;
border-bottom-left-radius: 15px; border-bottom-left-radius: 15px;
border-left: 2px solid $contrast-bg; border-left: 2px solid $contrast-bg;
border-top: 2px solid $contrast-bg; border-top: 2px solid $contrast-bg;
border-bottom: 2px solid $contrast-bg; border-bottom: 2px solid $contrast-bg;
transition: all 0.5s ease-in-out; transition: all 0.5s ease-in-out;
} }
.right-part { .right-part {
background: #1b1b1b; background: #1b1b1b;
border-top-right-radius: 30px; border-top-right-radius: 30px;
border-bottom-right-radius: 30px; border-bottom-right-radius: 30px;
border-right: 2px solid $contrast-bg; border-right: 2px solid $contrast-bg;
border-top: 2px solid $contrast-bg; border-top: 2px solid $contrast-bg;
border-bottom: 2px solid $contrast-bg; border-bottom: 2px solid $contrast-bg;
transition: all 0.5s ease-in-out; transition: all 0.5s ease-in-out;
} }
.right-part:hover, .right-part:active { .right-part:hover,
color: $contrast-bg; .right-part:active {
border: 2px solid $contrast-bg; color: $contrast-bg;
border-top-left-radius: 7px; border: 2px solid $contrast-bg;
border-bottom-left-radius: 7px; border-top-left-radius: 7px;
transition: all 0.5s ease-in-out; border-bottom-left-radius: 7px;
transition: all 0.5s ease-in-out;
} }
.left-part:hover, .left-part:active { .left-part:hover,
color: $contrast-bg; .left-part:active {
border: 2px solid $contrast-bg; color: $contrast-bg;
border-top-right-radius: 7px; border: 2px solid $contrast-bg;
border-bottom-right-radius: 7px; border-top-right-radius: 7px;
transition: all 0.5s ease-in-out; border-bottom-right-radius: 7px;
transition: all 0.5s ease-in-out;
} }
.player { .player {
margin-top: 6px; margin-top: 6px;
min-height: 220px; min-height: 220px;
opacity: 0; opacity: 0;
} }
.slider-box { .slider-box {
min-height: 100px; min-height: 100px;
min-width: 470px; min-width: 470px;
background-color: $bgfull; background-color: $bgfull;
border-top: 2px solid $contrast-bg; border-top: 2px solid $contrast-bg;
border-bottom: 2px solid $contrast-bg; border-bottom: 2px solid $contrast-bg;
border-radius: 15px; border-radius: 15px;
margin-top: 30px; margin-top: 30px;
margin-bottom: 20px; margin-bottom: 20px;
.slider-label { .slider-label {
font-size: 30px; font-size: 30px;
min-width: 40px; min-width: 40px;
margin-right: -20px; margin-right: -20px;
} }
.slider { .slider {
min-height: 55px; min-height: 55px;
margin-right: -15px; margin-right: -15px;
scale { scale {
min-width: 400px; min-width: 400px;
margin-left: 18px; margin-left: 18px;
margin-right: 20px; margin-right: 20px;
highlight { highlight {
margin: 0; margin: 0;
background-color: #79659f; background-color: #79659f;
border-radius: 2em; border-radius: 2em;
} }
trough { trough {
background-color: #363847; background-color: #363847;
border-radius: 2em; border-radius: 2em;
} }
slider { slider {
margin: -4px; margin: -4px;
min-width: 20px; min-width: 20px;
min-height: 20px; min-height: 20px;
background: #3e4153; background: #3e4153;
border-radius: 100%; border-radius: 100%;
transition: background-color 0.5s ease-in-out; transition: background-color 0.5s ease-in-out;
} }
slider:hover { slider:hover {
background-color: #303240; background-color: #303240;
transition: background-color 0.5s ease-in-out; transition: background-color 0.5s ease-in-out;
} }
}
} }
}
} }

View file

@ -1,75 +1,76 @@
.screenshot { .screenshot {
background-color: $bg; background-color: $bg;
color: $fg; color: $fg;
border: 2px solid $contrast-bg; border: 2px solid $contrast-bg;
border-radius: 25px; border-radius: 25px;
label { label {
font-size: 20pt; font-size: 20pt;
}
.header {
border-bottom: 2px solid $contrast-bg;
.header-btn {
transition: 200ms;
&:hover, &.active {
background-color: rgba(23, 23, 23, 0.7);
image {
-gtk-icon-shadow: 1px 1px $contrast-bg;
}
}
label {
margin: 10px;
font-weight: bold;
}
image {
font-size: 30px;
}
&:first-child {
border-top-left-radius: 25px;
}
&:last-child {
border-top-right-radius: 25px;
}
} }
}
scrolledwindow { .header {
min-height: 400px; border-bottom: 2px solid $contrast-bg;
min-width: 800px;
padding: 0 10px;
box { .header-btn {
.item-btn { transition: 200ms;
transition: 200ms;
&:hover { &:hover,
background-color: rgba(23, 23, 23, 0.7); &.active {
background-color: rgba(23, 23, 23, 0.7);
image {
-gtk-icon-shadow: 1px 1px $contrast-bg;
}
}
label {
margin: 10px;
font-weight: bold;
}
image {
font-size: 30px;
}
&:first-child {
border-top-left-radius: 25px;
}
&:last-child {
border-top-right-radius: 25px;
}
}
}
scrolledwindow {
min-height: 400px;
min-width: 800px;
padding: 0 10px;
box {
.item-btn {
transition: 200ms;
&:hover {
background-color: rgba(23, 23, 23, 0.7);
}
}
label {
padding: 5px;
}
image {
font-size: 30px;
}
&:first-child label {
padding-top: 10px;
}
&:last-child label {
padding-bottom: 10px;
}
} }
}
label {
padding: 5px;
}
image {
font-size: 30px;
}
&:first-child label {
padding-top: 10px;
}
&:last-child label {
padding-bottom: 10px;
}
} }
}
} }

View file

@ -1,30 +1,33 @@
.sys-tray { .sys-tray {
padding: 5px; padding: 5px;
background-color: $bg; background-color: $bg;
border-radius: 80px; border-radius: 80px;
border: 2px solid $bg-secondary; border: 2px solid $bg-secondary;
transition: background-color 0.5s ease-in-out, transition: background-color 0.5s ease-in-out,
border 0.5s ease-in-out; border 0.5s ease-in-out;
menuitem { menuitem {
image { color: #CBA6F7; } image {
background-color: transparent; color: #CBA6F7;
padding: 0 2px; }
border-radius: 100%;
transition: all 0.5s ease-in-out;
&:hover { background-color: transparent;
border-radius: 100%; padding: 0 2px;
transition: all 0.5s ease-in-out; border-radius: 100%;
transition: all 0.5s ease-in-out;
&:hover {
border-radius: 100%;
transition: all 0.5s ease-in-out;
}
* {
font-size: 25px;
border-radius: 10px;
}
} }
* { menubar {
font-size: 25px; background-color: transparent;
border-radius: 10px;
} }
}
menubar {
background-color: transparent;
}
} }

View file

@ -1,117 +1,123 @@
.bar { .bar {
margin: 5px; margin: 5px;
}
.current-window {
color: #CBA6F7;
font-size: 18px;
} }
.osk-toggle, .osk-toggle,
.tablet-toggle, .tablet-toggle,
.heart-toggle { .heart-toggle {
font-size: 28px; font-size: 28px;
min-height: 40px; min-height: 40px;
min-width: 53px; min-width: 53px;
} }
.heart-toggle { .heart-toggle {
font-size: 28px; font-size: 28px;
min-height: 40px; min-height: 40px;
color: #CBA6F7; color: #CBA6F7;
} }
.notif-panel { .notif-panel {
font-size: 20px; font-size: 20px;
min-height: 37px; min-height: 37px;
min-width: 105px; min-width: 105px;
} }
.quick-settings-toggle { .quick-settings-toggle {
font-size: 24px; font-size: 24px;
min-height: 40px; min-height: 40px;
min-width: 40px; min-width: 40px;
padding-right: 4px; padding-right: 4px;
margin-left: -3px; margin-left: -3px;
} }
.toggle-off { .toggle-off {
background-color: $bg; background-color: $bg;
color: #CBA6F7; color: #CBA6F7;
border-radius: 80px; border-radius: 80px;
border: 2px solid $bg-secondary; border: 2px solid $bg-secondary;
transition: background-color 0.5s ease-in-out, transition: background-color 0.5s ease-in-out,
border 0.5s ease-in-out; border 0.5s ease-in-out;
} }
.toggle-on { .toggle-on {
background-color: $bg; background-color: $bg;
color: #CBA6F7; color: #CBA6F7;
border-radius: 80px; border-radius: 80px;
border: 2px solid $contrast-bg; border: 2px solid $contrast-bg;
transition: background-color 0.5s ease-in-out, transition: background-color 0.5s ease-in-out,
border 0.5s ease-in-out; border 0.5s ease-in-out;
} }
.toggle-on:hover, .toggle-off:hover { .toggle-on:hover,
background-color: rgba(127, 132, 156, 0.4); .toggle-off:hover {
transition: background-color 0.5s ease-in-out, background-color: rgba(127, 132, 156, 0.4);
border 0.5s ease-in-out; transition: background-color 0.5s ease-in-out,
border 0.5s ease-in-out;
} }
.clock { .clock {
font-size: 20px; font-size: 20px;
padding: 0 15px; padding: 0 15px;
} }
.audio, .audio,
.bluetooth, .bluetooth,
.brightness, .brightness,
.keyboard { .keyboard {
padding: 0 10px; padding: 0 10px;
font-size: 20px; font-size: 20px;
margin-right: -10px; margin-right: -10px;
} }
.network { .network {
padding: 0 10px; padding: 0 10px;
font-size: 20px; font-size: 20px;
} }
.bg-text { .bg-text {
color: $bg; color: $bg;
font-weight: bold; font-weight: bold;
} }
.battery { .battery {
padding: 0 10px; padding: 0 10px;
font-size: 20px;
.battery-indicator {
&.charging {
color: green;
}
&.charged {
// TODO: charged battery style
}
&.low {
color: red;
}
}
icon {
.charging {
// TODO: charging battery style
}
.discharging {
// TODO: discharging battery style
}
}
label {
font-size: 20px; font-size: 20px;
}
.battery-indicator {
&.charging {
color: green;
}
&.charged {
// TODO: charged battery style
}
&.low {
color: red;
}
}
icon {
.charging {
// TODO: charging battery style
}
.discharging {
// TODO: discharging battery style
}
}
label {
font-size: 20px;
}
} }
tooltip { tooltip {
background: rgba(0,0,0, 0.6); background: rgba(0, 0, 0, 0.6);
border-radius: 5px; border-radius: 5px;
} }

View file

@ -1,34 +1,34 @@
.bar { .bar {
.workspaces { .workspaces {
background-color: $bg; background-color: $bg;
border-radius: 80px; border-radius: 80px;
border: 2px solid $bg-secondary; border: 2px solid $bg-secondary;
padding: 3px 12px; padding: 3px 12px;
} }
.button { .button {
margin: 0 2.5px; margin: 0 2.5px;
min-height: 22px; min-height: 22px;
min-width: 22px; min-width: 22px;
border-radius: 100%; border-radius: 100%;
border: 2px solid transparent; border: 2px solid transparent;
} }
.occupied { .occupied {
border: 2px solid $bg; border: 2px solid $bg;
background: $contrast-bg; background: $contrast-bg;
transition: background-color 0.6s ease-in-out; transition: background-color 0.6s ease-in-out;
} }
.urgent { .urgent {
border: 2px solid $bg; border: 2px solid $bg;
background: red; background: red;
transition: background-color 0.6s ease-in-out; transition: background-color 0.6s ease-in-out;
} }
.active { .active {
border: 2px solid #50fa7b; border: 2px solid #50fa7b;
transition: margin-left 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); transition: margin-left 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
} }
} }

View file

@ -5,7 +5,7 @@ box,
progressbar, progressbar,
trough, trough,
undershoot { undershoot {
all: unset; all: unset;
} }
@import './common'; @import './common';

View file

@ -5,7 +5,7 @@ import { get_gdkmonitor_from_desc } from '../lib.ts';
import BarRevealer from './fullscreen.ts'; import BarRevealer from './fullscreen.ts';
import Clock from './items/clock.ts'; import Clock from './items/cal-opener.ts';
import CurrentWindow from './items/current-window'; import CurrentWindow from './items/current-window';
import NotifButton from './items/notif-button.ts'; import NotifButton from './items/notif-button.ts';
import SysTray from './items/systray.ts'; import SysTray from './items/systray.ts';

View file

@ -24,7 +24,6 @@ export default () => Box({
Separator(SPACING), Separator(SPACING),
Label({ Label({
css: 'color: #CBA6F7; font-size: 18px',
truncate: 'end', truncate: 'end',
label: Hyprland.active.client.bind('title'), label: Hyprland.active.client.bind('title'),
}), }),

View file

@ -0,0 +1,14 @@
import PopupWindow from '../misc/popup.ts';
import CalendarWidget from './main.ts';
import { get_gdkmonitor_from_desc } from '../lib.ts';
export default () => PopupWindow({
name: 'calendar',
anchor: ['bottom', 'right'],
margins: [0, 20, 0, 0],
transition: 'slide bottom',
gdkmonitor: get_gdkmonitor_from_desc('desc:Acer Technologies Acer K212HQL T3EAA0014201'),
child: CalendarWidget(),
});

View file

@ -2,8 +2,6 @@ const { Box, Calendar, Label } = Widget;
const { new_now_local } = imports.gi.GLib.DateTime; const { new_now_local } = imports.gi.GLib.DateTime;
import PopupWindow from './misc/popup.ts';
const Divider = () => Box({ const Divider = () => Box({
class_name: 'divider', class_name: 'divider',
@ -83,20 +81,12 @@ const CalendarWidget = () => Box({
}), }),
}); });
const TOP_MARGIN = 6; export default () => Box({
class_name: 'date',
vertical: true,
export default () => PopupWindow({ children: [
name: 'calendar', Time(),
anchor: ['top'], CalendarWidget(),
margins: [TOP_MARGIN, 0, 0, 0], ],
child: Box({
class_name: 'date',
vertical: true,
children: [
Time(),
CalendarWidget(),
],
}),
}); });

View file

@ -0,0 +1,12 @@
import PopupWindow from '../misc/popup.ts';
import CalendarWidget from './main.ts';
const TOP_MARGIN = 6;
export default () => PopupWindow({
name: 'calendar',
anchor: ['top'],
margins: [TOP_MARGIN, 0, 0, 0],
child: CalendarWidget(),
});

View file

@ -2,7 +2,7 @@ import Setup from './ts/setup.ts';
import AppLauncher from './ts/applauncher/main.ts'; import AppLauncher from './ts/applauncher/main.ts';
import Bar from './ts/bar/wim.ts'; import Bar from './ts/bar/wim.ts';
import BgFade from './ts/misc/background-fade.ts'; import BgFade from './ts/misc/background-fade.ts';
import Calendar from './ts/date.ts'; import Calendar from './ts/date/wim.ts';
import Clipboard from './ts/clipboard/main.ts'; import Clipboard from './ts/clipboard/main.ts';
import Corners from './ts/corners/main.ts'; import Corners from './ts/corners/main.ts';
import { NotifPopups, NotifCenter } from './ts/notifications/wim.ts'; import { NotifPopups, NotifCenter } from './ts/notifications/wim.ts';