claritas-web-framework 6.4.26 → 7.0.1
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/index.js +1 -1
- package/package.json +13 -22
- package/sass/modules/_modal.scss +1 -0
- package/js/polyfills/customevent.js +0 -16
- package/postcss.config.js +0 -42
- package/styles/helpers/container.css +0 -21
- package/styles/helpers/embed.css +0 -70
- package/styles/helpers/grid.css +0 -64
- package/styles/helpers/image.css +0 -5
- package/styles/helpers/link.css +0 -20
- package/styles/helpers/screen-readers.css +0 -22
- package/styles/helpers/wrap.css +0 -5
- package/styles/helpers.css +0 -7
- package/styles/index.css +0 -6
- package/styles/mixins/caret.css +0 -32
- package/styles/mixins/clearfix.css +0 -7
- package/styles/mixins/group.css +0 -78
- package/styles/mixins/helpers/container.css +0 -12
- package/styles/mixins/helpers/grid.css +0 -20
- package/styles/mixins/helpers/link.css +0 -18
- package/styles/mixins/helpers/wrap.css +0 -7
- package/styles/mixins/modules/button.css +0 -91
- package/styles/mixins/modules/card.css +0 -29
- package/styles/mixins/modules/close.css +0 -42
- package/styles/mixins/modules/list.css +0 -24
- package/styles/mixins/modules/pill.css +0 -43
- package/styles/mixins/modules/table.css +0 -75
- package/styles/mixins.css +0 -13
- package/styles/modules/alert.css +0 -85
- package/styles/modules/breadcrumbs.css +0 -41
- package/styles/modules/button.css +0 -151
- package/styles/modules/card.css +0 -80
- package/styles/modules/close.css +0 -5
- package/styles/modules/details.css +0 -61
- package/styles/modules/dialog.css +0 -82
- package/styles/modules/dropdown.css +0 -126
- package/styles/modules/form/checkbox.css +0 -99
- package/styles/modules/form/file.css +0 -119
- package/styles/modules/form/form-field-group.css +0 -71
- package/styles/modules/form/output.css +0 -5
- package/styles/modules/form/progress.css +0 -57
- package/styles/modules/form/radio.css +0 -49
- package/styles/modules/form/range.css +0 -105
- package/styles/modules/form/select.css +0 -25
- package/styles/modules/form/text.css +0 -19
- package/styles/modules/form.css +0 -176
- package/styles/modules/list.css +0 -99
- package/styles/modules/loader.css +0 -229
- package/styles/modules/nav.css +0 -99
- package/styles/modules/pill.css +0 -72
- package/styles/modules/table.css +0 -21
- package/styles/modules/tabs.css +0 -101
- package/styles/modules/tag.css +0 -118
- package/styles/modules/tile.css +0 -114
- package/styles/modules.css +0 -26
- package/styles/reboot.css +0 -403
- package/styles/utilities/align.css +0 -5
- package/styles/utilities/border.css +0 -63
- package/styles/utilities/colors.css +0 -65
- package/styles/utilities/display.css +0 -45
- package/styles/utilities/flex.css +0 -131
- package/styles/utilities/float.css +0 -15
- package/styles/utilities/order.css +0 -33
- package/styles/utilities/overflow.css +0 -31
- package/styles/utilities/pointer-events.css +0 -5
- package/styles/utilities/position.css +0 -79
- package/styles/utilities/shadow.css +0 -7
- package/styles/utilities/size.css +0 -123
- package/styles/utilities/spacing.css +0 -866
- package/styles/utilities/tooltip.css +0 -127
- package/styles/utilities/translate.css +0 -15
- package/styles/utilities/typography.css +0 -74
- package/styles/utilities/visibility.css +0 -14
- package/styles/utilities/zindex.css +0 -7
- package/styles/utilities.css +0 -18
- package/styles/vars.css +0 -159
- /package/sass/{_index.scss → index.scss} +0 -0
package/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Import CSS
|
|
2
|
-
import "./sass/
|
|
2
|
+
import "./sass/index.scss";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claritas-web-framework",
|
|
3
|
-
"version": "
|
|
4
|
-
"updated": "
|
|
3
|
+
"version": "7.0.1",
|
|
4
|
+
"updated": "11/07/2023",
|
|
5
5
|
"description": "The CSS framework built for Claritas front end.",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"scripts": {
|
|
@@ -18,29 +18,20 @@
|
|
|
18
18
|
"author": "David Brooks",
|
|
19
19
|
"license": "UNLICENSED",
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@alexlafroscia/postcss-color-mod-function": "^4.0.0",
|
|
22
21
|
"css-loader": "^6.8.1",
|
|
23
|
-
"cssnano": "^6.0.1",
|
|
24
22
|
"find-unused-sass-variables": "^5.0.0",
|
|
25
|
-
"html-webpack-plugin": "^5.5.
|
|
23
|
+
"html-webpack-plugin": "^5.5.3",
|
|
26
24
|
"mini-css-extract-plugin": "^2.7.6",
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"stylelint": "^15.7.0",
|
|
38
|
-
"stylelint-config-standard": "^33.0.0",
|
|
39
|
-
"stylelint-config-standard-scss": "^9.0.0",
|
|
40
|
-
"stylelint-scss": "^5.0.0",
|
|
41
|
-
"webpack": "^5.85.1",
|
|
42
|
-
"webpack-cli": "^5.1.3",
|
|
43
|
-
"webpack-dev-server": "^4.15.0"
|
|
25
|
+
"prettier": "^3.0.0",
|
|
26
|
+
"sass": "^1.63.6",
|
|
27
|
+
"sass-loader": "^13.3.2",
|
|
28
|
+
"stylelint": "^15.10.1",
|
|
29
|
+
"stylelint-config-standard": "^34.0.0",
|
|
30
|
+
"stylelint-config-standard-scss": "^10.0.0",
|
|
31
|
+
"stylelint-scss": "^5.0.1",
|
|
32
|
+
"webpack": "^5.88.1",
|
|
33
|
+
"webpack-cli": "^5.1.4",
|
|
34
|
+
"webpack-dev-server": "^4.15.1"
|
|
44
35
|
},
|
|
45
36
|
"dependencies": {
|
|
46
37
|
"rfs": "^10.0.0"
|
package/sass/modules/_modal.scss
CHANGED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
(function () {
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
if (typeof window.CustomEvent === "function") return false; //If not IE
|
|
5
|
-
|
|
6
|
-
function CustomEvent(event, params) {
|
|
7
|
-
params = params || { bubbles: false, cancelable: false, detail: undefined };
|
|
8
|
-
var evt = document.createEvent("CustomEvent");
|
|
9
|
-
evt.initCustomEvent(event, params.bubbles, params.cancelable, params.detail);
|
|
10
|
-
return evt;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
CustomEvent.prototype = window.Event.prototype;
|
|
14
|
-
|
|
15
|
-
window.Event = CustomEvent;
|
|
16
|
-
})();
|
package/postcss.config.js
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
const postcssImport = require("postcss-import");
|
|
2
|
-
const postcssAdvancedVar = require("postcss-advanced-variables");
|
|
3
|
-
const postcssPresetEnv = require("postcss-preset-env");
|
|
4
|
-
const postcssColorMod = require("@alexlafroscia/postcss-color-mod-function");
|
|
5
|
-
const postcssInlineSvg = require("postcss-inline-svg");
|
|
6
|
-
const cssNano = require("cssnano");
|
|
7
|
-
|
|
8
|
-
module.exports = {
|
|
9
|
-
plugins: [
|
|
10
|
-
postcssImport({}),
|
|
11
|
-
postcssAdvancedVar({
|
|
12
|
-
disable: "@import",
|
|
13
|
-
}),
|
|
14
|
-
postcssColorMod({
|
|
15
|
-
importFrom: ["./styles/vars.css"],
|
|
16
|
-
unresolved: "warn",
|
|
17
|
-
}),
|
|
18
|
-
postcssPresetEnv({
|
|
19
|
-
stage: 0,
|
|
20
|
-
}),
|
|
21
|
-
postcssInlineSvg({
|
|
22
|
-
paths: ["./images/"],
|
|
23
|
-
removeFill: true,
|
|
24
|
-
removeStroke: true,
|
|
25
|
-
}),
|
|
26
|
-
cssNano({
|
|
27
|
-
preset: [
|
|
28
|
-
"default",
|
|
29
|
-
{
|
|
30
|
-
discardComments: {
|
|
31
|
-
removeAll: true,
|
|
32
|
-
},
|
|
33
|
-
autoprefixer: true,
|
|
34
|
-
colorMin: false,
|
|
35
|
-
mergeLonghand: false,
|
|
36
|
-
mergeRules: false,
|
|
37
|
-
minifySelectors: false,
|
|
38
|
-
},
|
|
39
|
-
],
|
|
40
|
-
}),
|
|
41
|
-
],
|
|
42
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
@import "./../mixins/helpers/container.css";
|
|
2
|
-
|
|
3
|
-
.container,
|
|
4
|
-
.container--fluid {
|
|
5
|
-
@include make-container();
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.container {
|
|
9
|
-
@media (--viewport-tablet) {
|
|
10
|
-
--max-width: var(--breakpoint-tablet);
|
|
11
|
-
}
|
|
12
|
-
@media (--viewport-desktop) {
|
|
13
|
-
--max-width: var(--breakpoint-desktop);
|
|
14
|
-
}
|
|
15
|
-
@media (--viewport-widescreen) {
|
|
16
|
-
--max-width: var(--breakpoint-widescreen);
|
|
17
|
-
}
|
|
18
|
-
@media (--viewport-fullhd) {
|
|
19
|
-
--max-width: var(--breakpoint-fullhd);
|
|
20
|
-
}
|
|
21
|
-
}
|
package/styles/helpers/embed.css
DELETED
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
.embed--32by9,
|
|
2
|
-
.embed--21by9,
|
|
3
|
-
.embed--16by9,
|
|
4
|
-
.embed--4by3,
|
|
5
|
-
.embed--1by1 {
|
|
6
|
-
position: relative;
|
|
7
|
-
display: block;
|
|
8
|
-
width: 100%;
|
|
9
|
-
padding: 0;
|
|
10
|
-
overflow: hidden;
|
|
11
|
-
|
|
12
|
-
&::before {
|
|
13
|
-
display: block;
|
|
14
|
-
content: "";
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
& > * {
|
|
18
|
-
position: absolute;
|
|
19
|
-
top: 0;
|
|
20
|
-
bottom: 0;
|
|
21
|
-
left: 0;
|
|
22
|
-
width: 100%;
|
|
23
|
-
height: 100%;
|
|
24
|
-
border: 0;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.embed--32by9::before {
|
|
29
|
-
padding-top: 28.125%;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.embed--21by9::before {
|
|
33
|
-
padding-top: 42.857143%;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.embed--16by9::before {
|
|
37
|
-
padding-top: 56.25%;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.embed--4by3::before {
|
|
41
|
-
padding-top: 75%;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.embed--1by1::before {
|
|
45
|
-
padding-top: 100%;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
@each $view in mobile, tablet, desktop, widescreen, fullhd {
|
|
49
|
-
@media (--viewport-$(view)) {
|
|
50
|
-
.embed--$(view)-32by9::before {
|
|
51
|
-
padding-top: 28.125%;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.embed--$(view)-21by9::before {
|
|
55
|
-
padding-top: 42.857143%;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.embed--$(view)-16by9::before {
|
|
59
|
-
padding-top: 56.25%;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.embed--$(view)-4by3::before {
|
|
63
|
-
padding-top: 75%;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.embed--$(view)-1by1::before {
|
|
67
|
-
padding-top: 100%;
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
}
|
package/styles/helpers/grid.css
DELETED
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
.grid {
|
|
2
|
-
@include make-grid();
|
|
3
|
-
|
|
4
|
-
&.grid--form {
|
|
5
|
-
--grid-gutter-x: calc(var(--grid-gutter) * 0.75);
|
|
6
|
-
--grid-gutter-y: 0;
|
|
7
|
-
|
|
8
|
-
margin-bottom: calc(var(--spacer) * -1);
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.col {
|
|
13
|
-
flex: 1 0 0%;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.col--auto {
|
|
17
|
-
flex: 0 0 auto;
|
|
18
|
-
width: auto;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
@for $i from 1 through 12 {
|
|
22
|
-
[class*="col--$(i)"],
|
|
23
|
-
.col--$(i) {
|
|
24
|
-
@media (--viewport-mobile) {
|
|
25
|
-
flex: 0 0 auto;
|
|
26
|
-
width: calc(($i / 12) * 100%);
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
[class*="offset--$(i)"],
|
|
31
|
-
.offset--$(i) {
|
|
32
|
-
@media (--viewport-mobile) {
|
|
33
|
-
@include make-col-offset($i);
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
@each $view in mobile, tablet, desktop, widescreen, fullhd {
|
|
39
|
-
@for $i from 1 through 12 {
|
|
40
|
-
[class*="col--$(view)-$(i)"],
|
|
41
|
-
.col--$(view)-$(i) {
|
|
42
|
-
@media (--viewport-$(view)) {
|
|
43
|
-
flex: 0 0 auto;
|
|
44
|
-
width: calc(($i / 12) * 100%);
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
[class*="offset--$(view)-$(i)"],
|
|
49
|
-
.offset--$(view)-$(i) {
|
|
50
|
-
@media (--viewport-$(view)) {
|
|
51
|
-
margin-left: calc(($i / 12) * 100%);
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
@each $view in mobile, tablet, desktop, widescreen, fullhd {
|
|
58
|
-
[class*="offset--$(view)-0"],
|
|
59
|
-
.offset--$(view)-0 {
|
|
60
|
-
@media (--viewport-$(view)) {
|
|
61
|
-
margin-left: 0;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
}
|
package/styles/helpers/image.css
DELETED
package/styles/helpers/link.css
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
@import "../mixins/helpers/link.css";
|
|
2
|
-
|
|
3
|
-
.link--stretched {
|
|
4
|
-
&::after,
|
|
5
|
-
&::before {
|
|
6
|
-
position: absolute;
|
|
7
|
-
top: 0;
|
|
8
|
-
right: 0;
|
|
9
|
-
bottom: 0;
|
|
10
|
-
left: 0;
|
|
11
|
-
z-index: 1;
|
|
12
|
-
pointer-events: auto;
|
|
13
|
-
content: "";
|
|
14
|
-
background-color: color-mod(var(--gray-9) a(0));
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
&::before {
|
|
18
|
-
z-index: -1;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
.screen-reader {
|
|
2
|
-
position: absolute;
|
|
3
|
-
width: 1px;
|
|
4
|
-
height: 1px;
|
|
5
|
-
padding: 0;
|
|
6
|
-
overflow: hidden;
|
|
7
|
-
clip: rect(0, 0, 0, 0);
|
|
8
|
-
white-space: nowrap;
|
|
9
|
-
border: 0;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.screen-reader--focusable {
|
|
13
|
-
&:active,
|
|
14
|
-
&:focus {
|
|
15
|
-
position: static;
|
|
16
|
-
width: auto;
|
|
17
|
-
height: auto;
|
|
18
|
-
overflow: visible;
|
|
19
|
-
clip: auto;
|
|
20
|
-
white-space: normal;
|
|
21
|
-
}
|
|
22
|
-
}
|
package/styles/helpers/wrap.css
DELETED
package/styles/helpers.css
DELETED
package/styles/index.css
DELETED
package/styles/mixins/caret.css
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
@mixin make-caret() {
|
|
2
|
-
position: relative;
|
|
3
|
-
|
|
4
|
-
&::after {
|
|
5
|
-
position: absolute;
|
|
6
|
-
content: "";
|
|
7
|
-
top: calc(50% - calc(var(--spacer) * 0.125));
|
|
8
|
-
width: 0;
|
|
9
|
-
height: 0;
|
|
10
|
-
border-left: calc(var(--spacer) * 0.25) solid var(--transparent);
|
|
11
|
-
border-right: calc(var(--spacer) * 0.25) solid var(--transparent);
|
|
12
|
-
pointer-events: none;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
@mixin make-caret-down() {
|
|
17
|
-
@include make-caret();
|
|
18
|
-
|
|
19
|
-
&::after {
|
|
20
|
-
border-bottom: 0;
|
|
21
|
-
border-top: calc(var(--spacer) * 0.25) solid var(--primary);
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
@mixin make-caret-up() {
|
|
26
|
-
@include make-caret();
|
|
27
|
-
|
|
28
|
-
&::after {
|
|
29
|
-
border-top: 0;
|
|
30
|
-
border-bottom: calc(var(--spacer) * 0.25) solid var(--primary);
|
|
31
|
-
}
|
|
32
|
-
}
|
package/styles/mixins/group.css
DELETED
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
@mixin make-group() {
|
|
2
|
-
--margin: 0 0 var(--spacer);
|
|
3
|
-
--display: flex;
|
|
4
|
-
--flex-wrap: wrap;
|
|
5
|
-
--align-items: center;
|
|
6
|
-
--justify-content: flex-start;
|
|
7
|
-
--flex-direction: row;
|
|
8
|
-
|
|
9
|
-
margin: var(--margin);
|
|
10
|
-
display: var(--display);
|
|
11
|
-
flex-wrap: var(--flex-wrap);
|
|
12
|
-
align-items: var(--align-items);
|
|
13
|
-
justify-content: var(--justify-content);
|
|
14
|
-
flex-direction: var(--flex-direction);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
@mixin make-group-column() {
|
|
18
|
-
@include make-group();
|
|
19
|
-
|
|
20
|
-
--flex-direction: column;
|
|
21
|
-
|
|
22
|
-
& > * {
|
|
23
|
-
margin-bottom: 0;
|
|
24
|
-
|
|
25
|
-
&:not(:last-child) {
|
|
26
|
-
margin-bottom: calc(var(--spacer) * 0.5);
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
@mixin make-group-row() {
|
|
32
|
-
@include make-group();
|
|
33
|
-
|
|
34
|
-
& > * {
|
|
35
|
-
margin-right: 0;
|
|
36
|
-
|
|
37
|
-
&:not(:last-child) {
|
|
38
|
-
margin-right: calc(var(--spacer) * 0.5);
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
@mixin make-grouped-column() {
|
|
44
|
-
& > * {
|
|
45
|
-
&:not(:last-child) {
|
|
46
|
-
border-bottom-right-radius: 0;
|
|
47
|
-
border-bottom-left-radius: 0;
|
|
48
|
-
margin-bottom: 0;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
&:not(:first-child) {
|
|
52
|
-
border-top-left-radius: 0;
|
|
53
|
-
border-top-right-radius: 0;
|
|
54
|
-
margin-top: -1px;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
@mixin make-grouped-row() {
|
|
60
|
-
flex-wrap: nowrap;
|
|
61
|
-
|
|
62
|
-
& > * {
|
|
63
|
-
&:not(:last-child) {
|
|
64
|
-
border-bottom-right-radius: 0;
|
|
65
|
-
border-top-right-radius: 0;
|
|
66
|
-
margin-right: -1px;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
&:not(:first-child) {
|
|
70
|
-
border-bottom-left-radius: 0;
|
|
71
|
-
border-top-left-radius: 0;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
&:last-child {
|
|
75
|
-
margin-right: 0;
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
@mixin make-container() {
|
|
2
|
-
--width: 100%;
|
|
3
|
-
--max-width: 100vw;
|
|
4
|
-
--margin: auto;
|
|
5
|
-
--padding: 0 var(--grid-gutter);
|
|
6
|
-
|
|
7
|
-
width: var(--width);
|
|
8
|
-
max-width: var(--max-width);
|
|
9
|
-
margin-left: var(--margin);
|
|
10
|
-
margin-right: var(--margin);
|
|
11
|
-
padding: var(--padding);
|
|
12
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
@mixin make-grid() {
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-wrap: wrap;
|
|
4
|
-
margin-top: calc(var(--grid-gutter-y) * -1);
|
|
5
|
-
margin-right: calc(var(--grid-gutter-x) * -0.5) !important;
|
|
6
|
-
margin-left: calc(var(--grid-gutter-x) * -0.5) !important;
|
|
7
|
-
|
|
8
|
-
& > * {
|
|
9
|
-
flex-shrink: 0;
|
|
10
|
-
width: 100%;
|
|
11
|
-
max-width: 100%;
|
|
12
|
-
padding-right: calc(var(--grid-gutter-x) * 0.5);
|
|
13
|
-
padding-left: calc(var(--grid-gutter-x) * 0.5);
|
|
14
|
-
margin-top: var(--grid-gutter-y);
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
@mixin make-col-offset($size) {
|
|
19
|
-
margin-left: calc(($i / 12) * 100%);
|
|
20
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
@mixin make-linkStretched() {
|
|
2
|
-
&::after,
|
|
3
|
-
&::before {
|
|
4
|
-
position: absolute;
|
|
5
|
-
top: 0;
|
|
6
|
-
right: 0;
|
|
7
|
-
bottom: 0;
|
|
8
|
-
left: 0;
|
|
9
|
-
z-index: 1;
|
|
10
|
-
pointer-events: auto;
|
|
11
|
-
content: "";
|
|
12
|
-
background-color: color-mod(var(--gray-9) a(0));
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
&::before {
|
|
16
|
-
z-index: -1;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
@mixin make-button() {
|
|
2
|
-
--border-style: solid;
|
|
3
|
-
--border-width: 1px;
|
|
4
|
-
--border-color: var(--black-transparent-20);
|
|
5
|
-
--border-color-hover: var(--black-transparent-30);
|
|
6
|
-
--border-radius: var(--border-radius-medium);
|
|
7
|
-
--color: var(--body-color);
|
|
8
|
-
--color-hover: var(--body-color);
|
|
9
|
-
--color-focus: var(--body-color);
|
|
10
|
-
--shadow-color-active: var(--black-transparent-20);
|
|
11
|
-
--shadow-color-focus: var(--black-transparent-10);
|
|
12
|
-
--box-shadow-active: 0 0 0 0.125em var(--shadow-color-active);
|
|
13
|
-
--box-shadow-focus: 0 0 0 0.125em var(--shadow-color-focus);
|
|
14
|
-
--background-color: var(--white);
|
|
15
|
-
--background-color-hover: var(--white);
|
|
16
|
-
--background-color-focus: var(--black-transparent-5);
|
|
17
|
-
--padding-y: calc((var(--spacer) * 0.5) - 1.5px);
|
|
18
|
-
--padding-x: var(--spacer);
|
|
19
|
-
--padding: var(--padding-y) var(--padding-x);
|
|
20
|
-
--align-items: center;
|
|
21
|
-
--display: inline-flex;
|
|
22
|
-
--vertical-align: top;
|
|
23
|
-
--cursor: pointer;
|
|
24
|
-
--justify-content: center;
|
|
25
|
-
--text-align: center;
|
|
26
|
-
--white-space: nowrap;
|
|
27
|
-
--height: auto;
|
|
28
|
-
--width: auto;
|
|
29
|
-
--outline: 0;
|
|
30
|
-
--text-decoration: none;
|
|
31
|
-
--pointer-events: auto;
|
|
32
|
-
--opacity: 1;
|
|
33
|
-
|
|
34
|
-
display: var(--display);
|
|
35
|
-
border-width: var(--border-width);
|
|
36
|
-
border-style: var(--border-style);
|
|
37
|
-
border-color: var(--border-color);
|
|
38
|
-
color: var(--color);
|
|
39
|
-
background-color: var(--background-color);
|
|
40
|
-
padding: var(--padding);
|
|
41
|
-
border-radius: var(--border-radius);
|
|
42
|
-
font-size: var(--font-size-base);
|
|
43
|
-
align-items: var(--align-items);
|
|
44
|
-
justify-content: var(--justify-content);
|
|
45
|
-
text-align: var(--text-align);
|
|
46
|
-
vertical-align: var(--vertical-align);
|
|
47
|
-
cursor: var(--cursor);
|
|
48
|
-
white-space: var(--white-space);
|
|
49
|
-
height: var(--height);
|
|
50
|
-
width: var(--width);
|
|
51
|
-
outline: var(--outline);
|
|
52
|
-
text-decoration: var(--text-decoration);
|
|
53
|
-
pointer-events: var(--pointer-events);
|
|
54
|
-
opacity: var(--opacity);
|
|
55
|
-
|
|
56
|
-
&.active,
|
|
57
|
-
&:active,
|
|
58
|
-
&:hover {
|
|
59
|
-
border-color: var(--border-color-hover);
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
&.active,
|
|
63
|
-
&:active,
|
|
64
|
-
&:focus,
|
|
65
|
-
&:hover {
|
|
66
|
-
background-color: var(--background-color-hover);
|
|
67
|
-
color: var(--color-hover);
|
|
68
|
-
text-decoration: var(--text-decoration);
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
&.active,
|
|
72
|
-
&:active {
|
|
73
|
-
box-shadow: var(--box-shadow-active);
|
|
74
|
-
color: var(--color-focus);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
&:focus {
|
|
78
|
-
color: var(--color-focus);
|
|
79
|
-
background-color: var(--background-color-focus);
|
|
80
|
-
|
|
81
|
-
&:not(:active):not(.active) {
|
|
82
|
-
box-shadow: var(--box-shadow-focus);
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
&.active,
|
|
87
|
-
&:active,
|
|
88
|
-
&:focus {
|
|
89
|
-
z-index: 1;
|
|
90
|
-
}
|
|
91
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
@mixin make-card() {
|
|
2
|
-
--background-color: var(--white);
|
|
3
|
-
--border-color: var(--black-transparent-12);
|
|
4
|
-
--border: 1px solid var(--border-color);
|
|
5
|
-
--border-radius: var(--border-radius-medium);
|
|
6
|
-
|
|
7
|
-
margin-bottom: var(--spacer);
|
|
8
|
-
background-color: var(--background-color);
|
|
9
|
-
border-radius: var(--border-radius);
|
|
10
|
-
display: flex;
|
|
11
|
-
flex-direction: column;
|
|
12
|
-
border: var(--border);
|
|
13
|
-
min-width: 0;
|
|
14
|
-
word-wrap: break-word;
|
|
15
|
-
width: 100%;
|
|
16
|
-
position: relative;
|
|
17
|
-
|
|
18
|
-
& > * {
|
|
19
|
-
&:first-child {
|
|
20
|
-
border-top-left-radius: calc(var(--border-radius) - 1px);
|
|
21
|
-
border-top-right-radius: calc(var(--border-radius) - 1px);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
&:last-child {
|
|
25
|
-
border-bottom-left-radius: calc(var(--border-radius) - 1px);
|
|
26
|
-
border-bottom-right-radius: calc(var(--border-radius) - 1px);
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
}
|