administrate 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of administrate might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/app/assets/images/administrate/search.svg +2 -2
- data/app/assets/images/administrate/sort_arrow.svg +1 -1
- data/app/assets/javascripts/administrate/components/has_many_form.js +1 -1
- data/app/assets/stylesheets/administrate/application.scss +3 -8
- data/app/assets/stylesheets/administrate/base/_forms.scss +56 -44
- data/app/assets/stylesheets/administrate/base/_layout.scss +20 -0
- data/app/assets/stylesheets/administrate/base/_lists.scss +9 -21
- data/app/assets/stylesheets/administrate/base/_tables.scss +9 -6
- data/app/assets/stylesheets/administrate/base/_typography.scss +12 -57
- data/app/assets/stylesheets/administrate/components/_app-container.scss +7 -0
- data/app/assets/stylesheets/administrate/components/_attributes.scss +1 -1
- data/app/assets/stylesheets/administrate/components/_buttons.scss +36 -0
- data/app/assets/stylesheets/administrate/components/_cells.scss +31 -37
- data/app/assets/stylesheets/administrate/components/_field-unit.scss +17 -0
- data/app/assets/stylesheets/administrate/components/_flashes.scss +16 -0
- data/app/assets/stylesheets/administrate/components/_form-actions.scss +3 -0
- data/app/assets/stylesheets/administrate/components/_header.scss +9 -8
- data/app/assets/stylesheets/administrate/components/_main-content.scss +6 -0
- data/app/assets/stylesheets/administrate/components/_pagination.scss +3 -2
- data/app/assets/stylesheets/administrate/components/_search.scss +9 -10
- data/app/assets/stylesheets/administrate/components/_sidebar.scss +22 -0
- data/app/assets/stylesheets/administrate/components/_table.scss +7 -3
- data/app/assets/stylesheets/administrate/{mixins → library}/_data_label.scss +2 -2
- data/app/assets/stylesheets/administrate/library/_variables.scss +57 -0
- data/app/assets/stylesheets/docs.scss +92 -0
- data/app/controllers/administrate/application_controller.rb +4 -3
- data/app/controllers/docs_controller.rb +9 -0
- data/app/helpers/administrate/application_helper.rb +16 -0
- data/app/views/administrate/application/_collection.html.erb +17 -12
- data/app/views/administrate/application/_flashes.html.erb +1 -1
- data/app/views/administrate/application/_form.html.erb +6 -8
- data/app/views/administrate/application/_sidebar.html.erb +1 -1
- data/app/views/administrate/application/edit.html.erb +3 -3
- data/app/views/administrate/application/index.html.erb +7 -6
- data/app/views/administrate/application/new.html.erb +2 -2
- data/app/views/administrate/application/show.html.erb +3 -3
- data/app/views/fields/belongs_to/_form.html.erb +8 -4
- data/app/views/fields/belongs_to/_index.html.erb +1 -1
- data/app/views/fields/belongs_to/_show.html.erb +1 -1
- data/app/views/fields/boolean/_form.html.erb +6 -2
- data/app/views/fields/date_time/_form.html.erb +6 -2
- data/app/views/fields/email/_form.html.erb +6 -2
- data/app/views/fields/has_many/_form.html.erb +8 -5
- data/app/views/fields/has_one/_form.html.erb +3 -1
- data/app/views/fields/has_one/_index.html.erb +1 -1
- data/app/views/fields/has_one/_show.html.erb +1 -1
- data/app/views/fields/image/_form.html.erb +6 -2
- data/app/views/fields/number/_form.html.erb +6 -2
- data/app/views/fields/polymorphic/_form.html.erb +3 -1
- data/app/views/fields/polymorphic/_index.html.erb +1 -1
- data/app/views/fields/polymorphic/_show.html.erb +1 -1
- data/app/views/fields/string/_form.html.erb +6 -2
- data/app/views/fields/text/_form.html.erb +6 -2
- data/app/views/layouts/administrate/application.html.erb +11 -11
- data/app/views/layouts/docs.html.erb +39 -0
- data/config/locales/administrate.de.yml +2 -2
- data/config/locales/administrate.it.yml +23 -0
- data/config/locales/administrate.uk.yml +23 -0
- data/lib/administrate/engine.rb +2 -2
- data/lib/administrate/fields/deferred.rb +3 -1
- data/lib/administrate/generator_helpers.rb +13 -0
- data/lib/administrate/resource_resolver.rb +5 -3
- data/lib/administrate/search.rb +3 -0
- data/lib/administrate/version.rb +1 -1
- data/lib/administrate/view_generator.rb +3 -0
- data/lib/generators/administrate/assets/assets_generator.rb +13 -0
- data/lib/generators/administrate/assets/images_generator.rb +17 -0
- data/lib/generators/administrate/assets/javascripts_generator.rb +17 -0
- data/lib/generators/administrate/assets/stylesheets_generator.rb +17 -0
- data/lib/generators/administrate/dashboard/USAGE +1 -1
- data/lib/generators/administrate/dashboard/dashboard_generator.rb +23 -4
- data/lib/generators/administrate/dashboard/templates/dashboard.rb.erb +7 -1
- data/lib/generators/administrate/install/install_generator.rb +17 -51
- data/lib/generators/administrate/manifest/manifest_generator.rb +65 -0
- data/lib/generators/administrate/{install → manifest}/templates/dashboard_manifest.rb.erb +0 -0
- data/lib/generators/administrate/views/layout_generator.rb +22 -0
- data/lib/generators/administrate/views/sidebar_generator.rb +15 -0
- data/lib/generators/administrate/views/views_generator.rb +4 -4
- metadata +28 -37
- data/app/assets/stylesheets/administrate/_sidebar.scss +0 -27
- data/app/assets/stylesheets/administrate/base/_base.scss +0 -24
- data/app/assets/stylesheets/administrate/base/_buttons.scss +0 -11
- data/app/assets/stylesheets/administrate/base/_grid-settings.scss +0 -15
- data/app/assets/stylesheets/administrate/base/_variables.scss +0 -106
- data/app/assets/stylesheets/administrate/base/extends/_button.scss +0 -23
- data/app/assets/stylesheets/administrate/base/extends/_clearfix.scss +0 -3
- data/app/assets/stylesheets/administrate/base/extends/_errors.scss +0 -11
- data/app/assets/stylesheets/administrate/base/extends/_flashes.scss +0 -34
- data/app/assets/stylesheets/administrate/base/extends/_hide-text.scss +0 -3
- data/app/assets/stylesheets/administrate/components/_components.scss +0 -8
- data/app/assets/stylesheets/administrate/components/_date_time_picker.scss +0 -3
- data/app/assets/stylesheets/administrate/components/_form.scss +0 -41
- data/app/assets/stylesheets/administrate/layout.scss +0 -29
- data/app/assets/stylesheets/administrate/mixins/_mixins.scss +0 -2
- data/app/assets/stylesheets/administrate/mixins/_shadow.scss +0 -35
- data/lib/administrate/namespace.rb +0 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: be86082070f80aad91eef0098bfd4eeabdc19e72
|
4
|
+
data.tar.gz: 974b398b126fa3a2a013037ca7fc8edebc2bb698
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b3dad40ff964f01b2e7f1bdcbca7344729d80697b9b9626b8d312909292606cc2ec5464c0dc6bc29d3cf2891493b1f7032f26fac0674aa7ea02f02f4e970b1b4
|
7
|
+
data.tar.gz: 5f631a841cc0212d8f0f693b257f69462768c5c53baeb4730d378b51d2fc4fdd2c76291624b191f8482f5f13b8c6b70fb3fa064938ffdf663081ad1148d494c0
|
@@ -1,6 +1,6 @@
|
|
1
|
-
<svg width="48" height="48" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">
|
1
|
+
<svg id="search" width="48" height="48" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">
|
2
2
|
<title>
|
3
3
|
search
|
4
4
|
</title>
|
5
|
-
<path d="M27.885 32.515c-2.864 1.966-6.333 3.116-10.07 3.116C7.976 35.63 0 27.656 0 17.817 0 7.976 7.976 0 17.816 0S35.63 7.976 35.63 17.816c0 3.736-1.15 7.205-3.115 10.07l14.53 14.53c1.278 1.277 1.275 3.352 0 4.628-1.28 1.278-3.353 1.278-4.63 0l-14.53-14.53zm-10.07-3.736c6.056 0 10.964-4.91 10.964-10.964 0-6.055-4.91-10.964-10.964-10.964-6.055 0-10.964 4.91-10.964 10.964 0 6.055 4.91 10.963 10.964 10.963z" fill
|
5
|
+
<path d="M27.885 32.515c-2.864 1.966-6.333 3.116-10.07 3.116C7.976 35.63 0 27.656 0 17.817 0 7.976 7.976 0 17.816 0S35.63 7.976 35.63 17.816c0 3.736-1.15 7.205-3.115 10.07l14.53 14.53c1.278 1.277 1.275 3.352 0 4.628-1.28 1.278-3.353 1.278-4.63 0l-14.53-14.53zm-10.07-3.736c6.056 0 10.964-4.91 10.964-10.964 0-6.055-4.91-10.964-10.964-10.964-6.055 0-10.964 4.91-10.964 10.964 0 6.055 4.91 10.963 10.964 10.963z" fill-rule="evenodd"/>
|
6
6
|
</svg>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<svg width="48" height="48" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">
|
1
|
+
<svg id="sort_arrow" width="48" height="48" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg">
|
2
2
|
<title>sort_arrow</title>
|
3
3
|
<path d="M2.988 33.02c-1.66 0-1.943-.81-.618-1.824l20-15.28c.878-.672 2.31-.67 3.188 0l20.075 15.288c1.316 1.003 1.048 1.816-.62 1.816H2.987z" />
|
4
4
|
</svg>
|
@@ -2,16 +2,11 @@
|
|
2
2
|
|
3
3
|
@import "normalize-rails";
|
4
4
|
@import "bourbon";
|
5
|
-
@import "base/grid-settings";
|
6
5
|
@import "neat";
|
7
6
|
|
8
7
|
@import "selectize";
|
9
8
|
@import "datetime_picker";
|
10
9
|
|
11
|
-
@import "
|
12
|
-
@import "base
|
13
|
-
|
14
|
-
@import "layout";
|
15
|
-
@import "sidebar";
|
16
|
-
|
17
|
-
@import "components/components";
|
10
|
+
@import "library/**/*";
|
11
|
+
@import "base/**/*";
|
12
|
+
@import "components/**/*";
|
@@ -1,58 +1,73 @@
|
|
1
1
|
fieldset {
|
2
|
-
background
|
3
|
-
border:
|
4
|
-
margin: 0
|
5
|
-
padding:
|
2
|
+
background-color: transparent;
|
3
|
+
border: 0;
|
4
|
+
margin: 0;
|
5
|
+
padding: 0;
|
6
6
|
}
|
7
7
|
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
font-family: $form-font-family;
|
13
|
-
font-size: $form-font-size;
|
8
|
+
legend {
|
9
|
+
font-weight: $bold-font-weight;
|
10
|
+
margin-bottom: $small-spacing / 2;
|
11
|
+
padding: 0;
|
14
12
|
}
|
15
13
|
|
16
14
|
label {
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
&.required:after {
|
21
|
-
content: "*";
|
22
|
-
}
|
15
|
+
display: block;
|
16
|
+
font-weight: $bold-font-weight;
|
17
|
+
}
|
23
18
|
|
24
|
-
|
25
|
-
|
26
|
-
|
19
|
+
input,
|
20
|
+
select {
|
21
|
+
display: block;
|
22
|
+
font-family: $base-font-family;
|
23
|
+
font-size: $base-font-size;
|
27
24
|
}
|
28
25
|
|
26
|
+
[type="color"],
|
27
|
+
[type="date"],
|
28
|
+
[type="datetime"],
|
29
|
+
[type="datetime-local"],
|
30
|
+
[type="email"],
|
31
|
+
[type="month"],
|
32
|
+
[type="number"],
|
33
|
+
[type="password"],
|
34
|
+
[type="search"],
|
35
|
+
[type="tel"],
|
36
|
+
[type="text"],
|
37
|
+
[type="time"],
|
38
|
+
[type="url"],
|
39
|
+
[type="week"],
|
40
|
+
input:not([type]),
|
29
41
|
textarea,
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
border-radius: $
|
34
|
-
|
35
|
-
box-shadow: $form-box-shadow;
|
42
|
+
select[multiple] {
|
43
|
+
background-color: $white;
|
44
|
+
border: $base-border;
|
45
|
+
border-radius: $base-border-radius;
|
46
|
+
box-shadow: none;
|
36
47
|
box-sizing: border-box;
|
37
|
-
font-family: $
|
38
|
-
font-size: $
|
39
|
-
|
40
|
-
|
41
|
-
transition: border-color;
|
48
|
+
font-family: $base-font-family;
|
49
|
+
font-size: $base-font-size;
|
50
|
+
padding: $base-spacing / 3;
|
51
|
+
transition: border-color $base-duration $base-timing;
|
42
52
|
width: 100%;
|
43
53
|
|
44
54
|
&:hover {
|
45
|
-
border-color: $
|
55
|
+
border-color: shade($base-border-color, 20%);
|
46
56
|
}
|
47
57
|
|
48
58
|
&:focus {
|
49
|
-
border-color: $
|
50
|
-
box-shadow:
|
59
|
+
border-color: $action-color;
|
60
|
+
box-shadow: none;
|
51
61
|
outline: none;
|
52
62
|
}
|
53
63
|
|
54
|
-
|
55
|
-
color: $
|
64
|
+
&:disabled {
|
65
|
+
background-color: shade($base-background-color, 5%);
|
66
|
+
cursor: not-allowed;
|
67
|
+
|
68
|
+
&:hover {
|
69
|
+
border: $base-border;
|
70
|
+
}
|
56
71
|
}
|
57
72
|
}
|
58
73
|
|
@@ -60,23 +75,20 @@ textarea {
|
|
60
75
|
resize: vertical;
|
61
76
|
}
|
62
77
|
|
63
|
-
|
78
|
+
[type="search"] {
|
64
79
|
appearance: none;
|
65
80
|
}
|
66
81
|
|
67
|
-
|
68
|
-
|
82
|
+
[type="checkbox"],
|
83
|
+
[type="radio"] {
|
69
84
|
display: inline;
|
70
|
-
margin-right: $
|
85
|
+
margin-right: $small-spacing / 2;
|
71
86
|
}
|
72
87
|
|
73
|
-
|
74
|
-
padding-bottom: $base-spacing / 2;
|
88
|
+
[type="file"] {
|
75
89
|
width: 100%;
|
76
90
|
}
|
77
91
|
|
78
92
|
select {
|
79
|
-
|
80
|
-
background: image-url("administrate/dropdown.svg") no-repeat 97% 50% / 10px;
|
81
|
-
margin-bottom: $base-spacing;
|
93
|
+
width: 100%;
|
82
94
|
}
|
@@ -1,31 +1,19 @@
|
|
1
1
|
ul,
|
2
2
|
ol {
|
3
|
+
list-style-type: none;
|
3
4
|
margin: 0;
|
4
5
|
padding: 0;
|
5
|
-
list-style-type: none;
|
6
|
-
|
7
|
-
&%default-ul {
|
8
|
-
list-style-type: disc;
|
9
|
-
margin-bottom: $base-spacing / 2;
|
10
|
-
padding-left: $base-spacing;
|
11
|
-
}
|
12
|
-
|
13
|
-
&%default-ol {
|
14
|
-
list-style-type: decimal;
|
15
|
-
margin-bottom: $base-spacing / 2;
|
16
|
-
padding-left: $base-spacing;
|
17
|
-
}
|
18
6
|
}
|
19
7
|
|
20
8
|
dl {
|
21
|
-
margin-bottom: $
|
22
|
-
}
|
9
|
+
margin-bottom: $small-spacing;
|
23
10
|
|
24
|
-
dt {
|
25
|
-
|
26
|
-
|
27
|
-
}
|
11
|
+
dt {
|
12
|
+
font-weight: $bold-font-weight;
|
13
|
+
margin-top: $small-spacing;
|
14
|
+
}
|
28
15
|
|
29
|
-
dd {
|
30
|
-
|
16
|
+
dd {
|
17
|
+
margin: 0;
|
18
|
+
}
|
31
19
|
}
|
@@ -3,20 +3,23 @@ table {
|
|
3
3
|
width: 100%;
|
4
4
|
}
|
5
5
|
|
6
|
+
th {
|
7
|
+
border-bottom: 1px solid shade($base-border-color, 25%);
|
8
|
+
text-align: left;
|
9
|
+
}
|
10
|
+
|
6
11
|
th,
|
7
12
|
td {
|
8
13
|
padding: $small-spacing;
|
9
14
|
vertical-align: middle;
|
10
15
|
}
|
11
16
|
|
12
|
-
th {
|
13
|
-
border-bottom: $dark-border;
|
14
|
-
padding-top: 0;
|
15
|
-
text-align: left;
|
16
|
-
}
|
17
|
-
|
18
17
|
td {
|
19
18
|
border-bottom: $base-border;
|
19
|
+
font-feature-settings: "kern", "liga", "clig", "calt", "lnum", "tnum";
|
20
|
+
font-kerning: normal;
|
21
|
+
font-variant-ligatures: common-ligatures, contextual;
|
22
|
+
font-variant-numeric: lining-nums, tabular-nums;
|
20
23
|
overflow: hidden;
|
21
24
|
text-overflow: ellipsis;
|
22
25
|
white-space: nowrap;
|
@@ -1,5 +1,4 @@
|
|
1
1
|
body {
|
2
|
-
-webkit-font-smoothing: antialiased;
|
3
2
|
color: $base-font-color;
|
4
3
|
font-family: $base-font-family;
|
5
4
|
font-size: $base-font-size;
|
@@ -12,76 +11,32 @@ h3,
|
|
12
11
|
h4,
|
13
12
|
h5,
|
14
13
|
h6 {
|
15
|
-
font-family: $
|
16
|
-
|
14
|
+
font-family: $heading-font-family;
|
15
|
+
font-size: $base-font-size;
|
16
|
+
line-height: $heading-line-height;
|
17
17
|
margin: 0;
|
18
|
-
text-rendering: optimizeLegibility; // Fix the character spacing for headings
|
19
|
-
}
|
20
|
-
|
21
|
-
h1 {
|
22
|
-
font-size: $h1-font-size;
|
23
|
-
}
|
24
|
-
|
25
|
-
h2 {
|
26
|
-
font-size: $h2-font-size;
|
27
|
-
}
|
28
|
-
|
29
|
-
h3 {
|
30
|
-
font-size: $h3-font-size;
|
31
|
-
}
|
32
|
-
|
33
|
-
h4 {
|
34
|
-
font-size: $h4-font-size;
|
35
|
-
}
|
36
|
-
|
37
|
-
h5 {
|
38
|
-
font-size: $h5-font-size;
|
39
|
-
}
|
40
|
-
|
41
|
-
h6 {
|
42
|
-
font-size: $h6-font-size;
|
43
18
|
}
|
44
19
|
|
45
20
|
p {
|
46
|
-
margin: 0 0
|
21
|
+
margin: 0 0 $small-spacing;
|
47
22
|
}
|
48
23
|
|
49
24
|
a {
|
50
|
-
color: $
|
25
|
+
color: $action-color;
|
51
26
|
text-decoration: none;
|
52
|
-
transition: color
|
27
|
+
transition: color $base-duration $base-timing;
|
53
28
|
|
29
|
+
&:active,
|
30
|
+
&:focus,
|
54
31
|
&:hover {
|
55
|
-
color: $
|
32
|
+
color: shade($action-color, 25%);
|
56
33
|
}
|
57
34
|
}
|
58
35
|
|
59
36
|
hr {
|
60
37
|
border-bottom: $base-border;
|
61
|
-
border-left:
|
62
|
-
border-right:
|
63
|
-
border-top:
|
64
|
-
margin: $base-spacing 0;
|
65
|
-
}
|
66
|
-
|
67
|
-
img,
|
68
|
-
picture {
|
69
|
-
margin: 0;
|
70
|
-
max-width: 100%;
|
71
|
-
}
|
72
|
-
|
73
|
-
blockquote {
|
74
|
-
border-left: 2px solid $base-border-color;
|
75
|
-
color: lighten($base-font-color, 15);
|
38
|
+
border-left: 0;
|
39
|
+
border-right: 0;
|
40
|
+
border-top: 0;
|
76
41
|
margin: $base-spacing 0;
|
77
|
-
padding-left: $base-spacing / 2;
|
78
|
-
}
|
79
|
-
|
80
|
-
cite {
|
81
|
-
color: lighten($base-font-color, 25);
|
82
|
-
font-style: italic;
|
83
|
-
|
84
|
-
&:before {
|
85
|
-
content: "\2014 \00A0";
|
86
|
-
}
|
87
42
|
}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
#{$all-buttons},
|
2
|
+
.button {
|
3
|
+
appearance: none;
|
4
|
+
background-color: $action-color;
|
5
|
+
border: 0;
|
6
|
+
border-radius: $base-border-radius;
|
7
|
+
color: $white;
|
8
|
+
cursor: pointer;
|
9
|
+
display: inline-block;
|
10
|
+
font-family: $base-font-family;
|
11
|
+
font-size: $base-font-size;
|
12
|
+
-webkit-font-smoothing: antialiased;
|
13
|
+
font-weight: $bold-font-weight;
|
14
|
+
line-height: 1;
|
15
|
+
padding: $small-spacing $base-spacing;
|
16
|
+
text-decoration: none;
|
17
|
+
transition: background-color $base-duration $base-timing;
|
18
|
+
user-select: none;
|
19
|
+
vertical-align: middle;
|
20
|
+
white-space: nowrap;
|
21
|
+
|
22
|
+
&:hover,
|
23
|
+
&:focus {
|
24
|
+
background-color: shade($action-color, 20%);
|
25
|
+
color: $white;
|
26
|
+
}
|
27
|
+
|
28
|
+
&:disabled {
|
29
|
+
cursor: not-allowed;
|
30
|
+
opacity: 0.5;
|
31
|
+
|
32
|
+
&:hover {
|
33
|
+
background-color: $action-color;
|
34
|
+
}
|
35
|
+
}
|
36
|
+
}
|
@@ -1,54 +1,48 @@
|
|
1
1
|
.cell-label {
|
2
2
|
@include data-label;
|
3
3
|
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
display: inline-block;
|
8
|
-
transition: $base-transition;
|
9
|
-
}
|
10
|
-
|
11
|
-
&--asc,
|
12
|
-
&--desc {
|
13
|
-
font-weight: bold;
|
14
|
-
}
|
15
|
-
|
16
|
-
&__sort-indicator {
|
17
|
-
display: inline-block;
|
18
|
-
height: 1em;
|
19
|
-
overflow: hidden;
|
20
|
-
position: absolute;
|
21
|
-
right: 0;
|
22
|
-
|
23
|
-
&--desc {
|
24
|
-
transform: rotate(180deg);
|
4
|
+
&:hover {
|
5
|
+
a {
|
6
|
+
color: $action-color;
|
25
7
|
}
|
26
8
|
|
27
9
|
svg {
|
28
|
-
|
29
|
-
|
30
|
-
}
|
31
|
-
|
32
|
-
path {
|
33
|
-
fill: $hint-grey;
|
10
|
+
fill: $action-color;
|
11
|
+
transform: rotate(180deg);
|
34
12
|
}
|
35
13
|
}
|
36
14
|
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
15
|
+
a {
|
16
|
+
@include fill-parent;
|
17
|
+
color: inherit;
|
18
|
+
display: inline-block;
|
19
|
+
transition: color $base-duration $base-timing;
|
20
|
+
}
|
21
|
+
}
|
41
22
|
|
42
|
-
|
43
|
-
|
44
|
-
|
23
|
+
.cell-label--asc,
|
24
|
+
.cell-label--desc {
|
25
|
+
font-weight: $bold-font-weight;
|
26
|
+
}
|
45
27
|
|
46
|
-
|
47
|
-
|
48
|
-
|
28
|
+
.cell-label__sort-indicator {
|
29
|
+
display: inline-block;
|
30
|
+
height: 1em;
|
31
|
+
overflow: hidden;
|
32
|
+
position: absolute;
|
33
|
+
right: 0;
|
34
|
+
|
35
|
+
svg {
|
36
|
+
height: 100%;
|
37
|
+
transition: transform $base-duration $base-timing;
|
38
|
+
fill: $hint-grey;
|
49
39
|
}
|
50
40
|
}
|
51
41
|
|
42
|
+
.cell-label__sort-indicator--desc {
|
43
|
+
transform: rotate(180deg);
|
44
|
+
}
|
45
|
+
|
52
46
|
.cell-data--number,
|
53
47
|
.cell-label--number {
|
54
48
|
text-align: right;
|