diva.js 7.2.5 → 7.2.6

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.
@@ -1,154 +0,0 @@
1
- /* Toolbar-only styles to replace elm-css for the toolbar components. */
2
-
3
- .canvas-toolbar-stack {
4
- display: flex;
5
- flex-direction: column;
6
- gap: 2px;
7
- width: 100%;
8
- min-width: 0;
9
- }
10
-
11
- .canvas-toolbar {
12
- display: flex;
13
- align-items: flex-start;
14
- margin-bottom: 0;
15
- width: 100%;
16
- }
17
-
18
- .canvas-toolbar-section {
19
- display: flex;
20
- align-items: flex-start;
21
- gap: 8px;
22
- min-width: 0;
23
- flex: 0 0 auto;
24
- }
25
-
26
- .canvas-toolbar-section.is-right {
27
- margin-left: auto;
28
- flex: 0 0 auto;
29
- }
30
-
31
- .canvas-toolbar-item {
32
- display: flex;
33
- flex-direction: column;
34
- gap: 6px;
35
- align-items: center;
36
- width: 80px;
37
- flex: 0 0 auto;
38
- }
39
-
40
- .canvas-toolbar-button {
41
- background-color: var(--diva-toolbar-button-bg);
42
- color: var(--diva-toolbar-button-icon);
43
- border: 2px solid var(--diva-toolbar-button-icon);
44
- border-radius: 6px;
45
- box-shadow: var(--diva-toolbar-button-shadow);
46
- backdrop-filter: blur(10px) saturate(140%);
47
- -webkit-backdrop-filter: blur(10px) saturate(140%);
48
- width: 80%;
49
- height: 36px;
50
- display: flex;
51
- align-items: center;
52
- padding: 4px 6px;
53
- cursor: pointer;
54
- }
55
-
56
- .canvas-toolbar-button:focus-visible {
57
- outline: 2px solid var(--diva-accent);
58
- outline-offset: 2px;
59
- }
60
-
61
- .canvas-toolbar-button:hover {
62
- background-color: var(--diva-toolbar-button-bg-hover);
63
- border-color: var(--diva-toolbar-button-icon);
64
- box-shadow: var(--diva-toolbar-button-shadow-hover);
65
- }
66
-
67
- .canvas-toolbar-button.is-fullscreen {
68
- color: var(--diva-white);
69
- background-color: var(--diva-toolbar-button-bg-fullscreen);
70
- border-color: var(--diva-toolbar-button-border-hover);
71
- }
72
-
73
- .canvas-toolbar-button.is-fullscreen:hover {
74
- background-color: var(--diva-toolbar-button-bg-fullscreen-hover);
75
- border-color: var(--diva-toolbar-button-border-fullscreen-hover);
76
- }
77
-
78
- .canvas-toolbar-button.is-disabled {
79
- opacity: 0.4;
80
- cursor: not-allowed;
81
- }
82
-
83
- .canvas-toolbar-button.is-disabled:hover {
84
- background-color: var(--diva-toolbar-button-bg);
85
- border-color: var(--diva-toolbar-button-icon);
86
- box-shadow: var(--diva-toolbar-button-shadow);
87
- }
88
-
89
- .canvas-toolbar-button.is-fullscreen.is-disabled:hover {
90
- background-color: var(--diva-toolbar-button-bg-fullscreen);
91
- border-color: var(--diva-toolbar-button-border-hover);
92
- box-shadow: var(--diva-toolbar-button-shadow);
93
- }
94
-
95
- .canvas-toolbar-label {
96
- font-size: var(--diva-font-sm);
97
- color: var(--diva-text-primary);
98
- font-weight: 500;
99
- white-space: normal;
100
- text-overflow: ellipsis;
101
- overflow: hidden;
102
- line-height: 1;
103
- min-height: 1.4em;
104
- text-align: center;
105
- text-transform: uppercase;
106
- word-break: break-word;
107
- }
108
-
109
- .canvas-toolbar-label.is-fullscreen {
110
- color: var(--diva-white);
111
- }
112
-
113
- .canvas-label {
114
- font-size: var(--diva-font-lg);
115
- color: var(--diva-text-muted);
116
- width: 100%;
117
- text-align: left;
118
- white-space: normal;
119
- overflow-wrap: anywhere;
120
- word-break: break-word;
121
- }
122
-
123
- .canvas-label.is-fullscreen {
124
- color: var(--diva-white);
125
- }
126
-
127
- .status {
128
- font-size: var(--diva-font-lg);
129
- margin-bottom: 0;
130
- color: var(--diva-text-muted);
131
- }
132
-
133
- .status.is-error {
134
- color: var(--diva-danger);
135
- }
136
-
137
- @media (max-width: 720px) {
138
- .canvas-toolbar {
139
- flex-wrap: wrap;
140
- gap: 8px;
141
- }
142
-
143
- .canvas-toolbar-item {
144
- width: 64px;
145
- }
146
-
147
- .canvas-label {
148
- display: none;
149
- }
150
-
151
- .status {
152
- display: none;
153
- }
154
- }