Files
jobtrackingapp/docs/ui-modernisation/reassessment/concepts/styles.css
T

987 lines
15 KiB
CSS

* {
box-sizing: border-box;
}
body {
margin: 0;
font-family: Calibri, "Segoe UI", sans-serif;
background: var(--bg, #f0f3f7);
color: var(--ink, #243245);
font-size: 16px;
line-height: 1.5;
}
button,
input,
select,
textarea {
font: inherit;
}
button,
a,
input,
select,
textarea {
outline-offset: 4px;
}
button:focus-visible,
a:focus-visible {
outline: 3px solid var(--accent, #17677a);
}
button,
a {
cursor: pointer;
}
button {
border: 1px solid var(--line);
background: var(--paper);
color: var(--ink);
border-radius: 7px;
padding: 10px 16px;
min-height: 44px;
}
button:hover {
background: var(--soft);
}
button.primary {
background: var(--accent);
color: white;
border-color: var(--accent);
}
a {
color: inherit;
text-decoration: none;
}
h1,
h2,
h3,
p {
margin-top: 0;
}
h1 {
font-size: clamp(30px, 3vw, 48px);
line-height: 1.1;
letter-spacing: -1.2px;
font-weight: 650;
}
h2 {
font-size: 24px;
line-height: 1.2;
}
h3 {
font-size: 18px;
}
p {
max-width: 70ch;
}
small,
.muted {
color: var(--muted);
}
.lab {
background: #172b3c;
color: #fff;
display: flex;
align-items: center;
gap: 12px;
padding: 9px 20px;
flex-wrap: wrap;
font-size: 13px;
position: relative;
z-index: 20;
}
.lab select,
.lab button {
background: #263f54;
color: white;
border: 1px solid #658093;
padding: 5px 10px;
min-height: 34px;
}
.lab a {
margin-right: auto;
}
.shell {
min-height: calc(100vh - 54px);
}
.brand {
font-size: 25px;
font-weight: 750;
letter-spacing: -1px;
}
.brand span {
display: inline-grid;
place-items: center;
width: 32px;
height: 32px;
background: var(--accent);
color: white;
border-radius: 50%;
margin-right: 8px;
font-size: 17px;
}
.nav {
display: flex;
gap: 5px;
}
.nav a {
padding: 10px 14px;
border-radius: 7px;
white-space: nowrap;
}
.nav a.active {
background: var(--soft);
color: var(--accent);
font-weight: 700;
}
.nav a:hover {
background: var(--soft);
}
.top {
display: flex;
align-items: center;
justify-content: space-between;
gap: 20px;
padding: 23px 40px;
background: var(--paper);
border-bottom: 1px solid var(--line);
}
.avatar {
background: var(--soft);
border-radius: 50%;
width: 42px;
height: 42px;
display: grid;
place-items: center;
font-weight: 700;
}
.content {
padding: 38px 44px;
max-width: 1600px;
margin: auto;
}
.heading {
display: flex;
justify-content: space-between;
gap: 24px;
align-items: start;
margin-bottom: 30px;
}
.heading p {
margin-bottom: 0;
}
.split {
display: grid;
grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr);
gap: 38px;
}
.wide-split {
display: grid;
grid-template-columns: 300px minmax(0, 1fr);
gap: 35px;
}
.section {
margin-bottom: 32px;
}
.section-title {
display: flex;
justify-content: space-between;
align-items: center;
gap: 16px;
margin-bottom: 16px;
}
.section-title h2 {
margin: 0;
}
.list {
border-top: 1px solid var(--line);
}
.row {
display: flex;
align-items: center;
gap: 18px;
padding: 18px 0;
border-bottom: 1px solid var(--line);
}
.row .grow {
flex: 1;
min-width: 0;
}
.row h3 {
margin: 0 0 4px;
}
.row p {
margin: 0;
}
.badge {
display: inline-block;
border-radius: 5px;
padding: 4px 9px;
background: var(--soft);
font-size: 13px;
color: var(--accent);
}
.logo {
width: 45px;
height: 45px;
flex-shrink: 0;
background: var(--soft);
display: grid;
place-items: center;
font-size: 23px;
border-radius: 10px;
}
.actions {
display: flex;
gap: 10px;
flex-wrap: wrap;
}
.metric-strip {
display: flex;
gap: 36px;
padding: 24px 0;
border-bottom: 1px solid var(--line);
margin-bottom: 30px;
}
.metric strong {
font-size: 32px;
display: block;
line-height: 1.2;
}
.notice {
background: var(--soft);
padding: 25px;
border-radius: 12px;
}
.notice h2 {
margin-bottom: 10px;
}
.agenda .date {
width: 52px;
font-size: 14px;
font-weight: 700;
flex-shrink: 0;
}
.task {
display: flex;
gap: 12px;
padding: 14px 0;
align-items: start;
}
.task input {
width: 21px;
height: 21px;
accent-color: var(--accent);
flex-shrink: 0;
}
.task label {
flex: 1;
}
.grid3 {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 20px;
}
.tile {
padding: 24px;
background: var(--paper);
border: 1px solid var(--line);
border-radius: 12px;
min-width: 0;
}
.tile p:last-child {
margin-bottom: 0;
}
.tile:hover {
border-color: var(--accent);
}
.field {
display: grid;
gap: 7px;
margin-bottom: 20px;
}
.field input,
.field textarea,
.field select {
width: 100%;
background: var(--paper);
border: 1px solid var(--line);
border-radius: 6px;
padding: 11px;
color: var(--ink);
}
.field textarea {
min-height: 120px;
resize: vertical;
}
.filters {
display: flex;
gap: 10px;
flex-wrap: wrap;
margin-bottom: 28px;
}
.filters input {
flex: 1;
min-width: 150px;
background: var(--paper);
border: 1px solid var(--line);
padding: 12px;
border-radius: 7px;
color: var(--ink);
}
.document {
background: #fff;
color: #23323e;
box-shadow: 0 8px 35px #162e4714;
padding: 48px;
min-height: 650px;
max-width: 700px;
margin: auto;
font-family: Georgia, serif;
}
.document h2 {
font-size: 32px;
}
.document h3 {
margin-top: 30px;
border-bottom: 1px solid #cad1d7;
padding-bottom: 10px;
}
.document p {
font-size: 15px;
}
.document small {
color: #4e606e;
}
.studio {
display: grid;
grid-template-columns: minmax(300px, 1.4fr) minmax(280px, 1fr);
gap: 35px;
}
.editor {
background: var(--paper);
padding: 28px;
border-radius: 10px;
}
.editor-tabs {
display: flex;
gap: 7px;
margin-bottom: 22px;
flex-wrap: wrap;
}
.steps {
display: flex;
gap: 8px;
flex-wrap: wrap;
margin-bottom: 28px;
}
.steps a {
padding: 8px 14px;
border-bottom: 3px solid var(--line);
}
.steps a.active {
border-color: var(--accent);
color: var(--accent);
}
.calendar {
display: grid;
grid-template-columns: repeat(7, 1fr);
gap: 5px;
}
.day {
background: var(--paper);
min-height: 90px;
padding: 9px;
border: 1px solid var(--line);
border-radius: 5px;
}
.day strong {
font-size: 13px;
}
.day p {
font-size: 12px;
background: var(--soft);
padding: 5px;
margin: 7px 0;
color: var(--accent);
}
.mail-layout {
display: grid;
grid-template-columns: 320px 1fr;
gap: 30px;
}
.mail {
padding: 18px;
border-bottom: 1px solid var(--line);
}
.mail.active {
background: var(--soft);
}
.mail h3 {
margin-bottom: 5px;
}
.mail p {
font-size: 14px;
margin: 0;
}
.board {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 22px;
}
.board article {
background: var(--paper);
padding: 20px;
margin-bottom: 12px;
border-radius: 10px;
border-left: 3px solid var(--accent);
}
.map {
background: var(--soft);
padding: 30px;
border-radius: 15px;
position: relative;
min-height: 320px;
overflow: hidden;
}
.map svg {
width: 100%;
height: 260px;
}
.map p {
position: absolute;
bottom: 10px;
left: 20px;
font-size: 12px;
}
.toast {
position: fixed;
bottom: 25px;
left: 50%;
transform: translateX(-50%);
background: var(--ink);
color: var(--paper);
padding: 14px 22px;
border-radius: 10px;
z-index: 100;
max-width: 90vw;
}
.mobile-more {
display: none;
}
.gallery {
max-width: 1300px;
margin: auto;
padding: 65px 35px;
}
.gallery h1 {
font-size: 60px;
max-width: 800px;
}
.gallery-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 28px;
margin-top: 40px;
}
.concept-card {
background: white;
border-radius: 16px;
overflow: hidden;
border: 1px solid #d6e0e7;
}
.concept-card .description {
padding: 28px;
}
.concept-card h2 {
margin: 0 0 10px;
}
.concept-card .mini {
height: 240px;
background: var(--soft);
padding: 25px;
display: grid;
gap: 12px;
overflow: hidden;
}
.mini div {
border-radius: 5px;
background: var(--paper);
padding: 10px;
font-size: 12px;
}
.mini strong {
display: block;
font-size: 18px;
}
.footnote {
padding: 24px;
text-align: center;
color: var(--muted);
font-size: 13px;
}
.A {
--bg: #f6f8fa;
--paper: #fff;
--ink: #25303e;
--muted: #5c6979;
--line: #d9e0e7;
--accent: #245a91;
--soft: #e8f0f8;
}
.B {
--bg: #f7faf6;
--paper: #fff;
--ink: #253f35;
--muted: #53675b;
--line: #d5e1d5;
--accent: #28734f;
--soft: #e4f1df;
font-family: "Trebuchet MS", sans-serif;
}
.C {
--bg: #ebeef4;
--paper: #fff;
--ink: #353651;
--muted: #66677c;
--line: #d9dbea;
--accent: #6552a5;
--soft: #efebfa;
}
.D {
--bg: #f5f6f8;
--paper: #fff;
--ink: #172c43;
--muted: #536b7e;
--line: #d4dee8;
--accent: #145f75;
--soft: #e5eef2;
font-family: Optima, "Segoe UI", sans-serif;
}
.E {
--bg: #f8f5f9;
--paper: #fff;
--ink: #42374d;
--muted: #73657f;
--line: #e2d9e7;
--accent: #974e71;
--soft: #f4e8ee;
}
.dark {
--bg: #19232d;
--paper: #22303c;
--ink: #eef3f7;
--muted: #b4c4d0;
--line: #435565;
--accent: #8abdf4;
--soft: #2a4055;
}
.dark.B {
--bg: #192820;
--paper: #23382b;
--ink: #f0f5ed;
--muted: #b9cdbb;
--line: #455c49;
--accent: #9bd2a0;
--soft: #304b34;
}
.dark.C {
--bg: #242333;
--paper: #302e44;
--ink: #f0eef8;
--muted: #c2bcd6;
--line: #514c68;
--accent: #c3b1f3;
--soft: #423957;
}
.dark.D {
--bg: #152735;
--paper: #203746;
--ink: #eef7fa;
--muted: #b2cbd6;
--line: #405d6e;
--accent: #8fd1e0;
--soft: #2a485b;
}
.dark.E {
--bg: #2c2230;
--paper: #3b2d40;
--ink: #f7eef7;
--muted: #d1bdd1;
--line: #634c67;
--accent: #edabc9;
--soft: #533b4d;
}
.dark button.primary {
color: #162635;
}
.A .top {
padding: 16px 35px;
}
.A h1 {
font-size: 36px;
}
.A .content {
padding-top: 30px;
}
.A .row {
padding: 13px 0;
}
.B .top {
border: 0;
background: var(--bg);
}
.B .content {
max-width: 1250px;
}
.B .nav {
justify-content: center;
background: var(--paper);
padding: 8px;
border-radius: 30px;
}
.B h1 {
font-size: 48px;
font-weight: 700;
letter-spacing: -1.8px;
}
.B .welcome {
background: var(--soft);
border-radius: 30px;
padding: 35px;
margin-bottom: 30px;
}
.B .notice {
border-radius: 25px;
}
.C .shell {
display: grid;
grid-template-columns: 240px 1fr;
}
.C .top {
grid-column: 1;
grid-row: 1;
flex-direction: column;
justify-content: start;
align-items: stretch;
padding: 30px 20px;
min-height: calc(100vh - 54px);
}
.C .nav {
flex-direction: column;
margin-top: 25px;
white-space: normal;
}
.C .content {
grid-column: 2;
grid-row: 1;
width: 100%;
padding: 35px;
}
.C .studio {
grid-template-columns: 1.4fr 1fr;
}
.D .top {
background: var(--ink);
color: var(--paper);
padding: 22px 45px;
}
.D.dark .top {
background: #10212d;
color: #eef7fa;
}
.D .nav a.active {
background: transparent;
color: inherit;
border-bottom: 2px solid currentColor;
border-radius: 0;
}
.D .hero-title {
font-family: Georgia, serif;
font-size: 60px;
font-weight: 400;
max-width: 800px;
line-height: 1.06;
}
.D .content {
max-width: 1400px;
}
.D .feature {
background: var(--accent);
color: white;
padding: 36px;
border-radius: 2px;
}
.D.dark .feature {
color: #162635;
}
.E .top {
padding: 20px 35px;
}
.E .nav {
display: none;
}
.E .content {
padding-bottom: 100px;
}
.E .journey-nav {
display: flex;
position: fixed;
bottom: 22px;
left: 50%;
transform: translateX(-50%);
background: var(--ink);
color: var(--paper);
padding: 8px;
border-radius: 16px;
z-index: 30;
box-shadow: 0 10px 25px #0002;
}
.E .journey-nav a {
padding: 12px 20px;
border-radius: 9px;
white-space: nowrap;
}
.E .journey-nav a.active {
background: var(--paper);
color: var(--ink);
}
.E .task-path {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 30px;
}
.E .task-path .tile {
border: 0;
border-top: 5px solid var(--accent);
border-radius: 0 0 18px 18px;
}
.journey-nav {
display: none;
}
.phone .shell {
max-width: 430px;
margin: auto;
box-shadow: 0 0 35px #0002;
}
.phone .content {
padding: 22px;
}
.phone .split,
.phone .wide-split,
.phone .studio,
.phone .mail-layout,
.phone .task-path {
grid-template-columns: 1fr;
}
.phone .grid3,
.phone .board {
grid-template-columns: 1fr;
}
.phone .top {
padding: 15px;
flex-wrap: wrap;
}
.phone .nav {
overflow: auto;
width: 100%;
max-width: 100%;
}
.phone .heading {
display: block;
}
.phone .heading .actions {
margin-top: 18px;
}
.phone .C .shell {
display: block;
}
.phone .document {
padding: 25px;
min-height: 500px;
}
.phone .calendar .day {
min-height: 65px;
padding: 4px;
}
.phone .calendar .day p {
font-size: 10px;
padding: 2px;
}
.phone .metric-strip {
gap: 20px;
}
.phone .row {
gap: 10px;
}
.phone .row button {
padding: 8px;
}
.phone h1 {
font-size: 32px;
}
.phone .hero-title {
font-size: 40px;
}
.phone .task-path {
display: block;
}
.phone .journey-nav {
max-width: 420px;
bottom: 0;
width: 100%;
justify-content: space-around;
border-radius: 0;
}
.phone .journey-nav a {
padding: 12px 9px;
font-size: 13px;
}
.phone.C .shell {
display: block;
}
.phone.C .top {
min-height: auto;
}
.phone.C .nav {
flex-direction: row;
margin-top: 0;
}
.phone .board {
display: block;
}
.phone .board > section {
margin-bottom: 25px;
}
@media (max-width: 1000px) {
.content {
padding: 24px 20px;
}
.top {
padding: 18px;
flex-wrap: wrap;
}
.nav {
overflow: auto;
max-width: 100%;
width: 100%;
}
.split,
.wide-split,
.studio,
.mail-layout,
.E .task-path {
grid-template-columns: 1fr;
}
.grid3,
.board {
grid-template-columns: 1fr;
}
.heading {
display: block;
}
.heading .actions {
margin-top: 15px;
}
.C .shell {
display: block;
}
.C .top {
min-height: auto;
}
.C .nav {
flex-direction: row;
margin-top: 0;
}
.C .content {
padding: 24px 20px;
}
.D .top {
padding: 18px;
}
.D .hero-title {
font-size: 40px;
}
.E .journey-nav {
bottom: 0;
width: 100%;
justify-content: space-around;
border-radius: 0;
}
.E .journey-nav a {
padding: 12px 8px;
font-size: 13px;
}
.gallery {
padding: 35px 20px;
}
.gallery h1 {
font-size: 40px;
}
.gallery-grid {
grid-template-columns: 1fr;
}
.document {
padding: 25px;
}
.calendar .day {
min-height: 65px;
padding: 4px;
}
.calendar .day p {
font-size: 10px;
padding: 2px;
}
.metric-strip {
gap: 22px;
}
.row {
gap: 10px;
}
.row button {
padding: 8px;
}
}
@media (prefers-reduced-motion: reduce) {
* {
scroll-behavior: auto !important;
transition: none !important;
}
}
.phone.C .studio {
grid-template-columns: 1fr;
}
@media (max-width: 1000px) {
.C .studio {
grid-template-columns: 1fr;
}
}
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}
#discoveryStatus:focus {
outline: 3px solid var(--accent);
outline-offset: 5px;
}
.concept-shot {
display: block;
width: 100%;
height: auto;
aspect-ratio: 1.6;
object-fit: cover;
object-position: top;
border-bottom: 1px solid var(--line);
}
.avatar {
color: var(--ink);
}