| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134 |
- @import 'angularlib/styles/common.scss';
- :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;
- }
- #notifications {
- position: relative;
- }
- #notifications .count {
- position: absolute;
- width:15px;
- height: 15px;
- background-color: red;
- right: 3px;
- top: -5px;
- font-size: 8pt;
- border-radius: 50%;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .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;
- max-height: fit-content;
- }
- 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;
- }
- .test {
- position: absolute;
- right: 0;
- bottom: 0;
- }
- footer {
- padding-top: 2px;
- color:#868686;
- font-size: 8pt;
- display: flex;
- align-items: flex-end;
- justify-content: center;
- border-top: 1px solid;
- }
- [class*='dark-theme'] {
- footer {
- color: #bdbdbd;
- }
- }
- /** Mobile styles */
- @media screen and (pointer: none), (pointer: coarse) {
- .toolbar {display: none;}
- .container > .left {display: none;}
- .container > .right {display: none;}
-
- .mobile-toolbar {
- display: flex;
- }
- #notifications .count {
- right: 35%;
- top: -3px;
- }
- }
|