claritas-web-framework 8.0.21 → 8.0.22
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/dist/index.css +1 -1
- package/dist/index.html +1 -1
- package/index.html +18 -3
- package/package.json +1 -1
- package/sass/modules/_card.scss +2 -4
package/dist/index.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!doctype html><html lang="en"><head><meta charset="UTF-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="viewport" content="width=device-width,initial-scale=1"/><title>Claritas Web Framework</title><script defer="defer" src="index.js"></script><link href="./index.css" rel="stylesheet"></head><body><div class="
|
|
1
|
+
<!doctype html><html lang="en"><head><meta charset="UTF-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="viewport" content="width=device-width,initial-scale=1"/><title>Claritas Web Framework</title><script defer="defer" src="index.js"></script><link href="./index.css" rel="stylesheet"></head><body><nav id="navbar">Currencies (€) <button id="app-update" class="app-update"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="white"><path fill="none" d="M0 0h24v24H0V0z"/><path d="M4 12l1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8-8 8z"/></svg></button></nav><main id="main"><div class="card"><div class="card--header">Header</div><div class="card--body">Body</div><div class="card--footer">Footer</div></div></main></body></html>
|
package/index.html
CHANGED
|
@@ -8,8 +8,23 @@
|
|
|
8
8
|
</head>
|
|
9
9
|
|
|
10
10
|
<body>
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
<!-- app shell HTML -->
|
|
12
|
+
<nav id="navbar">
|
|
13
|
+
Currencies (€)
|
|
14
|
+
<button id="app-update" class="app-update">
|
|
15
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="white">
|
|
16
|
+
<path fill="none" d="M0 0h24v24H0V0z" />
|
|
17
|
+
<path d="M4 12l1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8-8 8z" />
|
|
18
|
+
</svg>
|
|
19
|
+
</button>
|
|
20
|
+
</nav>
|
|
21
|
+
|
|
22
|
+
<main id="main">
|
|
23
|
+
<div class="card">
|
|
24
|
+
<div class="card--header">Header</div>
|
|
25
|
+
<div class="card--body">Body</div>
|
|
26
|
+
<div class="card--footer">Footer</div>
|
|
27
|
+
</div>
|
|
28
|
+
</main>
|
|
14
29
|
</body>
|
|
15
30
|
</html>
|
package/package.json
CHANGED
package/sass/modules/_card.scss
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
flex-direction: column;
|
|
18
18
|
min-width: 0;
|
|
19
19
|
word-wrap: break-word;
|
|
20
|
-
|
|
20
|
+
flex: 1 1 auto;
|
|
21
21
|
position: relative;
|
|
22
22
|
|
|
23
23
|
@if $enable-margins {
|
|
@@ -51,18 +51,16 @@
|
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
& .card--header {
|
|
54
|
-
flex: 0 1 auto;
|
|
55
54
|
border-bottom: var(--card-border-width) var(--card-border-style) var(--card-border-color);
|
|
56
55
|
}
|
|
57
56
|
|
|
58
57
|
& .card--footer {
|
|
59
58
|
margin-top: auto;
|
|
60
|
-
flex: 0 0 auto;
|
|
61
59
|
border-top: var(--card-border-width) var(--card-border-style) var(--card-border-color);
|
|
62
60
|
}
|
|
63
61
|
|
|
64
62
|
& .card--body {
|
|
65
|
-
flex:
|
|
63
|
+
flex: 1 1 auto;
|
|
66
64
|
width: 100%;
|
|
67
65
|
padding: var(--spacer);
|
|
68
66
|
|