| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- :host {
- --bright-blue: oklch(51.01% 0.274 263.83);
- --pill-accent: var(--bright-blue);
- }
- .container {
- display: flex;
- flex-flow: row;
- }
- .container > .left {
- flex-grow: 1;
- }
- .container > .main {
- flex-grow: 4;
- margin: 1rem;
- height: calc(100vh - 75px);
- }
- .container > .right {
- flex-grow: 1;
- }
- .toolbar-item {
- display: flex;
- flex-flow: column;
- align-items: center;
- flex: 1;
- max-height: 100% !important;
- transition: background 0.3s ease;
- border-radius: 10px;
- .mat-icon {
- flex-grow: 2;
- }
- mat-label {
- line-height: 9pt;
- font-size: 8pt;
- }
- }
- .toolbar-item:hover {
- background: color-mix(in srgb, var(--pill-accent) 15%, transparent);
- }
- .toolbar, .mobile-toolbar {
- height: 40px;
- }
- .mobile-toolbar {
- display: none;
- position: fixed;
- bottom: 0;
- }
- .right-toolbar-panel {
- display: flex;
- flex-direction: row;
- position: absolute;
- right: 10px;
- .toolbar-item {
- padding-left: 0.5rem;
- padding-right: 0.5rem;
- mat-label {display: none;}
- }
- #home {display: none;}
- #clock_in {display: none;}
- #clock_out {display: none;}
- }
- .language-flag {
- display: inline-flex;
- border-radius: 50%;
- height: 1.3rem;
- width: 1.3rem;
- background-size: cover;
- background-position: center;
- }
- /** Mobile styles */
- @media screen and (pointer: none), (pointer: coarse) {
- .toolbar {display: none;}
- .container > .left {display: none;}
- .container > .right {display: none;}
-
- .mobile-toolbar {
- display: flex;
- }
- }
|