@remvst/design-system 1.0.0 → 1.1.0

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.
Files changed (78) hide show
  1. package/.github/workflows/check.yaml +19 -19
  2. package/.prettierrc +4 -0
  3. package/lib/alignment/alignment.css +13 -13
  4. package/lib/alignment/alignment.d.ts +1 -1
  5. package/lib/alignment/alignment.js +1 -1
  6. package/lib/animations/animations.css +90 -90
  7. package/lib/balanced-row/balanced-row.css +4 -4
  8. package/lib/balanced-stack/balanced-stack.css +5 -5
  9. package/lib/buttons/buttons.css +5 -5
  10. package/lib/buttons/buttons.d.ts +3 -1
  11. package/lib/buttons/buttons.js +8 -1
  12. package/lib/dim/dim.css +3 -3
  13. package/lib/flow-list/flow-list.css +5 -5
  14. package/lib/focusable.d.ts +1 -0
  15. package/lib/focusable.js +6 -3
  16. package/lib/frame/frame.css +1 -1
  17. package/lib/gauge/gauge.css +16 -16
  18. package/lib/highlightable-row/highlightable-row.css +3 -3
  19. package/lib/highlightable-row/highlightable-row.js +1 -1
  20. package/lib/index.d.ts +1 -1
  21. package/lib/index.js +1 -1
  22. package/lib/key-value-layout/key-value-layout.css +7 -7
  23. package/lib/labels/labels.css +13 -13
  24. package/lib/reset/reset.css +8 -8
  25. package/lib/screen-column-layout/screen-column-layout.css +77 -77
  26. package/lib/screen-stack-layout/screen-stack-layout.css +14 -14
  27. package/lib/scrollable-content/scrollable-content.css +3 -3
  28. package/lib/slider/slider.css +44 -44
  29. package/lib/spacing/spacing.css +7 -7
  30. package/lib/stack-list/stack-list.css +2 -2
  31. package/lib/tabs/tabs.css +10 -10
  32. package/lib/typography/typography.css +7 -7
  33. package/package.json +26 -25
  34. package/src/alignment/alignment.css +13 -13
  35. package/src/alignment/alignment.tsx +5 -5
  36. package/src/animations/animations.css +90 -90
  37. package/src/animations/animations.ts +14 -14
  38. package/src/balanced-row/balanced-row.css +4 -4
  39. package/src/balanced-row/balanced-row.tsx +10 -10
  40. package/src/balanced-stack/balanced-stack.css +5 -5
  41. package/src/balanced-stack/balanced-stack.tsx +10 -10
  42. package/src/buttons/buttons.css +5 -5
  43. package/src/buttons/buttons.tsx +7 -2
  44. package/src/component-with-class-name.tsx +8 -8
  45. package/src/dim/dim.css +3 -3
  46. package/src/dim/dim.tsx +1 -1
  47. package/src/flow-list/flow-list.css +5 -5
  48. package/src/flow-list/flow-list.tsx +10 -10
  49. package/src/focusable.tsx +39 -35
  50. package/src/frame/frame.css +1 -1
  51. package/src/frame/frame.tsx +1 -1
  52. package/src/gauge/gauge.css +16 -16
  53. package/src/gauge/gauge.tsx +19 -16
  54. package/src/highlightable-row/highlightable-row.css +3 -3
  55. package/src/highlightable-row/highlightable-row.tsx +10 -8
  56. package/src/index.ts +1 -1
  57. package/src/key-value-layout/key-value-layout.css +7 -7
  58. package/src/key-value-layout/key-value-layout.tsx +1 -1
  59. package/src/labels/labels.css +13 -13
  60. package/src/labels/labels.tsx +7 -7
  61. package/src/reset/reset.css +8 -8
  62. package/src/screen-column-layout/screen-column-layout.css +77 -77
  63. package/src/screen-column-layout/screen-column-layout.tsx +6 -6
  64. package/src/screen-stack-layout/screen-stack-layout.css +14 -14
  65. package/src/screen-stack-layout/screen-stack-layout.tsx +4 -4
  66. package/src/scrollable-content/scrollable-content.css +3 -3
  67. package/src/scrollable-content/scrollable-content.tsx +1 -1
  68. package/src/slider/slider.css +44 -44
  69. package/src/slider/slider.tsx +45 -45
  70. package/src/spacing/spacing.css +7 -7
  71. package/src/spacing/spacing.ts +7 -7
  72. package/src/stack-list/stack-list.css +2 -2
  73. package/src/stack-list/stack-list.tsx +10 -10
  74. package/src/tabs/tabs.css +10 -10
  75. package/src/tabs/tabs.tsx +15 -15
  76. package/src/typography/typography.css +7 -7
  77. package/src/typography/typography.ts +7 -7
  78. package/tsconfig.json +11 -11
