Build Anidev design laboratory with six interactive concepts
This commit is contained in:
commit
ae037908ab
60 files changed
+5084
No files matched your search
@@ -0,0 +1,515 @@
|
||||
:root {
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
color: #e9e9e9;
|
||||
background: #151617;
|
||||
font-synthesis: none;
|
||||
}
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
body {
|
||||
margin: 0;
|
||||
}
|
||||
button,
|
||||
select,
|
||||
input {
|
||||
font: inherit;
|
||||
}
|
||||
button,
|
||||
select,
|
||||
a,
|
||||
input[type="color"],
|
||||
input[type="checkbox"] {
|
||||
cursor: pointer;
|
||||
}
|
||||
button,
|
||||
select {
|
||||
color: inherit;
|
||||
background: #232527;
|
||||
border: 1px solid #494c4f;
|
||||
border-radius: 5px;
|
||||
min-height: 36px;
|
||||
padding: 7px 11px;
|
||||
}
|
||||
button:hover,
|
||||
select:hover {
|
||||
background: #34373a;
|
||||
}
|
||||
button:focus-visible,
|
||||
select:focus-visible,
|
||||
input:focus-visible,
|
||||
a:focus-visible {
|
||||
outline: 3px solid #d7f3a3;
|
||||
outline-offset: 3px;
|
||||
}
|
||||
a {
|
||||
color: inherit;
|
||||
}
|
||||
button:disabled {
|
||||
opacity: 0.5;
|
||||
cursor: wait;
|
||||
}
|
||||
[hidden] {
|
||||
display: none !important;
|
||||
}
|
||||
.mast {
|
||||
padding: 22px 3.5%;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
border-bottom: 1px solid #353738;
|
||||
gap: 20px;
|
||||
}
|
||||
.brand {
|
||||
text-decoration: none;
|
||||
font-size: 23px;
|
||||
font-weight: bold;
|
||||
letter-spacing: -1px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
}
|
||||
.brand > span:last-child {
|
||||
font-size: 13px;
|
||||
font-weight: normal;
|
||||
color: #aaa;
|
||||
letter-spacing: 0;
|
||||
border-left: 1px solid #505354;
|
||||
padding-left: 15px;
|
||||
}
|
||||
.mark {
|
||||
color: #dcf8ad;
|
||||
font-size: 29px;
|
||||
}
|
||||
.mast-end {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
}
|
||||
.version,
|
||||
.eyebrow {
|
||||
font:
|
||||
12px Consolas,
|
||||
monospace;
|
||||
letter-spacing: 1.6px;
|
||||
color: #a8b19f;
|
||||
}
|
||||
.export {
|
||||
background: #dcf8ad;
|
||||
color: #1b2414;
|
||||
border-color: #dcf8ad;
|
||||
}
|
||||
.export:hover {
|
||||
background: #c1e08c;
|
||||
}
|
||||
main {
|
||||
max-width: 1900px;
|
||||
margin: auto;
|
||||
padding: 0 3.5%;
|
||||
}
|
||||
.intro {
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
justify-content: space-between;
|
||||
padding: 40px 0 30px;
|
||||
gap: 20px;
|
||||
}
|
||||
.eyebrow {
|
||||
margin: 0 0 16px;
|
||||
}
|
||||
h1 {
|
||||
font-size: clamp(29px, 3.2vw, 48px);
|
||||
letter-spacing: -1.8px;
|
||||
line-height: 1.06;
|
||||
font-weight: 500;
|
||||
margin: 0;
|
||||
}
|
||||
h1 span {
|
||||
color: #a2a6a8;
|
||||
}
|
||||
.intro-copy {
|
||||
font-size: 14px;
|
||||
line-height: 1.7;
|
||||
color: #aeb2b5;
|
||||
margin: 0 0 3px;
|
||||
}
|
||||
.concepts {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(6, 1fr);
|
||||
gap: 9px;
|
||||
margin-bottom: 28px;
|
||||
}
|
||||
.concept {
|
||||
padding: 0;
|
||||
text-align: left;
|
||||
border-color: #393c3e;
|
||||
overflow: hidden;
|
||||
background: #1b1d1f;
|
||||
min-width: 0;
|
||||
}
|
||||
.concept[aria-pressed="true"] {
|
||||
border-color: #dcf8ad;
|
||||
box-shadow: 0 0 0 1px #dcf8ad;
|
||||
}
|
||||
.swatch {
|
||||
height: 72px;
|
||||
display: flex;
|
||||
padding: 12px;
|
||||
gap: 6px;
|
||||
background: var(--swatch-bg);
|
||||
position: relative;
|
||||
}
|
||||
.swatch:before {
|
||||
content: "";
|
||||
width: 20%;
|
||||
background: var(--swatch-ink);
|
||||
opacity: 0.18;
|
||||
}
|
||||
.swatch:after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
width: 34%;
|
||||
height: 5px;
|
||||
top: 19px;
|
||||
left: 35%;
|
||||
background: var(--swatch-ink);
|
||||
box-shadow:
|
||||
0 12px 0 var(--swatch-line),
|
||||
0 24px 0 var(--swatch-line);
|
||||
}
|
||||
.concept:nth-child(2) .swatch:before {
|
||||
width: 0;
|
||||
}
|
||||
.concept:nth-child(2) .swatch:after {
|
||||
height: 11px;
|
||||
width: 55%;
|
||||
left: 13%;
|
||||
top: 16px;
|
||||
box-shadow: 0 24px 0 var(--swatch-line);
|
||||
}
|
||||
.concept:nth-child(3) .swatch:after {
|
||||
height: 2px;
|
||||
box-shadow:
|
||||
0 8px 0 var(--swatch-ink),
|
||||
0 16px 0 var(--swatch-line),
|
||||
0 24px 0 var(--swatch-line);
|
||||
}
|
||||
.concept:nth-child(4) .swatch:before {
|
||||
width: 100%;
|
||||
height: 8px;
|
||||
}
|
||||
.concept:nth-child(4) .swatch:after {
|
||||
top: 35px;
|
||||
left: 15%;
|
||||
width: 30%;
|
||||
}
|
||||
.concept:nth-child(5) .swatch:before {
|
||||
width: 10%;
|
||||
border-radius: 6px;
|
||||
}
|
||||
.concept:nth-child(5) .swatch:after {
|
||||
height: 26px;
|
||||
width: 28%;
|
||||
top: 27px;
|
||||
left: 30%;
|
||||
box-shadow: 40px 0 0 var(--swatch-line);
|
||||
border-radius: 4px;
|
||||
}
|
||||
.concept:nth-child(6) .swatch:before {
|
||||
width: 33%;
|
||||
opacity: 1;
|
||||
}
|
||||
.concept:nth-child(6) .swatch:after {
|
||||
height: 20px;
|
||||
left: 48%;
|
||||
top: 25px;
|
||||
box-shadow: 0 0 0 1px var(--swatch-ink);
|
||||
}
|
||||
.concept-info {
|
||||
padding: 12px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
gap: 5px;
|
||||
font-size: 15px;
|
||||
}
|
||||
.concept-info small {
|
||||
color: #a6aaad;
|
||||
font:
|
||||
12px Consolas,
|
||||
monospace;
|
||||
}
|
||||
.concept-caption {
|
||||
display: block;
|
||||
padding: 0 12px 13px;
|
||||
color: #a6aaad;
|
||||
font-size: 12px;
|
||||
}
|
||||
.lab {
|
||||
border: 1px solid #414447;
|
||||
border-radius: 7px;
|
||||
overflow: hidden;
|
||||
}
|
||||
.toolbar {
|
||||
padding: 14px;
|
||||
display: flex;
|
||||
gap: 15px;
|
||||
align-items: flex-end;
|
||||
flex-wrap: wrap;
|
||||
background: #1b1d1f;
|
||||
}
|
||||
.toolbar label {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 6px;
|
||||
font-size: 12px;
|
||||
color: #b6bbbe;
|
||||
}
|
||||
.toolbar label.compare {
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
height: 36px;
|
||||
gap: 5px;
|
||||
}
|
||||
.toolbar select {
|
||||
font-size: 13px;
|
||||
max-width: 180px;
|
||||
}
|
||||
.toolbar input[type="color"] {
|
||||
padding: 3px;
|
||||
border: 1px solid #494c4f;
|
||||
height: 36px;
|
||||
width: 42px;
|
||||
border-radius: 5px;
|
||||
background: none;
|
||||
}
|
||||
.devices {
|
||||
display: flex;
|
||||
gap: 0;
|
||||
margin: 0;
|
||||
border: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.devices legend {
|
||||
font-size: 12px;
|
||||
color: #b6bbbe;
|
||||
padding: 0 0 6px;
|
||||
}
|
||||
.devices button {
|
||||
font-size: 12px;
|
||||
border-radius: 0;
|
||||
}
|
||||
.devices button:first-of-type {
|
||||
border-radius: 5px 0 0 5px;
|
||||
}
|
||||
.devices button:last-of-type {
|
||||
border-radius: 0 5px 5px 0;
|
||||
}
|
||||
.devices button[aria-pressed="true"] {
|
||||
background: #e4e8e1;
|
||||
color: #181b16;
|
||||
}
|
||||
.stage-meta {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
gap: 15px;
|
||||
background: #232527;
|
||||
padding: 12px 18px;
|
||||
font-size: 12px;
|
||||
color: #adb3b6;
|
||||
}
|
||||
.stage-meta > div {
|
||||
display: flex;
|
||||
gap: 16px;
|
||||
}
|
||||
#current-name {
|
||||
color: #eef0ec;
|
||||
font-weight: bold;
|
||||
}
|
||||
#dimensions {
|
||||
font-family: Consolas, monospace;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.workspace {
|
||||
display: flex;
|
||||
gap: 18px;
|
||||
padding: 22px;
|
||||
overflow: auto;
|
||||
background: #303335;
|
||||
min-height: 650px;
|
||||
align-items: flex-start;
|
||||
}
|
||||
.preview-pane {
|
||||
min-width: 0;
|
||||
flex: 1;
|
||||
}
|
||||
.frame-viewport {
|
||||
overflow: auto;
|
||||
margin: auto;
|
||||
width: 100%;
|
||||
background: #202224;
|
||||
border-radius: 4px;
|
||||
box-shadow: 0 8px 35px #0003;
|
||||
}
|
||||
iframe {
|
||||
display: block;
|
||||
border: 0;
|
||||
width: 100%;
|
||||
height: 900px;
|
||||
background: white;
|
||||
}
|
||||
.frame-heading {
|
||||
font:
|
||||
13px Consolas,
|
||||
monospace;
|
||||
margin: 0 0 10px;
|
||||
color: #d4d9dc;
|
||||
}
|
||||
.frame-heading:empty {
|
||||
display: none;
|
||||
}
|
||||
.workspace[data-device="tablet"] .frame-viewport {
|
||||
max-width: 768px;
|
||||
}
|
||||
.workspace[data-device="mobile"] .frame-viewport {
|
||||
max-width: 390px;
|
||||
}
|
||||
.workspace[data-device="mobile"] iframe {
|
||||
height: 844px;
|
||||
}
|
||||
.workspace.comparing .preview-pane {
|
||||
min-width: 340px;
|
||||
}
|
||||
.stage-note {
|
||||
font-size: 12px;
|
||||
color: #afb4b7;
|
||||
margin: 0;
|
||||
padding: 13px 18px;
|
||||
background: #202224;
|
||||
}
|
||||
footer {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
gap: 20px;
|
||||
padding: 24px 0;
|
||||
color: #92999e;
|
||||
font-size: 11px;
|
||||
}
|
||||
footer > span:first-child {
|
||||
font-family: Consolas, monospace;
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
#notice {
|
||||
position: fixed;
|
||||
bottom: 25px;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
background: #dcf8ad;
|
||||
color: #15210d;
|
||||
border-radius: 5px;
|
||||
padding: 14px 20px;
|
||||
display: none;
|
||||
font-size: 14px;
|
||||
}
|
||||
.skip {
|
||||
position: fixed;
|
||||
top: -100px;
|
||||
background: #dcf8ad;
|
||||
color: black;
|
||||
padding: 15px;
|
||||
z-index: 100;
|
||||
}
|
||||
.skip:focus {
|
||||
top: 5px;
|
||||
}
|
||||
@media (max-width: 1000px) {
|
||||
.concepts {
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
}
|
||||
.version {
|
||||
display: none;
|
||||
}
|
||||
.intro-copy {
|
||||
max-width: 250px;
|
||||
}
|
||||
.toolbar {
|
||||
gap: 10px;
|
||||
}
|
||||
}
|
||||
@media (max-width: 600px) {
|
||||
.mast {
|
||||
padding: 15px;
|
||||
}
|
||||
.brand {
|
||||
font-size: 20px;
|
||||
}
|
||||
.brand > span:last-child {
|
||||
display: none;
|
||||
}
|
||||
.mast-end {
|
||||
gap: 6px;
|
||||
}
|
||||
.mast-end button {
|
||||
font-size: 12px;
|
||||
}
|
||||
main {
|
||||
padding: 0 15px;
|
||||
}
|
||||
.intro {
|
||||
padding-top: 28px;
|
||||
display: block;
|
||||
}
|
||||
.intro-copy {
|
||||
margin-top: 20px;
|
||||
font-size: 13px;
|
||||
max-width: none;
|
||||
}
|
||||
.concepts {
|
||||
gap: 7px;
|
||||
}
|
||||
.concept-info {
|
||||
font-size: 14px;
|
||||
}
|
||||
.concept-caption {
|
||||
font-size: 11px;
|
||||
}
|
||||
.swatch {
|
||||
height: 62px;
|
||||
}
|
||||
.toolbar {
|
||||
padding: 12px;
|
||||
}
|
||||
.toolbar label {
|
||||
flex: 1;
|
||||
min-width: 75px;
|
||||
}
|
||||
.toolbar select {
|
||||
max-width: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
.workspace {
|
||||
padding: 10px;
|
||||
}
|
||||
.stage-meta {
|
||||
padding: 12px;
|
||||
align-items: center;
|
||||
}
|
||||
#current-desc {
|
||||
display: none;
|
||||
}
|
||||
footer {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.workspace.comparing {
|
||||
flex-direction: column;
|
||||
}
|
||||
.workspace.comparing .preview-pane {
|
||||
min-width: 0;
|
||||
width: 100%;
|
||||
}
|
||||
.stage-note {
|
||||
line-height: 1.5;
|
||||
}
|
||||
.concept-caption {
|
||||
min-height: 42px;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user