@dscout/particle 1.0.0-alpha.2 → 1.0.0-alpha.3
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/lib/components/advanced_options.js +15 -3
- package/lib/components/attribute_input.js +15 -3
- package/lib/components/attribute_selector.js +14 -3
- package/lib/components/button.js +18 -6
- package/lib/components/button_control.js +15 -3
- package/lib/components/button_icon.js +142 -40
- package/lib/components/button_mode.js +18 -6
- package/lib/components/button_plain.js +16 -4
- package/lib/components/card.js +12 -2
- package/lib/components/checkbox_input.js +15 -3
- package/lib/components/collapsing_menu.js +15 -3
- package/lib/components/common_button.js +65 -5
- package/lib/components/common_input.js +15 -3
- package/lib/components/container.js +74 -14
- package/lib/components/container_header.js +2 -2
- package/lib/components/drag_and_drop.js +14 -3
- package/lib/components/dropdown_input_toggle.js +15 -4
- package/lib/components/editing_container.js +2 -3
- package/lib/components/email_input.js +15 -3
- package/lib/components/file_input.js +15 -3
- package/lib/components/link_text.js +283 -0
- package/lib/components/number_input.js +15 -3
- package/lib/components/password_input.js +15 -3
- package/lib/components/radio_input.js +15 -3
- package/lib/components/range_input.js +15 -3
- package/lib/components/search_input.js +15 -3
- package/lib/components/select_input.js +15 -3
- package/lib/components/tags_input.js +16 -3
- package/lib/components/text_input.js +15 -3
- package/lib/components/textarea.js +15 -3
- package/lib/components/togglable_fieldset.js +15 -3
- package/lib/components/toggle.js +15 -3
- package/lib/index.js +8 -16
- package/lib/stylesheets/particle.css +4495 -3192
- package/lib/stylesheets/particle.css.map +1 -0
- package/lib/stylesheets/particle.min.css +1 -1
- package/lib/stylesheets/particle.min.css.gz +0 -0
- package/lib/utils/data_attributes.js +18 -0
- package/lib/utils/markscout.js +2 -2
- package/package.json +29 -27
- package/styles/_base.scss +5 -8
- package/styles/_reset.scss +5 -0
- package/styles/components/_icons.scss +7 -14
- package/styles/components/attribute_selector/_base.scss +3 -3
- package/styles/components/button_icon/_base.scss +22 -0
- package/styles/components/button_icon/themes/_bandit.scss +5 -0
- package/styles/components/button_icon/themes/_researcher.scss +5 -0
- package/styles/components/button_icon/themes/_theme_builder.scss +12 -0
- package/styles/components/buttons/_base.scss +245 -382
- package/styles/components/buttons/themes/_bandit.scss +16 -16
- package/styles/components/buttons/themes/_theme_builder.scss +49 -73
- package/styles/components/card/_base.scss +0 -8
- package/styles/components/container/_base.scss +10 -20
- package/styles/components/container/themes/_theme_builder.scss +15 -14
- package/styles/components/footnote/_base.scss +1 -1
- package/styles/components/input_group/_base.scss +4 -4
- package/styles/components/link_text/_base.scss +52 -0
- package/styles/components/link_text/themes/_bandit.scss +5 -0
- package/styles/components/link_text/themes/_researcher.scss +5 -0
- package/styles/components/link_text/themes/_theme_builder.scss +11 -0
- package/styles/components/menu/_base.scss +2 -3
- package/styles/components/pill/_base.scss +13 -0
- package/styles/components/segmented_controls/_base.scss +1 -1
- package/styles/components/swappable/_base.scss +10 -2
- package/styles/particle.scss +2 -2
- package/styles/themes/_bandit.scss +40 -5
- package/styles/themes/_bandit_colors.scss +9 -0
- package/styles/themes/_researcher.scss +8 -5
- package/styles/themes/_researcher_colors.scss +91 -0
- package/styles/themes/_theme_builder.scss +215 -0
- package/styles/utilities/_alignment.scss +14 -137
- package/styles/utilities/_borders.scss +0 -44
- package/styles/utilities/_colors.scss +76 -605
- package/styles/utilities/_dimensions.scss +51 -265
- package/styles/utilities/_display.scss +1 -64
- package/styles/utilities/_overflow.scss +0 -55
- package/styles/utilities/_radii.scss +102 -30
- package/styles/utilities/_shadows.scss +0 -59
- package/styles/utilities/_spacing.scss +69 -534
- package/styles/utilities/_typography.scss +11 -333
- package/CHANGELOG.md +0 -1548
- package/lib/components/container_inner.js +0 -93
- package/lib/components/controls.js +0 -106
- package/styles/_mixins.scss +0 -134
- package/styles/_tables.scss +0 -138
- package/styles/_theme_builder.scss +0 -356
- package/styles/_variables.scss +0 -248
- package/styles/components/_links.scss +0 -141
- package/styles/css_variables/_bandit.scss +0 -45
- package/styles/css_variables/_researcher.scss +0 -5
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
|
|
8
|
-
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
|
|
10
|
-
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
11
|
-
|
|
12
|
-
var _class_names = _interopRequireDefault(require("../utils/class_names"));
|
|
13
|
-
|
|
14
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
|
-
|
|
16
|
-
var propTypes = {
|
|
17
|
-
_modifierClass: _propTypes.default.string,
|
|
18
|
-
'aria-label': _propTypes.default.string,
|
|
19
|
-
'aria-labelledby': _propTypes.default.string,
|
|
20
|
-
'aria-describedby': _propTypes.default.string,
|
|
21
|
-
children: _propTypes.default.node.isRequired,
|
|
22
|
-
id: _propTypes.default.string
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
function ContainerInner(_ref) {
|
|
26
|
-
var _modifierClass = _ref._modifierClass,
|
|
27
|
-
ariaLabel = _ref['aria-label'],
|
|
28
|
-
ariaLabelledby = _ref['aria-labelledby'],
|
|
29
|
-
ariaDescribedby = _ref['aria-describedby'],
|
|
30
|
-
children = _ref.children,
|
|
31
|
-
id = _ref.id;
|
|
32
|
-
var className = (0, _class_names.default)('Container--Inner', _modifierClass);
|
|
33
|
-
return _react.default.createElement("div", {
|
|
34
|
-
"aria-label": ariaLabel,
|
|
35
|
-
"aria-labelledby": ariaLabelledby,
|
|
36
|
-
"aria-describedby": ariaDescribedby,
|
|
37
|
-
className: className,
|
|
38
|
-
id: id
|
|
39
|
-
}, children);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
ContainerInner.propTypes = propTypes;
|
|
43
|
-
ContainerInner.__docgenInfo = {
|
|
44
|
-
"description": "",
|
|
45
|
-
"methods": [],
|
|
46
|
-
"displayName": "ContainerInner",
|
|
47
|
-
"props": {
|
|
48
|
-
"_modifierClass": {
|
|
49
|
-
"type": {
|
|
50
|
-
"name": "string"
|
|
51
|
-
},
|
|
52
|
-
"required": false,
|
|
53
|
-
"description": ""
|
|
54
|
-
},
|
|
55
|
-
"aria-label": {
|
|
56
|
-
"type": {
|
|
57
|
-
"name": "string"
|
|
58
|
-
},
|
|
59
|
-
"required": false,
|
|
60
|
-
"description": ""
|
|
61
|
-
},
|
|
62
|
-
"aria-labelledby": {
|
|
63
|
-
"type": {
|
|
64
|
-
"name": "string"
|
|
65
|
-
},
|
|
66
|
-
"required": false,
|
|
67
|
-
"description": ""
|
|
68
|
-
},
|
|
69
|
-
"aria-describedby": {
|
|
70
|
-
"type": {
|
|
71
|
-
"name": "string"
|
|
72
|
-
},
|
|
73
|
-
"required": false,
|
|
74
|
-
"description": ""
|
|
75
|
-
},
|
|
76
|
-
"children": {
|
|
77
|
-
"type": {
|
|
78
|
-
"name": "node"
|
|
79
|
-
},
|
|
80
|
-
"required": true,
|
|
81
|
-
"description": ""
|
|
82
|
-
},
|
|
83
|
-
"id": {
|
|
84
|
-
"type": {
|
|
85
|
-
"name": "string"
|
|
86
|
-
},
|
|
87
|
-
"required": false,
|
|
88
|
-
"description": ""
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
};
|
|
92
|
-
var _default = ContainerInner;
|
|
93
|
-
exports.default = _default;
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
|
|
8
|
-
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
|
|
10
|
-
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
11
|
-
|
|
12
|
-
var _class_names = _interopRequireDefault(require("../utils/class_names"));
|
|
13
|
-
|
|
14
|
-
var _refs = require("../utils/refs");
|
|
15
|
-
|
|
16
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
17
|
-
|
|
18
|
-
var propTypes = {
|
|
19
|
-
_modifierClass: _propTypes.default.string,
|
|
20
|
-
'aria-label': _propTypes.default.string,
|
|
21
|
-
'aria-labelledby': _propTypes.default.string,
|
|
22
|
-
'aria-describedby': _propTypes.default.string,
|
|
23
|
-
children: _propTypes.default.node.isRequired,
|
|
24
|
-
getRef: _refs.getRefPropType,
|
|
25
|
-
id: _propTypes.default.string
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
function Controls(_ref) {
|
|
29
|
-
var _modifierClass = _ref._modifierClass,
|
|
30
|
-
ariaLabel = _ref['aria-label'],
|
|
31
|
-
ariaLabelledby = _ref['aria-labelledby'],
|
|
32
|
-
ariaDescribedby = _ref['aria-describedby'],
|
|
33
|
-
children = _ref.children,
|
|
34
|
-
getRef = _ref.getRef,
|
|
35
|
-
id = _ref.id;
|
|
36
|
-
var className = (0, _class_names.default)('control-buttons', _modifierClass);
|
|
37
|
-
return _react.default.createElement("div", {
|
|
38
|
-
"aria-label": ariaLabel,
|
|
39
|
-
"aria-labelledby": ariaLabelledby,
|
|
40
|
-
"aria-describedby": ariaDescribedby,
|
|
41
|
-
className: className,
|
|
42
|
-
id: id,
|
|
43
|
-
ref: getRef
|
|
44
|
-
}, children);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
Controls.propTypes = propTypes;
|
|
48
|
-
Controls.__docgenInfo = {
|
|
49
|
-
"description": "",
|
|
50
|
-
"methods": [],
|
|
51
|
-
"displayName": "Controls",
|
|
52
|
-
"props": {
|
|
53
|
-
"_modifierClass": {
|
|
54
|
-
"type": {
|
|
55
|
-
"name": "string"
|
|
56
|
-
},
|
|
57
|
-
"required": false,
|
|
58
|
-
"description": ""
|
|
59
|
-
},
|
|
60
|
-
"aria-label": {
|
|
61
|
-
"type": {
|
|
62
|
-
"name": "string"
|
|
63
|
-
},
|
|
64
|
-
"required": false,
|
|
65
|
-
"description": ""
|
|
66
|
-
},
|
|
67
|
-
"aria-labelledby": {
|
|
68
|
-
"type": {
|
|
69
|
-
"name": "string"
|
|
70
|
-
},
|
|
71
|
-
"required": false,
|
|
72
|
-
"description": ""
|
|
73
|
-
},
|
|
74
|
-
"aria-describedby": {
|
|
75
|
-
"type": {
|
|
76
|
-
"name": "string"
|
|
77
|
-
},
|
|
78
|
-
"required": false,
|
|
79
|
-
"description": ""
|
|
80
|
-
},
|
|
81
|
-
"children": {
|
|
82
|
-
"type": {
|
|
83
|
-
"name": "node"
|
|
84
|
-
},
|
|
85
|
-
"required": true,
|
|
86
|
-
"description": ""
|
|
87
|
-
},
|
|
88
|
-
"getRef": {
|
|
89
|
-
"type": {
|
|
90
|
-
"name": "custom",
|
|
91
|
-
"raw": "getRefPropType"
|
|
92
|
-
},
|
|
93
|
-
"required": false,
|
|
94
|
-
"description": ""
|
|
95
|
-
},
|
|
96
|
-
"id": {
|
|
97
|
-
"type": {
|
|
98
|
-
"name": "string"
|
|
99
|
-
},
|
|
100
|
-
"required": false,
|
|
101
|
-
"description": ""
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
};
|
|
105
|
-
var _default = Controls;
|
|
106
|
-
exports.default = _default;
|
package/styles/_mixins.scss
DELETED
|
@@ -1,134 +0,0 @@
|
|
|
1
|
-
@import 'variables';
|
|
2
|
-
|
|
3
|
-
// == BORDERS == //
|
|
4
|
-
|
|
5
|
-
@mixin border($border-width: 1px, $border-color: var(--color--gray-4)) {
|
|
6
|
-
border: $border-width solid $border-color;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
@mixin border-b($border-width: 1px, $border-color: var(--color--gray-4)) {
|
|
10
|
-
border-bottom: $border-width solid $border-color;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
@mixin border-l($border-width: 1px, $border-color: var(--color--gray-4)) {
|
|
14
|
-
border-left: $border-width solid $border-color;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
@mixin border-r($border-width: 1px, $border-color: var(--color--gray-4)) {
|
|
18
|
-
border-right: $border-width solid $border-color;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
@mixin border-t($border-width: 1px, $border-color: var(--color--gray-4)) {
|
|
22
|
-
border-top: $border-width solid $border-color;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
// == BORDER RADII == //
|
|
26
|
-
|
|
27
|
-
@mixin rounded($radius: var(--radius--med)) {
|
|
28
|
-
border-radius: $radius;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
@mixin rounded-bottom($radius: var(--radius--med)) {
|
|
32
|
-
border-radius: 0 0 $radius $radius;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
@mixin rounded-left($radius: var(--radius--med)) {
|
|
36
|
-
border-radius: $radius 0 0 $radius;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
@mixin rounded-right($radius: var(--radius--med)) {
|
|
40
|
-
border-radius: 0 $radius $radius 0;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
@mixin rounded-top($radius: var(--radius--med)) {
|
|
44
|
-
border-radius: $radius $radius 0 0;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
// == COLLAPSIBLE == //
|
|
48
|
-
|
|
49
|
-
@mixin collapsible($max-height: 100em) {
|
|
50
|
-
max-height: $max-height;
|
|
51
|
-
opacity: 1;
|
|
52
|
-
overflow: hidden;
|
|
53
|
-
transition-duration: $timing--fade;
|
|
54
|
-
transition-property: max-height, opacity;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
@mixin collapsible-collapsed {
|
|
58
|
-
max-height: 0;
|
|
59
|
-
opacity: 0;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
// == COLORS == //
|
|
63
|
-
|
|
64
|
-
@mixin link-part-color($partNumber) {
|
|
65
|
-
background-color: nth($part-colors, $partNumber + 1);
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
// == CONTAINER == //
|
|
69
|
-
|
|
70
|
-
@mixin container($max: auto) {
|
|
71
|
-
background-color: $color--invert;
|
|
72
|
-
border-radius: $radius--med;
|
|
73
|
-
box-shadow: $shadow--s;
|
|
74
|
-
max-width: $max;
|
|
75
|
-
padding: $space--base 0;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
@mixin container-hidden {
|
|
79
|
-
opacity: 0;
|
|
80
|
-
position: absolute;
|
|
81
|
-
top: 0;
|
|
82
|
-
visibility: hidden;
|
|
83
|
-
width: 100%;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
// == GRID == //
|
|
87
|
-
|
|
88
|
-
@mixin gutter($gutter-size: $space--m) {
|
|
89
|
-
.row {
|
|
90
|
-
@media (min-width: 30em) {
|
|
91
|
-
margin-left: -$gutter-size;
|
|
92
|
-
margin-right: -$gutter-size;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
[class^="column"] {
|
|
96
|
-
@media (min-width: 30em) {
|
|
97
|
-
padding-left: $gutter-size;
|
|
98
|
-
padding-right: $gutter-size;
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
@mixin vert {
|
|
105
|
-
vertical-align: middle;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
// == LINKS == //
|
|
109
|
-
|
|
110
|
-
@mixin a--color ($color: $color--dscout) {
|
|
111
|
-
border-bottom-color: rgba($color, .3);
|
|
112
|
-
color: $color;
|
|
113
|
-
|
|
114
|
-
&:hover {
|
|
115
|
-
border-bottom-color: rgba(mix(black, $color, 20%), .6);
|
|
116
|
-
color: mix(black, $color, 20%);
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
@mixin a--no-style {
|
|
121
|
-
border-bottom: none;
|
|
122
|
-
|
|
123
|
-
&:hover {
|
|
124
|
-
border-bottom: none;
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
// == VERTICAL ALIGN == //
|
|
129
|
-
|
|
130
|
-
@mixin vertical-align($position: relative) {
|
|
131
|
-
position: $position;
|
|
132
|
-
top: 50%;
|
|
133
|
-
transform: translateY(-50%);
|
|
134
|
-
}
|
package/styles/_tables.scss
DELETED
|
@@ -1,138 +0,0 @@
|
|
|
1
|
-
@import 'variables';
|
|
2
|
-
|
|
3
|
-
/*
|
|
4
|
-
@styleguide
|
|
5
|
-
@title Tables
|
|
6
|
-
|
|
7
|
-
Tables are implicitly styled.
|
|
8
|
-
|
|
9
|
-
<table>
|
|
10
|
-
<thead>
|
|
11
|
-
<tr>
|
|
12
|
-
<th>Heading 1</th>
|
|
13
|
-
<th>Heading 2</th>
|
|
14
|
-
</tr>
|
|
15
|
-
</thead>
|
|
16
|
-
<tbody>
|
|
17
|
-
<tr>
|
|
18
|
-
<td>Row 1, Cell 1</td>
|
|
19
|
-
<td>Row 1, Cell 2</td>
|
|
20
|
-
</tr>
|
|
21
|
-
<tr>
|
|
22
|
-
<td>Row 1, Cell 1</td>
|
|
23
|
-
<td>Row 1, Cell 2</td>
|
|
24
|
-
</tr>
|
|
25
|
-
</tbody>
|
|
26
|
-
</table>
|
|
27
|
-
|
|
28
|
-
<table>
|
|
29
|
-
<thead>
|
|
30
|
-
<tr>
|
|
31
|
-
<th>Heading 1</th>
|
|
32
|
-
<th>Heading 2</th>
|
|
33
|
-
</tr>
|
|
34
|
-
</thead>
|
|
35
|
-
<tbody>
|
|
36
|
-
<tr>
|
|
37
|
-
<td>Row 1, Cell 1</td>
|
|
38
|
-
<td>Row 1, Cell 2</td>
|
|
39
|
-
</tr>
|
|
40
|
-
<tr>
|
|
41
|
-
<td>Row 1, Cell 1</td>
|
|
42
|
-
<td>Row 1, Cell 2</td>
|
|
43
|
-
</tr>
|
|
44
|
-
</tbody>
|
|
45
|
-
</table>
|
|
46
|
-
|
|
47
|
-
A table row can be marked as "selected":
|
|
48
|
-
|
|
49
|
-
<table>
|
|
50
|
-
<thead>
|
|
51
|
-
<tr>
|
|
52
|
-
<th>Heading 1</th>
|
|
53
|
-
<th>Heading 2</th>
|
|
54
|
-
</tr>
|
|
55
|
-
</thead>
|
|
56
|
-
<tbody>
|
|
57
|
-
<tr>
|
|
58
|
-
<td>Row 1, Cell 1</td>
|
|
59
|
-
<td>Row 1, Cell 2</td>
|
|
60
|
-
</tr>
|
|
61
|
-
<tr class="selected">
|
|
62
|
-
<td>Row 1, Cell 1</td>
|
|
63
|
-
<td>Row 1, Cell 2</td>
|
|
64
|
-
</tr>
|
|
65
|
-
</tbody>
|
|
66
|
-
</table>
|
|
67
|
-
|
|
68
|
-
<table>
|
|
69
|
-
<thead>
|
|
70
|
-
<tr>
|
|
71
|
-
<th>Heading 1</th>
|
|
72
|
-
<th>Heading 2</th>
|
|
73
|
-
</tr>
|
|
74
|
-
</thead>
|
|
75
|
-
<tbody>
|
|
76
|
-
<tr>
|
|
77
|
-
<td>Row 1, Cell 1</td>
|
|
78
|
-
<td>Row 1, Cell 2</td>
|
|
79
|
-
</tr>
|
|
80
|
-
<tr class="selected">
|
|
81
|
-
<td>Row 1, Cell 1</td>
|
|
82
|
-
<td>Row 1, Cell 2</td>
|
|
83
|
-
</tr>
|
|
84
|
-
</tbody>
|
|
85
|
-
</table>
|
|
86
|
-
*/
|
|
87
|
-
|
|
88
|
-
table {
|
|
89
|
-
border-collapse: collapse;
|
|
90
|
-
border-color: $color--faint;
|
|
91
|
-
border-spacing: $space--s;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
td, th {
|
|
95
|
-
font-weight: normal;
|
|
96
|
-
padding: $space--s;
|
|
97
|
-
text-align: left;
|
|
98
|
-
|
|
99
|
-
&:first-child {
|
|
100
|
-
padding-left: $space--base;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
&:last-child {
|
|
104
|
-
padding-right: $space--base;
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
tr {
|
|
109
|
-
@include border-b;
|
|
110
|
-
border-color: $color--faint;
|
|
111
|
-
transition: background $timing--hover;
|
|
112
|
-
|
|
113
|
-
&:last-child {
|
|
114
|
-
border-bottom: none;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
&:hover {
|
|
118
|
-
background-color: rgba($color--main, .03);
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
thead > tr {
|
|
123
|
-
background-color: transparent !important;
|
|
124
|
-
border-color: $color--faint;
|
|
125
|
-
|
|
126
|
-
&:last-child {
|
|
127
|
-
@include border-b;
|
|
128
|
-
border-color: $color--faint;
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
caption {
|
|
133
|
-
padding: $space--s $space--base;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
tr.selected {
|
|
137
|
-
background-color: $color--faint;
|
|
138
|
-
}
|