cm-admin 1.5.48 → 1.5.49
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.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e8b93ddf37f6e38e2941258922c9717f51376d2950759b4822aed030c6b90d20
|
4
|
+
data.tar.gz: 45da70fe84a3cbdbf3edac26d7d55d276fb93057cbaa6a408f91d5e960e8090e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3e9f9eb33d0109f203fecef632fe6d42599cc2932a1a6dda8b1671742009c21faf69cdd9037c8406ca62582b6ad69dae95561aee88326d8051a61e348d6e0e37
|
7
|
+
data.tar.gz: 7c00620c3ff14846ab2371bab8c9a3873d558f01925ea0d22074cd2ce4259389f88e8a23fc0b02fd32174c0e3f9213ad0d1418a31b6cd03515f4a028e8f49bff
|
data/Gemfile.lock
CHANGED
@@ -23,12 +23,27 @@
|
|
23
23
|
cursor: pointer;
|
24
24
|
}
|
25
25
|
}
|
26
|
+
|
26
27
|
.search-results-container {
|
27
28
|
margin: 16px 0;
|
28
29
|
.result-item {
|
30
|
+
@include flex($align:center);
|
29
31
|
padding: 8px 16px;
|
30
32
|
font-size: $t4-text;
|
31
|
-
line-height: 22px;
|
33
|
+
line-height: 22px;
|
34
|
+
.result-text {
|
35
|
+
display: flex;
|
36
|
+
span {
|
37
|
+
margin: 0;
|
38
|
+
}
|
39
|
+
}
|
40
|
+
.result-icon {
|
41
|
+
@include flex($justify:center, $align:center);
|
42
|
+
svg {
|
43
|
+
width: 16px;
|
44
|
+
height: 16px;
|
45
|
+
}
|
46
|
+
}
|
32
47
|
span:nth-child(1) {
|
33
48
|
color: $grey-dark-clr;
|
34
49
|
}
|
@@ -38,6 +53,7 @@
|
|
38
53
|
}
|
39
54
|
}
|
40
55
|
}
|
56
|
+
|
41
57
|
.results-action {
|
42
58
|
display: flex;
|
43
59
|
align-items: center;
|
@@ -49,11 +49,19 @@
|
|
49
49
|
overflow-y: auto;
|
50
50
|
.menu-item {
|
51
51
|
@include font($size: $t4-text, $color: $ink-lightest-clr);
|
52
|
+
@include flex($align:center);
|
52
53
|
padding: 8px 24px;
|
53
54
|
transition: all 0.2s linear;
|
54
55
|
cursor: pointer;
|
55
56
|
.menu-icon {
|
57
|
+
@include flex($justify:center, $align:center);
|
58
|
+
height: 16px;
|
59
|
+
width: 16px;
|
56
60
|
margin-right: 8px;
|
61
|
+
svg {
|
62
|
+
width: 100%;
|
63
|
+
height: 100%;
|
64
|
+
}
|
57
65
|
}
|
58
66
|
.list-arrow {
|
59
67
|
font-size: 10px;
|
@@ -65,7 +73,6 @@
|
|
65
73
|
background: rgba(255, 255, 255, 0.1);
|
66
74
|
}
|
67
75
|
}
|
68
|
-
|
69
76
|
.menu-sub-list {
|
70
77
|
.menu-sub-item {
|
71
78
|
@include font($size: $t4-text, $color: $ink-lightest-clr);
|
data/lib/cm_admin/version.rb
CHANGED
@@ -13,7 +13,7 @@ module CmAdmin
|
|
13
13
|
content_tag(:a, href: path) do
|
14
14
|
content_tag(:div, class: 'menu-item') do
|
15
15
|
content_tag(:span, class: 'menu-icon') do
|
16
|
-
concat tag.i class:
|
16
|
+
concat tag.i class: model.icon_name.to_s
|
17
17
|
end +
|
18
18
|
model.model_name.titleize.pluralize
|
19
19
|
end
|
@@ -21,12 +21,14 @@ module CmAdmin
|
|
21
21
|
elsif navigation_type == 'quick_links'
|
22
22
|
content_tag(:a, href: path, class: 'visible') do
|
23
23
|
content_tag(:div, class: 'result-item') do
|
24
|
-
content_tag(:
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
24
|
+
content_tag(:div, class: 'result-text') do
|
25
|
+
content_tag(:span, class: 'result-icon') do
|
26
|
+
concat tag.i class: model.icon_name.to_s
|
27
|
+
end +
|
28
|
+
content_tag(:span) do
|
29
|
+
model.model_name.titleize.pluralize
|
30
|
+
end
|
31
|
+
end
|
30
32
|
end
|
31
33
|
end
|
32
34
|
end
|