@@ -1,22 +1,22 @@
1
1
  name: Check
2
2
  on:
3
- push:
4
- branches:
5
- - main
6
- workflow_dispatch:
3
+ push:
4
+ branches:
5
+ - main
6
+ workflow_dispatch:
7
7
  jobs:
8
- check:
9
- runs-on: ubuntu-latest
10
- concurrency:
11
- group: deploy-web-${{ github.ref }}
12
- cancel-in-progress: true
13
- steps:
14
- - uses: actions/setup-node@v3
15
- with:
16
- node-version: 18
17
- - name: Check out repository code
18
- uses: actions/checkout@v3
19
- - name: Install dependencies
20
- run: npm install
21
- - name: Test
22
- run: npm test
8
+ check:
9
+ runs-on: ubuntu-latest
10
+ concurrency:
11
+ group: check-${{ github.ref }}
12
+ cancel-in-progress: true
13
+ steps:
14
+ - uses: actions/setup-node@v3
15
+ with:
16
+ node-version: 18
17
+ - name: Check out repository code
18
+ uses: actions/checkout@v3
19
+ - name: Install dependencies
20
+ run: npm install
21
+ - name: Test
22
+ run: npm test
package/.prettierrc ADDED
@@ -0,0 +1,4 @@
1
+ {
2
+ "plugins": ["prettier-plugin-organize-imports"],
3
+ "tabWidth": 4
4
+ }
@@ -1,24 +1,24 @@
1
1
  .vertical-center {
2
- display: flex;
3
- flex-direction: column;
4
- justify-content: center;
5
- height: 100%;
2
+ display: flex;
3
+ flex-direction: column;
4
+ justify-content: center;
5
+ height: 100%;
6
6
  }
7
7
 
8
8
  .horizontal-center {
9
- margin: auto;
9
+ margin: auto;
10
10
  }
11
11
 
12
12
  .align-right {
13
- display: flex;
14
- flex-direction: row;
15
- justify-content: end;
13
+ display: flex;
14
+ flex-direction: row;
15
+ justify-content: end;
16
16
  }
17
17
 
18
18
  .narrow-column {
19
- width: 100%;
20
- max-width: 50%;
21
- max-height: 100%;
22
- margin-left: auto;
23
- margin-right: auto;
19
+ width: 100%;
20
+ max-width: 50%;
21
+ max-height: 100%;
22
+ margin-left: auto;
23
+ margin-right: auto;
24
24
  }
@@ -1,5 +1,5 @@
1
- import "./alignment.css";
2
1
  import { ComponentWithClassName } from "../component-with-class-name";
2
+ import "./alignment.css";
3
3
  export declare class VerticalCenter extends ComponentWithClassName {
4
4
  protected readonly className = "vertical-center";
5
5
  }
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.NarrowColumn = exports.AlignRight = exports.HorizontalCenter = exports.VerticalCenter = void 0;
4
- require("./alignment.css");
5
4
  const component_with_class_name_1 = require("../component-with-class-name");
