ds-one 0.3.0-alpha.1 → 0.3.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/DS1/0-face/device.ts +180 -34
- package/DS1/1-root/one.css +1 -1
- package/DS1/index.ts +0 -1
- package/README.md +2 -2
- package/dist/0-face/device.d.ts +47 -1
- package/dist/0-face/device.d.ts.map +1 -1
- package/dist/0-face/device.js +132 -25
- package/dist/ds-one.bundle.js +1421 -1436
- package/dist/ds-one.bundle.js.map +1 -1
- package/dist/ds-one.bundle.min.js +1206 -1217
- package/dist/ds-one.bundle.min.js.map +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -1
- package/package.json +1 -1
- package/DS1/0-face/scaling.ts +0 -152
- package/dist/0-face/scaling.d.ts +0 -48
- package/dist/0-face/scaling.d.ts.map +0 -1
- package/dist/0-face/scaling.js +0 -114
- package/dist/2-core/styles/ds-banner.css +0 -77
- package/dist/2-core/styles/ds-button.css +0 -67
- package/dist/2-core/styles/ds-cycle.css +0 -21
- package/dist/2-core/styles/ds-date.css +0 -9
- package/dist/2-core/styles/ds-gap.css +0 -93
- package/dist/2-core/styles/ds-icon.css +0 -30
- package/dist/2-core/styles/ds-input.css +0 -46
- package/dist/2-core/styles/ds-pagedots.css +0 -26
- package/dist/2-core/styles/ds-text.css +0 -29
- package/dist/2-core/styles/ds-tooltip.css +0 -49
- package/dist/3-unit/styles/ds-accordion.css +0 -46
- package/dist/3-unit/styles/ds-list.css +0 -9
- package/dist/3-unit/styles/ds-row.css +0 -19
- package/dist/3-unit/styles/ds-table.css +0 -80
- package/dist/4-page/styles/ds-container.css +0 -35
- package/dist/4-page/styles/ds-grid.css +0 -56
- package/dist/4-page/styles/ds-layout.css +0 -251
- package/dist/ds-one.bundle.css +0 -700
- package/dist/ds-one.bundle.css.map +0 -7
- package/dist/ds-one.bundle.min.css +0 -2
- package/dist/ds-one.bundle.min.css.map +0 -7
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/* ds-pagedots.css */
|
|
2
|
-
/* Page dots indicator component styles for carousels and pagination */
|
|
3
|
-
|
|
4
|
-
:host {
|
|
5
|
-
display: flex;
|
|
6
|
-
gap: calc(11.2px * var(--sf, 1));
|
|
7
|
-
justify-content: center;
|
|
8
|
-
align-items: center;
|
|
9
|
-
height: calc(28px * var(--sf, 1));
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.dot {
|
|
13
|
-
width: calc(2.8px * var(--sf, 1));
|
|
14
|
-
height: calc(2.8px * var(--sf, 1));
|
|
15
|
-
border-radius: 50%;
|
|
16
|
-
background: white;
|
|
17
|
-
border: calc(0.7px * var(--sf, 1)) solid #696969;
|
|
18
|
-
transition: background 0.2s ease, border 0.2s ease;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.dot.active {
|
|
22
|
-
background: #666;
|
|
23
|
-
border: none;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/* ds-text.css */
|
|
2
|
-
/* Text component styles for displaying translations */
|
|
3
|
-
|
|
4
|
-
:host {
|
|
5
|
-
display: inline;
|
|
6
|
-
font-family: var(--typeface-regular);
|
|
7
|
-
font-size: var(--type-size-default);
|
|
8
|
-
font-weight: var(--type-weight-default);
|
|
9
|
-
line-height: calc(var(--type-lineheight-default) * var(--sf));
|
|
10
|
-
letter-spacing: calc(var(--type-letterspacing-default) * var(--sf));
|
|
11
|
-
text-align: var(--text-align-default);
|
|
12
|
-
text-transform: var(--text-transform-default);
|
|
13
|
-
text-decoration: var(--text-decoration-default);
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
:host([data-language="ja"]) {
|
|
17
|
-
font-family: var(--typeface-regular-jp);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
:host([data-language="zh"]),
|
|
21
|
-
:host([data-language="zh-hant"]) {
|
|
22
|
-
font-family: var(--typeface-regular-zh-hant);
|
|
23
|
-
font-weight: 800;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
:host([data-language="zh-hans"]) {
|
|
27
|
-
font-family: var(--typeface-regular-zh-hans);
|
|
28
|
-
font-weight: 800;
|
|
29
|
-
}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
/* ds-tooltip.css */
|
|
2
|
-
/* Tooltip component styles */
|
|
3
|
-
|
|
4
|
-
:host {
|
|
5
|
-
position: relative;
|
|
6
|
-
display: inline-block;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.slot-wrapper {
|
|
10
|
-
display: inline-flex;
|
|
11
|
-
align-items: center;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.bubble {
|
|
15
|
-
display: flex;
|
|
16
|
-
align-items: center;
|
|
17
|
-
justify-content: center;
|
|
18
|
-
position: absolute;
|
|
19
|
-
left: 50%;
|
|
20
|
-
bottom: 100%;
|
|
21
|
-
transform: translate(-50%, calc(-2px * var(--sf)));
|
|
22
|
-
z-index: 1000;
|
|
23
|
-
pointer-events: none;
|
|
24
|
-
height: calc(var(--08) * var(--sf));
|
|
25
|
-
opacity: 0;
|
|
26
|
-
transition:
|
|
27
|
-
opacity 120ms ease,
|
|
28
|
-
transform 120ms ease;
|
|
29
|
-
background-color: light-dark(var(--black), var(--white));
|
|
30
|
-
color: light-dark(var(--white), var(--black));
|
|
31
|
-
border-radius: 0;
|
|
32
|
-
font-size: var(--type-size-default);
|
|
33
|
-
padding: 0px calc(1px * var(--sf));
|
|
34
|
-
font-family: var(
|
|
35
|
-
--typeface-regular,
|
|
36
|
-
-apple-system,
|
|
37
|
-
BlinkMacSystemFont,
|
|
38
|
-
"Segoe UI",
|
|
39
|
-
Roboto,
|
|
40
|
-
sans-serif
|
|
41
|
-
);
|
|
42
|
-
font-weight: 500;
|
|
43
|
-
white-space: nowrap;
|
|
44
|
-
min-width: max-content;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.bubble.visible {
|
|
48
|
-
opacity: 1;
|
|
49
|
-
}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
/* ds-accordion.css */
|
|
2
|
-
/* Accordion component styles using native <details>/<summary> */
|
|
3
|
-
|
|
4
|
-
:host {
|
|
5
|
-
display: block;
|
|
6
|
-
width: calc(240px * var(--sf));
|
|
7
|
-
color: var(--text-color-primary);
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
details {
|
|
11
|
-
width: 100%;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
summary {
|
|
15
|
-
cursor: pointer;
|
|
16
|
-
user-select: none;
|
|
17
|
-
list-style: none;
|
|
18
|
-
outline: none;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
summary::-webkit-details-marker {
|
|
22
|
-
display: none;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.summaryRow {
|
|
26
|
-
width: 100%;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
ds-icon.chevron {
|
|
30
|
-
transform: rotate(0deg);
|
|
31
|
-
transition: transform 140ms ease;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
details[open] ds-icon.chevron {
|
|
35
|
-
transform: rotate(180deg);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.detailsBody {
|
|
39
|
-
padding-top: calc(var(--half) * var(--sf));
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.detailsText {
|
|
43
|
-
display: block;
|
|
44
|
-
white-space: normal;
|
|
45
|
-
text-align: left;
|
|
46
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/* ds-row.css */
|
|
2
|
-
/* Row component styles */
|
|
3
|
-
|
|
4
|
-
:host {
|
|
5
|
-
display: flex;
|
|
6
|
-
align-items: end;
|
|
7
|
-
width: calc(240px * var(--sf));
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
:host([type="fill"]) {
|
|
11
|
-
justify-content: space-between;
|
|
12
|
-
height: calc(var(--1) * var(--sf));
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
:host([type="centered"]) {
|
|
16
|
-
justify-content: center;
|
|
17
|
-
height: calc(var(--1) * var(--sf));
|
|
18
|
-
gap: calc(var(--025) * var(--sf));
|
|
19
|
-
}
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
/* ds-table.css */
|
|
2
|
-
/* Data table component styles */
|
|
3
|
-
|
|
4
|
-
:host {
|
|
5
|
-
display: block;
|
|
6
|
-
width: 100%;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.table-container {
|
|
10
|
-
display: flex;
|
|
11
|
-
flex-direction: column;
|
|
12
|
-
width: 100%;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.table-header {
|
|
16
|
-
display: grid;
|
|
17
|
-
grid-template-columns: 160px 80px 80px 80px;
|
|
18
|
-
height: 20px;
|
|
19
|
-
width: 400px;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.table-body {
|
|
23
|
-
display: grid;
|
|
24
|
-
grid-template-columns: 160px 80px 80px 80px;
|
|
25
|
-
border: 1px solid var(--black);
|
|
26
|
-
width: 400px;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.header-cell {
|
|
30
|
-
height: 20px;
|
|
31
|
-
display: flex;
|
|
32
|
-
align-items: center;
|
|
33
|
-
justify-content: left;
|
|
34
|
-
padding: 0 2px;
|
|
35
|
-
font-family: var(--typeface-regular);
|
|
36
|
-
font-size: var(--type-size-default);
|
|
37
|
-
font-weight: var(--type-weight-default);
|
|
38
|
-
line-height: var(--type-lineheight-default);
|
|
39
|
-
color: var(--black);
|
|
40
|
-
letter-spacing: -0.26px;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.data-cell {
|
|
44
|
-
height: 20px;
|
|
45
|
-
margin-top: -1px;
|
|
46
|
-
display: flex;
|
|
47
|
-
align-items: center;
|
|
48
|
-
justify-content: left;
|
|
49
|
-
outline: 1px solid var(--black);
|
|
50
|
-
font-family: var(--typeface-regular);
|
|
51
|
-
font-size: var(--type-size-default);
|
|
52
|
-
font-weight: var(--type-weight-default);
|
|
53
|
-
line-height: var(--type-lineheight-default);
|
|
54
|
-
color: var(--black);
|
|
55
|
-
letter-spacing: -0.26px;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.status-cell {
|
|
59
|
-
background-color: var(--apple-green);
|
|
60
|
-
text-align: center;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.product-cell {
|
|
64
|
-
text-align: left;
|
|
65
|
-
justify-content: flex-start;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.users-cell,
|
|
69
|
-
.retention-cell {
|
|
70
|
-
text-align: center;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
/* Responsive adjustments */
|
|
74
|
-
@media (max-width: 480px) {
|
|
75
|
-
.table-header,
|
|
76
|
-
.table-body {
|
|
77
|
-
width: 100%;
|
|
78
|
-
grid-template-columns: 1fr 60px 60px 60px;
|
|
79
|
-
}
|
|
80
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/* ds-container.css */
|
|
2
|
-
/* Container component styles with responsive width constraints */
|
|
3
|
-
|
|
4
|
-
:host {
|
|
5
|
-
display: flex;
|
|
6
|
-
width: 100%;
|
|
7
|
-
max-width: 100%;
|
|
8
|
-
flex-direction: column;
|
|
9
|
-
background-color: var(--background-color);
|
|
10
|
-
box-sizing: border-box;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
/* Ensure children don't overflow */
|
|
14
|
-
:host ::slotted(*) {
|
|
15
|
-
max-width: 100%;
|
|
16
|
-
box-sizing: border-box;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
/* Mobile: 100% width */
|
|
20
|
-
@media (max-width: 820px) {
|
|
21
|
-
:host {
|
|
22
|
-
width: 100%;
|
|
23
|
-
max-width: 100%;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
/* Desktop: max-width 1000px, centered */
|
|
28
|
-
@media (min-width: 821px) {
|
|
29
|
-
:host {
|
|
30
|
-
max-width: 1000px;
|
|
31
|
-
margin-left: auto;
|
|
32
|
-
margin-right: auto;
|
|
33
|
-
width: 100%;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
/* ds-grid.css */
|
|
2
|
-
/* Grid layout component styles */
|
|
3
|
-
|
|
4
|
-
:host {
|
|
5
|
-
margin-top: 0.5px !important;
|
|
6
|
-
margin-left: 0.5px !important;
|
|
7
|
-
display: grid;
|
|
8
|
-
width: 1440px;
|
|
9
|
-
height: 1280px;
|
|
10
|
-
grid-template-columns: repeat(auto-fill, 19px);
|
|
11
|
-
grid-template-rows: repeat(auto-fill, 19px);
|
|
12
|
-
gap: 1px;
|
|
13
|
-
row-rule: calc(1px * var(--sf)) solid var(--grid-color);
|
|
14
|
-
column-rule: calc(1px * var(--sf)) solid var(--grid-color);
|
|
15
|
-
outline: calc(1px * var(--sf)) solid light-dark(var(--sharp-blue), var(--yellow));
|
|
16
|
-
position: fixed;
|
|
17
|
-
top: 0;
|
|
18
|
-
left: 50%;
|
|
19
|
-
transform: translateX(-50%);
|
|
20
|
-
pointer-events: none;
|
|
21
|
-
z-index: 300;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
/* DO NOT CHANGE THIS GRID CODE FOR MOBILE. ITS PERFECT FOR MOBILE. */
|
|
25
|
-
:host(.mobile) {
|
|
26
|
-
width: calc(100% - calc(1px * var(--sf)));
|
|
27
|
-
max-width: 100vw;
|
|
28
|
-
margin-left: 0.5px !important;
|
|
29
|
-
margin-top: 0 !important;
|
|
30
|
-
box-sizing: border-box;
|
|
31
|
-
position: fixed;
|
|
32
|
-
top: calc(0.5px * var(--sf));
|
|
33
|
-
left: 50%;
|
|
34
|
-
transform: translateX(-50%);
|
|
35
|
-
pointer-events: none;
|
|
36
|
-
z-index: 300;
|
|
37
|
-
gap: calc(1px * var(--sf));
|
|
38
|
-
grid-template-columns: repeat(14, calc(19px * var(--sf)));
|
|
39
|
-
grid-template-rows: repeat(auto-fill, calc(19px * var(--sf)));
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
:host([align="left"]) {
|
|
43
|
-
left: 0;
|
|
44
|
-
transform: none;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
:host([align="center"]) {
|
|
48
|
-
left: 50%;
|
|
49
|
-
transform: translateX(-50%);
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
:host([align="right"]) {
|
|
53
|
-
left: auto;
|
|
54
|
-
right: 0;
|
|
55
|
-
transform: none;
|
|
56
|
-
}
|
|
@@ -1,251 +0,0 @@
|
|
|
1
|
-
/* ds-layout.css */
|
|
2
|
-
/* Layout component styles with view mode */
|
|
3
|
-
|
|
4
|
-
:host {
|
|
5
|
-
display: grid;
|
|
6
|
-
position: relative;
|
|
7
|
-
width: 100%;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
slot {
|
|
11
|
-
display: contents;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
/* Portfolio mode */
|
|
15
|
-
:host([mode="portfolio"]) {
|
|
16
|
-
--portfolio-cols: 120px 480px 40px;
|
|
17
|
-
--portfolio-rows: 120px 120px 60px 180px 60px 120px 60px 20px 120px 120px;
|
|
18
|
-
--portfolio-areas: "square . ." ". title ." ". header ." ". projects ."
|
|
19
|
-
". . ." ". bio ." ". . ." ". nav ." ". . ." ". footer ." ". . .";
|
|
20
|
-
--portfolio-overlay-cols: 120px 480px;
|
|
21
|
-
--portfolio-overlay-areas: "square ." ". title" ". header" ". projects"
|
|
22
|
-
". ." ". bio" ". ." ". nav" ". ." ". footer" ". .";
|
|
23
|
-
grid-template-columns: var(--portfolio-cols);
|
|
24
|
-
grid-template-rows: var(--portfolio-rows);
|
|
25
|
-
grid-template-areas: var(--portfolio-areas);
|
|
26
|
-
min-height: 600px;
|
|
27
|
-
background-color: rgba(165, 165, 165, 0.03);
|
|
28
|
-
max-width: 640px;
|
|
29
|
-
margin: 0;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
:host([mode="portfolio"]) .view-overlay {
|
|
33
|
-
grid-template-columns: var(--portfolio-overlay-cols);
|
|
34
|
-
grid-template-rows: var(--portfolio-rows);
|
|
35
|
-
grid-template-areas: var(--portfolio-overlay-areas);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
/* Company mode */
|
|
39
|
-
:host([mode="company"]) {
|
|
40
|
-
--company-cols: auto 400px auto;
|
|
41
|
-
--company-rows: 80px 20px 20px 120px 20px 120px;
|
|
42
|
-
--company-areas: ". . ." ". header ." ". . ." ". content ." ". . ."
|
|
43
|
-
". footer .";
|
|
44
|
-
grid-template-columns: var(--company-cols);
|
|
45
|
-
grid-template-rows: var(--company-rows);
|
|
46
|
-
grid-template-areas: var(--company-areas);
|
|
47
|
-
gap: 0;
|
|
48
|
-
max-width: 100%;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
:host([mode="company"]) .view-overlay {
|
|
52
|
-
grid-template-columns: var(--company-cols);
|
|
53
|
-
grid-template-rows: var(--company-rows);
|
|
54
|
-
grid-template-areas: var(--company-areas);
|
|
55
|
-
gap: 0;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
/* Alignment modifiers */
|
|
59
|
-
:host([align="left"]),
|
|
60
|
-
:host([mode="portfolio"][align="left"]),
|
|
61
|
-
:host([mode="company"][align="left"]),
|
|
62
|
-
:host([mode="app"][align="left"]) {
|
|
63
|
-
margin: 0;
|
|
64
|
-
justify-self: start;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
:host([align="center"]),
|
|
68
|
-
:host([mode="portfolio"][align="center"]),
|
|
69
|
-
:host([mode="company"][align="center"]),
|
|
70
|
-
:host([mode="app"][align="center"]) {
|
|
71
|
-
margin: 0 auto;
|
|
72
|
-
justify-self: center;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
:host([align="right"]),
|
|
76
|
-
:host([mode="portfolio"][align="right"]),
|
|
77
|
-
:host([mode="company"][align="right"]),
|
|
78
|
-
:host([mode="app"][align="right"]) {
|
|
79
|
-
margin: 0 0 0 auto;
|
|
80
|
-
justify-self: end;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
/* App mode - Base */
|
|
84
|
-
:host([mode="app"]) {
|
|
85
|
-
--app-cols: 100%;
|
|
86
|
-
--app-rows: calc(var(--unit) * var(--sf)) calc(var(--unit) * var(--sf))
|
|
87
|
-
calc(var(--unit) * var(--sf)) calc(var(--double) * var(--sf))
|
|
88
|
-
calc(var(--dozen) * var(--sf)) calc(var(--unit) * var(--sf))
|
|
89
|
-
calc(var(--quad) * var(--sf)) calc(var(--double) * var(--sf));
|
|
90
|
-
--app-areas: "banner" "." "header" "." "main" "page-dots" "." "footer";
|
|
91
|
-
--app-overlay-cols: 100%;
|
|
92
|
-
--app-overlay-rows: calc(var(--unit) * var(--sf))
|
|
93
|
-
calc(var(--unit) * var(--sf)) calc(var(--unit) * var(--sf))
|
|
94
|
-
calc(var(--double) * var(--sf)) calc(var(--dozen) * var(--sf))
|
|
95
|
-
calc(var(--unit) * var(--sf)) calc(var(--quad) * var(--sf))
|
|
96
|
-
calc(var(--double) * var(--sf));
|
|
97
|
-
--app-overlay-areas: "banner" "." "header" "." "main" "page-dots" "."
|
|
98
|
-
"footer";
|
|
99
|
-
grid-template-columns: var(--app-cols);
|
|
100
|
-
grid-template-rows: var(--app-rows);
|
|
101
|
-
grid-template-areas: var(--app-areas);
|
|
102
|
-
min-height: 100vh;
|
|
103
|
-
background-color: transparent;
|
|
104
|
-
width: calc(240px * var(--sf, 1));
|
|
105
|
-
max-width: calc(240px * var(--sf, 1));
|
|
106
|
-
margin: 0 auto;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
:host([mode="app"]) .view-overlay {
|
|
110
|
-
grid-template-columns: var(--app-overlay-cols);
|
|
111
|
-
grid-template-rows: var(--app-overlay-rows);
|
|
112
|
-
grid-template-areas: var(--app-overlay-areas);
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
/* View overlay */
|
|
116
|
-
.view-overlay {
|
|
117
|
-
position: absolute;
|
|
118
|
-
margin-left: -1px;
|
|
119
|
-
top: 0;
|
|
120
|
-
left: 0;
|
|
121
|
-
right: 0;
|
|
122
|
-
bottom: 0;
|
|
123
|
-
pointer-events: none;
|
|
124
|
-
z-index: 1000;
|
|
125
|
-
display: grid;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
.view-area {
|
|
129
|
-
display: flex;
|
|
130
|
-
width: calc(240px * var(--sf, 1));
|
|
131
|
-
height: 100%;
|
|
132
|
-
align-items: center;
|
|
133
|
-
justify-content: center;
|
|
134
|
-
font-family: var(--typeface-regular);
|
|
135
|
-
font-size: calc(var(--type-size-default) * var(--05));
|
|
136
|
-
color: color-mix(in srgb, var(--tuned-red) 25%, transparent);
|
|
137
|
-
background-color: color-mix(
|
|
138
|
-
in srgb,
|
|
139
|
-
var(--accent-color) 25%,
|
|
140
|
-
transparent
|
|
141
|
-
);
|
|
142
|
-
opacity: 1;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
/* Portfolio mode view areas */
|
|
146
|
-
:host([mode="portfolio"]) .view-area:nth-of-type(1) {
|
|
147
|
-
background-color: color-mix(in srgb, var(--tuned-red) 25%, transparent);
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
:host([mode="portfolio"]) .view-area:nth-of-type(2) {
|
|
151
|
-
border-color: var(--sharp-blue);
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
:host([mode="portfolio"]) .view-area:nth-of-type(3) {
|
|
155
|
-
border-color: var(--yellow);
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
:host([mode="portfolio"]) .view-area:nth-of-type(4) {
|
|
159
|
-
border-color: var(--apple-green);
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
:host([mode="portfolio"]) .view-area:nth-of-type(5) {
|
|
163
|
-
border-color: var(--pink);
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
:host([mode="portfolio"]) .view-area:nth-of-type(6) {
|
|
167
|
-
border-color: var(--orange);
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
:host([mode="portfolio"]) .view-area:nth-of-type(7) {
|
|
171
|
-
border-color: var(--zenith-blue);
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
/* Company mode view areas */
|
|
175
|
-
:host([mode="company"]) .view-area:nth-of-type(1) {
|
|
176
|
-
border-color: var(--tuned-red);
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
:host([mode="company"]) .view-area:nth-of-type(2) {
|
|
180
|
-
border-color: var(--sharp-blue);
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
:host([mode="company"]) .view-area:nth-of-type(3) {
|
|
184
|
-
border-color: var(--yellow);
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
/* App mode view areas */
|
|
188
|
-
:host([mode="app"]) .view-area:nth-of-type(1) {
|
|
189
|
-
background-color: color-mix(in srgb, var(--tuned-red) 25%, transparent);
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
:host([mode="app"]) .view-area:nth-of-type(2) {
|
|
193
|
-
background-color: color-mix(in srgb, var(--sharp-blue) 25%, transparent);
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
:host([mode="app"]) .view-area:nth-of-type(3) {
|
|
197
|
-
background-color: color-mix(in srgb, var(--yellow) 25%, transparent);
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
:host([mode="app"]) .view-area:nth-of-type(4) {
|
|
201
|
-
background-color: color-mix(in srgb, var(--apple-green) 25%, transparent);
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
:host([mode="app"]) .view-area:nth-of-type(5) {
|
|
205
|
-
background-color: color-mix(in srgb, var(--pink) 25%, transparent);
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
/* Grid area assignments */
|
|
209
|
-
.view-square {
|
|
210
|
-
grid-area: square;
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
.view-title {
|
|
214
|
-
grid-area: title;
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
.view-header {
|
|
218
|
-
grid-area: header;
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
.view-projects {
|
|
222
|
-
grid-area: projects;
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
.view-bio {
|
|
226
|
-
grid-area: bio;
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
.view-nav {
|
|
230
|
-
grid-area: nav;
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
.view-footer {
|
|
234
|
-
grid-area: footer;
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
.view-content {
|
|
238
|
-
grid-area: content;
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
.view-banner {
|
|
242
|
-
grid-area: banner;
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
.view-main {
|
|
246
|
-
grid-area: main;
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
.view-page-dots {
|
|
250
|
-
grid-area: page-dots;
|
|
251
|
-
}
|