5
+ require("./alignment.css");
6
6
  class VerticalCenter extends component_with_class_name_1.ComponentWithClassName {
7
7
  constructor() {
8
8
  super(...arguments);
@@ -1,125 +1,125 @@
1
1
  .animate-in {
2
- animation: animate-in 0.2s ease-out;
3
- animation-fill-mode: both;
2
+ animation: animate-in 0.2s ease-out;
3
+ animation-fill-mode: both;
4
4
  }
5
5
 
6
6
  .zoom-in {
7
- opacity: 1;
8
- animation: zoom-in 0.2s ease-out;
9
- animation-fill-mode: forwards;
7
+ opacity: 1;
8
+ animation: zoom-in 0.2s ease-out;
9
+ animation-fill-mode: forwards;
10
10
  }
11
11
 
12
12
  .slide-up {
13
- transform: none;
14
- opacity: 0;
15
- animation: slide-up 0.5s ease-out;
16
- animation-fill-mode: forwards;
13
+ transform: none;
14
+ opacity: 0;
15
+ animation: slide-up 0.5s ease-out;
16
+ animation-fill-mode: forwards;
17
17
  }
18
18
 
19
19
  .slide-down {
20
- transform: none;
21
- opacity: 0;
22
- animation: slide-down 0.1s linear;
23
- animation-fill-mode: forwards;
20
+ transform: none;
21
+ opacity: 0;
22
+ animation: slide-down 0.1s linear;
23
+ animation-fill-mode: forwards;
24
24
  }
25
25
 
26
26
  .fade-in {
27
- opacity: 0;
28
- animation: fade-in 1s ease-out;
29
- animation-fill-mode: forwards;
27
+ opacity: 0;
28
+ animation: fade-in 1s ease-out;
29
+ animation-fill-mode: forwards;
30
30
  }
31
31
 
32
32
  .shake {
33
- position: relative;
34
- animation: shake 0.2s;
35
- animation-iteration-count: infinite;
33
+ position: relative;
34
+ animation: shake 0.2s;
35
+ animation-iteration-count: infinite;
36
36
  }
37
37
 
38
38
  @keyframes animate-in {
39
- 0% {
40
- opacity: 0;
41
- transform: scale(110%, 110%);
42
- }
43
- 100% {
44
- opacity: 1;
45
- transform: translateY(0px);
46
- }
39
+ 0% {
40
+ opacity: 0;
41
+ transform: scale(110%, 110%);
42
+ }
43
+ 100% {
44
+ opacity: 1;
45
+ transform: translateY(0px);
46
+ }
47
47
  }
48
48
 
49
49
  @keyframes zoom-in {
50
- 0% {
51
- opacity: 1;
52
- transform: none;
53
- }
54
- 100% {
55
- opacity: 0;
56
- transform: scale(200%, 200%);
57
- }
50
+ 0% {
51
+ opacity: 1;
52
+ transform: none;
53
+ }
54
+ 100% {
55
+ opacity: 0;
56
+ transform: scale(200%, 200%);
57
+ }
58
58
  }
59
59
 
60
60
  @keyframes slide-up {
61
- 0% {
62
- opacity: 0;
63
- transform: translateY(50px);
64
- }
65
- 100% {
66
- opacity: 1;
67
- transform: translateY(0px);
68
- }
61
+ 0% {
62
+ opacity: 0;
63
+ transform: translateY(50px);
64
+ }
65
+ 100% {
66
+ opacity: 1;
67
+ transform: translateY(0px);
68
+ }
69
69
  }
70
70
 
71
71
  @keyframes slide-down {
72
- 0% {
73
- opacity: 0;
74
- transform: translateY(-200px);
75
- }
76
- 100% {
77
- opacity: 1;
78
- transform: translateY(0px);
79
- }
72
+ 0% {
73
+ opacity: 0;
74
+ transform: translateY(-200px);
75
+ }
76
+ 100% {
77
+ opacity: 1;
78
+ transform: translateY(0px);
79
+ }
80
80
  }
81
81
 
82
82
  @keyframes fade-in {
83
- 0% {
84
- opacity: 0;
85
- }
86
- 100% {
87
- opacity: 1;
88
- }
83
+ 0% {
84
+ opacity: 0;
85
+ }
86
+ 100% {
87
+ opacity: 1;
88
+ }
89
89
  }
90
90
 
91
91
  @keyframes shake {
92
- 0% {
93
- transform: translate(4px, 4px);
94
- }
95
- 10% {
96
- transform: translate(-4px, -4px);
97
- }
98
- 20% {
99
- transform: translate(-4px, 0px);
100
- }
101
- 30% {
102
- transform: translate(4px, 4px);
103
- }
104
- 40% {
105
- transform: translate(4px, -4px);
106
- }
107
- 50% {
108
- transform: translate(-4px, 4px);
109
- }
110
- 60% {
111
- transform: translate(-4px, 4px);
112
- }
113
- 70% {
114
- transform: translate(4px, 4px);
115
- }
116
- 80% {
117
- transform: translate(-4px, -4px);
118
- }
119
- 90% {
120
- transform: translate(4px, 4px);
121
- }
122
- 100% {
123
- transform: translate(4px, -4px);
124
- }
92
+ 0% {
93
+ transform: translate(4px, 4px);
94
+ }
95
+ 10% {
96
+ transform: translate(-4px, -4px);
97
+ }
98
+ 20% {
99
+ transform: translate(-4px, 0px);
100
+ }
101
+ 30% {
102
+ transform: translate(4px, 4px);
103
+ }
104
+ 40% {
105
+ transform: translate(4px, -4px);
106
+ }
107
+ 50% {
108
+ transform: translate(-4px, 4px);
109
+ }
110
+ 60% {
111
+ transform: translate(-4px, 4px);
112
+ }
113
+ 70% {
114
+ transform: translate(4px, 4px);
115
+ }
116
+ 80% {
117
+ transform: translate(-4px, -4px);
118
+ }
119
+ 90% {
120
+ transform: translate(4px, 4px);
121
+ }
122
+ 100% {
123
+ transform: translate(4px, -4px);
124
+ }
125
125
  }
@@ -1,9 +1,9 @@
1
1
  .balanced-row {
2
- display: flex;
3
- flex-direction: row;
4
- flex-wrap: nowrap;
2
+ display: flex;
3
+ flex-direction: row;
4
+ flex-wrap: nowrap;
5
5
  }
6
6
 
7
7
  .balanced-row > div {
8
- flex: 1 0 0;
8
+ flex: 1 0 0;
9
9
  }
@@ -1,10 +1,10 @@
1
1
  .balanced-stack {
2
- display: flex;
3
- flex-direction: column;
4
- flex-wrap: nowrap;
5
- height: 100%;
2
+ display: flex;
3
+ flex-direction: column;
4
+ flex-wrap: nowrap;
5
+ height: 100%;
6
6
  }
7
7
 
8
8
  .balanced-stack > div {
9
- flex: 1 0 0;
9
+ flex: 1 0 0;
10
10
  }
@@ -1,10 +1,10 @@
1
1
  .main-button {
2
- text-align: center;
3
- cursor: pointer;
4
- font-size: 20px;
2
+ text-align: center;
3
+ cursor: pointer;
4
+ font-size: 20px;
5
5
  }
6
6
 
7
7
  .main-button.disabled {
8
- color: #888;
9
- pointer-events: none;
8
+ color: #888;
9
+ pointer-events: none;
10
10
  }
@@ -1,5 +1,7 @@
1
- import "./buttons.css";
1
+ import { JSX } from "react";
2
2
  import { Focusable } from "../focusable";
3
+ import "./buttons.css";
3
4
  export declare class MainButton extends Focusable {
4
5
  protected readonly className = "main-button";
6
+ protected renderChildren(): JSX.Element;
5
7
  }
@@ -1,12 +1,19 @@
1
1
  "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
2
5
  Object.defineProperty(exports, "__esModule", { value: true });
3
6
  exports.MainButton = void 0;
4
- require("./buttons.css");
7
+ const react_1 = __importDefault(require("react"));
5
8
  const focusable_1 = require("../focusable");
9
+ require("./buttons.css");
6
10
  class MainButton extends focusable_1.Focusable {
7
11
  constructor() {
8
12
  super(...arguments);
9
13
  this.className = "main-button";
10
14
  }
15
+ renderChildren() {
16
+ return react_1.default.createElement("span", null, super.renderChildren());
17
+ }
11
18
  }
12
19
  exports.MainButton = MainButton;
package/lib/dim/dim.css CHANGED
@@ -1,5 +1,5 @@
1
1
  .dim {
2
- width: 100%;
3
- height: 100%;
4
- background-color: rgba(0, 0, 0, 0.5);
2
+ width: 100%;
3
+ height: 100%;
4
+ background-color: rgba(0, 0, 0, 0.5);
5
5
  }
@@ -1,10 +1,10 @@
1
1
  .flow-list {
2
- display: flex;
3
- flex-direction: row-reverse;
4
- flex-wrap: wrap;
2
+ display: flex;
3
+ flex-direction: row-reverse;
4
+ flex-wrap: wrap;
5
5
  }
6
6
 
7
7
  .flow-list > div {
8
- flex: 1 1 0;
9
- position: relative;
8
+ flex: 1 1 0;
9
+ position: relative;
10
10
  }
@@ -9,5 +9,6 @@ export declare abstract class Focusable<PropsType extends Props = Props> extends
9
9
  private keyUp;
10
10
  protected saneProps(): Props;
11
11
  render(): React.JSX.Element;
12
+ protected renderChildren(): React.JSX.Element;
12
13
  }
13
14
  export {};
package/lib/focusable.js CHANGED
@@ -7,14 +7,14 @@ exports.Focusable = void 0;
7
7
  const react_1 = __importDefault(require("react"));
8
8
  class Focusable extends react_1.default.Component {
9
9
  onMouseOver() {
10
- this.divElement.focus();
10
+ this.divElement?.focus();
11
11
  }
12
12
  keyUp(event) {
13
13
  if (this.props.disabled) {
14
14
  return;
15
15
  }
16
16
  if (event.key === "Enter" || event.key === " ") {
17
- this.divElement.click();
17
+ this.divElement?.click();
18
18
  }
19
19
  }
20
20
  saneProps() {
@@ -25,7 +25,10 @@ class Focusable extends react_1.default.Component {
25
25
  props.className = props.className || "";
26
26
  props.className += " " + this.className;
27
27
  props.className += " " + (this.props.disabled ? "disabled" : "");
28
- return (react_1.default.createElement("div", { ...props, onMouseOver: () => this.onMouseOver(), onKeyUp: (e) => this.keyUp(e), ref: (div) => (this.divElement = div) }, props.children));
28
+ return (react_1.default.createElement("div", { ...props, onMouseOver: () => this.onMouseOver(), onKeyUp: (e) => this.keyUp(e), ref: (div) => (this.divElement = div) }, this.renderChildren()));
29
+ }
30
+ renderChildren() {
31
+ return react_1.default.createElement(react_1.default.Fragment, null, this.props.children);
29
32
  }
30
33
  }
31
34
  exports.Focusable = Focusable;
@@ -1,3 +1,3 @@
1
1
  .frame {
2
- background-color: rgba(0, 0, 0, 0.8);
2
+ background-color: rgba(0, 0, 0, 0.8);
3
3
  }
@@ -1,24 +1,24 @@
1
1
  .gauge {
2
- width: 100%;
3
- height: 20px;
4
- background-color: #444;
5
- overflow: hidden;
2
+ width: 100%;
3
+ height: 20px;
4
+ background-color: #444;
5
+ overflow: hidden;
6
6
  }
7
7
 
8
8
  .gauge > div {
9
- height: 100%;
10
- background-color: #fff;
11
- transition: width 100ms linear;
12
- position: relative;
13
- display: flex;
14
- flex-direction: row;
15
- justify-content: end;
16
- padding: var(--spacing-xxs);
9
+ height: 100%;
10
+ background-color: #fff;
11
+ transition: width 100ms linear;
12
+ position: relative;
13
+ display: flex;
14
+ flex-direction: row;
15
+ justify-content: end;
16
+ padding: var(--spacing-xxs);
17
17
  }
18
18
 
19
19
  .gauge > div > * {
20
- color: black;
21
- font-size: 15px;
22
- flex: 0 0 auto;
23
- align-self: center;
20
+ color: black;
21
+ font-size: 15px;
22
+ flex: 0 0 auto;
23
+ align-self: center;
24
24
  }
@@ -1,11 +1,11 @@
1
1
  .highlightable-row {
2
- background-color: rgba(0, 0, 0, 0.2);
2
+ background-color: rgba(0, 0, 0, 0.2);
3
3
  }
4
4
 
5
5
  .highlightable-row:focus {
6
- background-color: rgba(255, 255, 255, 0.2) !important;
6
+ background-color: rgba(255, 255, 255, 0.2) !important;
7
7
  }
8
8
 
9
9
  .screen-layout-column > .screen-layout-column-main-column .highlightable-row {
10
- background-color: transparent;
10
+ background-color: transparent;
11
11
  }
@@ -9,7 +9,7 @@ class HighlightableRow extends focusable_1.Focusable {
9
9
  return other;
10
10
  }
11
11
  get className() {
12
- return "highlightable-row" + (this.props.highlighted ? " highlighted" : "");
12
+ return ("highlightable-row" + (this.props.highlighted ? " highlighted" : ""));
13
13
  }
14
14
  }
15
15
  exports.HighlightableRow = HighlightableRow;
package/lib/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import "./reset/reset.css";
2
- export * from "./animations/animations";
3
2
  export * from "./alignment/alignment";
3
+ export * from "./animations/animations";
4
4
  export * from "./balanced-row/balanced-row";
5
5
  export * from "./balanced-stack/balanced-stack";
6
6
  export * from "./buttons/buttons";
package/lib/index.js CHANGED
@@ -15,8 +15,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  require("./reset/reset.css");
18
- __exportStar(require("./animations/animations"), exports);
19
18
  __exportStar(require("./alignment/alignment"), exports);
19
+ __exportStar(require("./animations/animations"), exports);
20
20
  __exportStar(require("./balanced-row/balanced-row"), exports);
21
21
  __exportStar(require("./balanced-stack/balanced-stack"), exports);
22
22
  __exportStar(require("./buttons/buttons"), exports);
@@ -1,15 +1,15 @@
1
1
  .key-value-layout {
2
- display: flex;
3
- flex-direction: row;
4
- flex-wrap: nowrap;
5
- justify-content: space-between;
2
+ display: flex;
3
+ flex-direction: row;
4
+ flex-wrap: nowrap;
5
+ justify-content: space-between;
6
6
  }
7
7
 
8
8
  .key-value-layout > *:first-child {
9
- flex: 1 0 auto;
9
+ flex: 1 0 auto;
10
10
  }
11
11
 
12
12
  .key-value-layout > * {
13
- align-self: center;
14
- max-width: 50%;
13
+ align-self: center;
14
+ max-width: 50%;
15
15
  }
@@ -1,39 +1,39 @@
1
1
  .label-giant {
2
- font-size: 100px;
2
+ font-size: 100px;
3
3
  }
4
4
 
5
5
  .label-large {
6
- font-size: var(--font-size-l);
6
+ font-size: var(--font-size-l);
7
7
  }
8
8
 
9
9
  .label-medium {
10
- font-size: var(--font-size-m);
10
+ font-size: var(--font-size-m);
11
11
  }
12
12
 
13
13
  .label-small {
14
- font-size: var(--font-size-s);
14
+ font-size: var(--font-size-s);
15
15
  }
16
16
 
17
17
  .label-tiny {
18
- font-size: var(--font-size-xs);
18
+ font-size: var(--font-size-xs);
19
19
  }
20
20
 
21
21
  .main-title {
22
- text-align: center;
23
- font-size: var(--font-size-xxl);
22
+ text-align: center;
23
+ font-size: var(--font-size-xxl);
24
24
  }
25
25
 
26
26
  .text-block {
27
- font-size: var(--font-size-m);
28
- color: white;
29
- padding: 10px 10%;
27
+ font-size: var(--font-size-m);
28
+ color: white;
29
+ padding: 10px 10%;
30
30
  }
31
31
 
32
32
  .text-block p {
33
- margin: 10px 0px;
33
+ margin: 10px 0px;
34
34
  }
35
35
 
36
36
  .text-block ul {
37
- margin-left: 20px;
38
- list-style-type: square;
37
+ margin-left: 20px;
38
+ list-style-type: square;
39
39
  }
@@ -1,13 +1,13 @@
1
1
  * {
2
- margin: 0;
3
- padding: 0;
4
- -ms-box-sizing: border-box;
5
- -moz-box-sizing: border-box;
6
- -webkit-box-sizing: border-box;
7
- box-sizing: border-box;
8
- user-select: none;
2
+ margin: 0;
3
+ padding: 0;
4
+ -ms-box-sizing: border-box;
5
+ -moz-box-sizing: border-box;
6
+ -webkit-box-sizing: border-box;
7
+ box-sizing: border-box;
8
+ user-select: none;
9
9
  }
10
10
 
11
11
  *:focus {
12
- outline: none;
12
+ outline: none;
13
13
  }