activeadmin_blaze_theme 0.5.6 → 0.5.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/fonts/icomoon.eot +0 -0
- data/app/assets/fonts/icomoon.svg +24 -0
- data/app/assets/fonts/icomoon.ttf +0 -0
- data/app/assets/fonts/icomoon.woff +0 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/icomoon.scss +68 -0
- data/app/assets/stylesheets/activeadmin_blaze_theme/theme.scss +15 -1
- data/lib/activeadmin_blaze_theme.rb +17 -0
- data/lib/activeadmin_blaze_theme/version.rb +1 -1
- metadata +7 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 96e0f4eda4fc536f0fa2c4da717efd6910d8824c
|
4
|
+
data.tar.gz: ea4ff7374ebd3f2310f3f9c96604c022c0d4ac36
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cbb314a102e508466b89548d4267cb1f8406dc0712119359e3a14d617fe7696d581765f09d01b5fbceabc12938afcd496d3dcfd07b0721376a84900ccbd9e067
|
7
|
+
data.tar.gz: 72596e95cefcc389810bfaf32ae03368241bd7779f9149ae04bd92efffbb7cebdfd311122d3d45247c313c50e8fb41ad2057cf8713210c0bf4e7c470556b9215
|
Binary file
|
@@ -0,0 +1,24 @@
|
|
1
|
+
<?xml version="1.0" standalone="no"?>
|
2
|
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
|
3
|
+
<svg xmlns="http://www.w3.org/2000/svg">
|
4
|
+
<metadata>Generated by IcoMoon</metadata>
|
5
|
+
<defs>
|
6
|
+
<font id="icomoon" horiz-adv-x="1024">
|
7
|
+
<font-face units-per-em="1024" ascent="960" descent="-64" />
|
8
|
+
<missing-glyph horiz-adv-x="1024" />
|
9
|
+
<glyph unicode=" " horiz-adv-x="512" d="" />
|
10
|
+
<glyph unicode="" glyph-name="pencil" d="M864 960c88.364 0 160-71.634 160-160 0-36.020-11.91-69.258-32-96l-64-64-224 224 64 64c26.742 20.090 59.978 32 96 32zM64 224l-64-288 288 64 592 592-224 224-592-592zM715.578 596.422l-448-448-55.156 55.156 448 448 55.156-55.156z" />
|
11
|
+
<glyph unicode="" glyph-name="file-text2" d="M917.806 730.924c-22.212 30.292-53.174 65.7-87.178 99.704s-69.412 64.964-99.704 87.178c-51.574 37.82-76.592 42.194-90.924 42.194h-496c-44.112 0-80-35.888-80-80v-864c0-44.112 35.888-80 80-80h736c44.112 0 80 35.888 80 80v624c0 14.332-4.372 39.35-42.194 90.924zM785.374 785.374c30.7-30.7 54.8-58.398 72.58-81.374h-153.954v153.946c22.984-17.78 50.678-41.878 81.374-72.572zM896 16c0-8.672-7.328-16-16-16h-736c-8.672 0-16 7.328-16 16v864c0 8.672 7.328 16 16 16 0 0 495.956 0.002 496 0v-224c0-17.672 14.326-32 32-32h224v-624zM736 128h-448c-17.672 0-32 14.326-32 32s14.328 32 32 32h448c17.674 0 32-14.326 32-32s-14.326-32-32-32zM736 256h-448c-17.672 0-32 14.326-32 32s14.328 32 32 32h448c17.674 0 32-14.326 32-32s-14.326-32-32-32zM736 384h-448c-17.672 0-32 14.326-32 32s14.328 32 32 32h448c17.674 0 32-14.326 32-32s-14.326-32-32-32z" />
|
12
|
+
<glyph unicode="" glyph-name="folder-open" d="M832 0l192 512h-832l-192-512zM128 576l-128-576v832h288l128-128h416v-128z" />
|
13
|
+
<glyph unicode="" glyph-name="price-tag" d="M976 960h-384c-26.4 0-63.274-15.274-81.942-33.942l-476.116-476.116c-18.668-18.668-18.668-49.214 0-67.882l412.118-412.118c18.668-18.668 49.214-18.668 67.882 0l476.118 476.118c18.666 18.666 33.94 55.54 33.94 81.94v384c0 26.4-21.6 48-48 48zM736 576c-53.020 0-96 42.98-96 96s42.98 96 96 96 96-42.98 96-96-42.98-96-96-96z" />
|
14
|
+
<glyph unicode="" glyph-name="floppy-disk" d="M896 960h-896v-1024h1024v896l-128 128zM512 832h128v-256h-128v256zM896 64h-768v768h64v-320h576v320h74.978l53.022-53.018v-714.982z" />
|
15
|
+
<glyph unicode="" glyph-name="search" d="M992.262 88.604l-242.552 206.294c-25.074 22.566-51.89 32.926-73.552 31.926 57.256 67.068 91.842 154.078 91.842 249.176 0 212.078-171.922 384-384 384-212.076 0-384-171.922-384-384s171.922-384 384-384c95.098 0 182.108 34.586 249.176 91.844-1-21.662 9.36-48.478 31.926-73.552l206.294-242.552c35.322-39.246 93.022-42.554 128.22-7.356s31.892 92.898-7.354 128.22zM384 320c-141.384 0-256 114.616-256 256s114.616 256 256 256 256-114.616 256-256-114.614-256-256-256z" />
|
16
|
+
<glyph unicode="" glyph-name="cogs" d="M363.722 237.948l41.298 57.816-45.254 45.256-57.818-41.296c-10.722 5.994-22.204 10.774-34.266 14.192l-11.682 70.084h-64l-11.68-70.086c-12.062-3.418-23.544-8.198-34.266-14.192l-57.818 41.298-45.256-45.256 41.298-57.816c-5.994-10.72-10.774-22.206-14.192-34.266l-70.086-11.682v-64l70.086-11.682c3.418-12.060 8.198-23.544 14.192-34.266l-41.298-57.816 45.254-45.256 57.818 41.296c10.722-5.994 22.204-10.774 34.266-14.192l11.682-70.084h64l11.68 70.086c12.062 3.418 23.544 8.198 34.266 14.192l57.818-41.296 45.254 45.256-41.298 57.816c5.994 10.72 10.774 22.206 14.192 34.266l70.088 11.68v64l-70.086 11.682c-3.418 12.060-8.198 23.544-14.192 34.266zM224 96c-35.348 0-64 28.654-64 64s28.652 64 64 64 64-28.654 64-64-28.652-64-64-64zM1024 576v64l-67.382 12.25c-1.242 8.046-2.832 15.978-4.724 23.79l57.558 37.1-24.492 59.128-66.944-14.468c-4.214 6.91-8.726 13.62-13.492 20.13l39.006 56.342-45.256 45.254-56.342-39.006c-6.512 4.766-13.22 9.276-20.13 13.494l14.468 66.944-59.128 24.494-37.1-57.558c-7.812 1.892-15.744 3.482-23.79 4.724l-12.252 67.382h-64l-12.252-67.382c-8.046-1.242-15.976-2.832-23.79-4.724l-37.098 57.558-59.128-24.492 14.468-66.944c-6.91-4.216-13.62-8.728-20.13-13.494l-56.342 39.006-45.254-45.254 39.006-56.342c-4.766-6.51-9.278-13.22-13.494-20.13l-66.944 14.468-24.492-59.128 57.558-37.1c-1.892-7.812-3.482-15.742-4.724-23.79l-67.384-12.252v-64l67.382-12.25c1.242-8.046 2.832-15.978 4.724-23.79l-57.558-37.1 24.492-59.128 66.944 14.468c4.216-6.91 8.728-13.618 13.494-20.13l-39.006-56.342 45.254-45.256 56.342 39.006c6.51-4.766 13.22-9.276 20.13-13.492l-14.468-66.944 59.128-24.492 37.102 57.558c7.81-1.892 15.742-3.482 23.788-4.724l12.252-67.384h64l12.252 67.382c8.044 1.242 15.976 2.832 23.79 4.724l37.1-57.558 59.128 24.492-14.468 66.944c6.91 4.216 13.62 8.726 20.13 13.492l56.342-39.006 45.256 45.256-39.006 56.342c4.766 6.512 9.276 13.22 13.492 20.13l66.944-14.468 24.492 59.13-57.558 37.1c1.892 7.812 3.482 15.742 4.724 23.79l67.382 12.25zM672 468.8c-76.878 0-139.2 62.322-139.2 139.2s62.32 139.2 139.2 139.2 139.2-62.322 139.2-139.2c0-76.878-62.32-139.2-139.2-139.2z" />
|
17
|
+
<glyph unicode="" glyph-name="bin" d="M128 640v-640c0-35.2 28.8-64 64-64h576c35.2 0 64 28.8 64 64v640h-704zM320 64h-64v448h64v-448zM448 64h-64v448h64v-448zM576 64h-64v448h64v-448zM704 64h-64v448h64v-448zM848 832h-208v80c0 26.4-21.6 48-48 48h-224c-26.4 0-48-21.6-48-48v-80h-208c-26.4 0-48-21.6-48-48v-80h832v80c0 26.4-21.6 48-48 48zM576 832h-192v63.198h192v-63.198z" />
|
18
|
+
<glyph unicode="" glyph-name="link" d="M440.236 324.234c-13.31 0-26.616 5.076-36.77 15.23-95.134 95.136-95.134 249.934 0 345.070l192 192c46.088 46.086 107.36 71.466 172.534 71.466s126.448-25.38 172.536-71.464c95.132-95.136 95.132-249.934 0-345.070l-87.766-87.766c-20.308-20.308-53.23-20.308-73.54 0-20.306 20.306-20.306 53.232 0 73.54l87.766 87.766c54.584 54.586 54.584 143.404 0 197.99-26.442 26.442-61.6 41.004-98.996 41.004s-72.552-14.562-98.996-41.006l-192-191.998c-54.586-54.586-54.586-143.406 0-197.992 20.308-20.306 20.306-53.232 0-73.54-10.15-10.152-23.462-15.23-36.768-15.23zM256-52c-65.176 0-126.45 25.38-172.534 71.464-95.134 95.136-95.134 249.934 0 345.070l87.764 87.764c20.308 20.306 53.234 20.306 73.54 0 20.308-20.306 20.308-53.232 0-73.54l-87.764-87.764c-54.586-54.586-54.586-143.406 0-197.992 26.44-26.44 61.598-41.002 98.994-41.002s72.552 14.562 98.998 41.006l192 191.998c54.584 54.586 54.584 143.406 0 197.992-20.308 20.308-20.306 53.232 0 73.54 20.306 20.306 53.232 20.306 73.54-0.002 95.132-95.134 95.132-249.932 0.002-345.068l-192.002-192c-46.090-46.088-107.364-71.466-172.538-71.466z" />
|
19
|
+
<glyph unicode="" glyph-name="eye" d="M512 768c-223.318 0-416.882-130.042-512-320 95.118-189.958 288.682-320 512-320 223.312 0 416.876 130.042 512 320-95.116 189.958-288.688 320-512 320zM764.45 598.296c60.162-38.374 111.142-89.774 149.434-150.296-38.292-60.522-89.274-111.922-149.436-150.296-75.594-48.218-162.89-73.704-252.448-73.704-89.56 0-176.858 25.486-252.452 73.704-60.158 38.372-111.138 89.772-149.432 150.296 38.292 60.524 89.274 111.924 149.434 150.296 3.918 2.5 7.876 4.922 11.86 7.3-9.96-27.328-15.41-56.822-15.41-87.596 0-141.382 114.616-256 256-256 141.382 0 256 114.618 256 256 0 30.774-5.452 60.268-15.408 87.598 3.978-2.378 7.938-4.802 11.858-7.302v0zM512 544c0-53.020-42.98-96-96-96s-96 42.98-96 96 42.98 96 96 96 96-42.982 96-96z" />
|
20
|
+
<glyph unicode="" glyph-name="plus" d="M992 576h-352v352c0 17.672-14.328 32-32 32h-192c-17.672 0-32-14.328-32-32v-352h-352c-17.672 0-32-14.328-32-32v-192c0-17.672 14.328-32 32-32h352v-352c0-17.672 14.328-32 32-32h192c17.672 0 32 14.328 32 32v352h352c17.672 0 32 14.328 32 32v192c0 17.672-14.328 32-32 32z" />
|
21
|
+
<glyph unicode="" glyph-name="minus" d="M0 544v-192c0-17.672 14.328-32 32-32h960c17.672 0 32 14.328 32 32v192c0 17.672-14.328 32-32 32h-960c-17.672 0-32-14.328-32-32z" />
|
22
|
+
<glyph unicode="" glyph-name="table" d="M0 768v-704h1024v704h-1024zM384 320v128h256v-128h-256zM640 256v-128h-256v128h256zM640 640v-128h-256v128h256zM320 640v-128h-256v128h256zM64 448h256v-128h-256v128zM704 448h256v-128h-256v128zM704 512v128h256v-128h-256zM64 256h256v-128h-256v128zM704 128v128h256v-128h-256z" />
|
23
|
+
<glyph unicode="" glyph-name="share" d="M256 320c0 0 58.824 192 384 192v-192l384 256-384 256v-192c-256 0-384-159.672-384-320zM704 192h-576v384h125.876c10.094 11.918 20.912 23.334 32.488 34.18 43.964 41.19 96.562 72.652 156.114 93.82h-442.478v-640h832v268.624l-128-85.334v-55.29z" />
|
24
|
+
</font></defs></svg>
|
Binary file
|
Binary file
|
@@ -0,0 +1,68 @@
|
|
1
|
+
@font-face {
|
2
|
+
font-family: 'icomoon';
|
3
|
+
src: font-url('icomoon.eot?tb65y2');
|
4
|
+
src: font-url('icomoon.eot?tb65y2#iefix') format('embedded-opentype'),
|
5
|
+
font-url('icomoon.ttf?tb65y2') format('truetype'),
|
6
|
+
font-url('icomoon.woff?tb65y2') format('woff'),
|
7
|
+
font-url('icomoon.svg?tb65y2#icomoon') format('svg');
|
8
|
+
font-weight: normal;
|
9
|
+
font-style: normal;
|
10
|
+
}
|
11
|
+
|
12
|
+
[class^="icon-"], [class*=" icon-"] {
|
13
|
+
/* use !important to prevent issues with browser extensions that change fonts */
|
14
|
+
font-family: 'icomoon' !important;
|
15
|
+
speak: none;
|
16
|
+
font-style: normal;
|
17
|
+
font-weight: normal;
|
18
|
+
font-variant: normal;
|
19
|
+
text-transform: none;
|
20
|
+
line-height: 1;
|
21
|
+
|
22
|
+
/* Better Font Rendering =========== */
|
23
|
+
-webkit-font-smoothing: antialiased;
|
24
|
+
-moz-osx-font-smoothing: grayscale;
|
25
|
+
}
|
26
|
+
|
27
|
+
.icon-pencil:before {
|
28
|
+
content: "\e905";
|
29
|
+
}
|
30
|
+
.icon-file-text2:before {
|
31
|
+
content: "\e926";
|
32
|
+
}
|
33
|
+
.icon-folder-open:before {
|
34
|
+
content: "\e930";
|
35
|
+
}
|
36
|
+
.icon-price-tag:before {
|
37
|
+
content: "\e935";
|
38
|
+
}
|
39
|
+
.icon-floppy-disk:before {
|
40
|
+
content: "\e962";
|
41
|
+
}
|
42
|
+
.icon-search:before {
|
43
|
+
content: "\e986";
|
44
|
+
}
|
45
|
+
.icon-cogs:before {
|
46
|
+
content: "\e995";
|
47
|
+
}
|
48
|
+
.icon-bin:before {
|
49
|
+
content: "\e9ac";
|
50
|
+
}
|
51
|
+
.icon-link:before {
|
52
|
+
content: "\e9cb";
|
53
|
+
}
|
54
|
+
.icon-eye:before {
|
55
|
+
content: "\e9ce";
|
56
|
+
}
|
57
|
+
.icon-plus:before {
|
58
|
+
content: "\ea0a";
|
59
|
+
}
|
60
|
+
.icon-minus:before {
|
61
|
+
content: "\ea0b";
|
62
|
+
}
|
63
|
+
.icon-table:before {
|
64
|
+
content: "\ea70";
|
65
|
+
}
|
66
|
+
.icon-share:before {
|
67
|
+
content: "\ea7d";
|
68
|
+
}
|
@@ -1,3 +1,4 @@
|
|
1
|
+
@import 'icomoon';
|
1
2
|
@import 'blaze/blaze';
|
2
3
|
@import url('https://fonts.googleapis.com/css?family=Roboto');
|
3
4
|
|
@@ -674,6 +675,18 @@ body.active_admin {
|
|
674
675
|
border-bottom: 0 none;
|
675
676
|
}
|
676
677
|
}
|
678
|
+
.col-actions {
|
679
|
+
padding: 1px 2px 0 6px;
|
680
|
+
vertical-align: middle;
|
681
|
+
a.c-button {
|
682
|
+
color: #222;
|
683
|
+
margin-right: 1px;
|
684
|
+
margin-left: 1px;
|
685
|
+
}
|
686
|
+
// .table_actions {
|
687
|
+
// text-align: center;
|
688
|
+
// }
|
689
|
+
}
|
677
690
|
|
678
691
|
// title bar
|
679
692
|
#title_bar {
|
@@ -768,7 +781,8 @@ body.active_admin {
|
|
768
781
|
background-image: none;
|
769
782
|
}
|
770
783
|
&.ui-dialog-titlebar-close {
|
771
|
-
display: none;
|
784
|
+
// display: none; // hides close button
|
785
|
+
margin-right: 0;
|
772
786
|
}
|
773
787
|
}
|
774
788
|
.ui-dialog-content {
|
@@ -9,3 +9,20 @@ module ActiveAdminBlazeTheme
|
|
9
9
|
end
|
10
10
|
end
|
11
11
|
end
|
12
|
+
|
13
|
+
ActiveAdmin::Views::IndexAsTable::IndexTableFor::TableActions.class_eval do
|
14
|
+
def item *args
|
15
|
+
cl = args[2][:class]
|
16
|
+
if cl.include? 'view_link'
|
17
|
+
args[0] = '<span class="icon-eye"></span> '.html_safe + args[0]
|
18
|
+
args[2][:class] += ' c-button c-button--ghost-info u-xsmall'
|
19
|
+
elsif cl.include? 'edit_link'
|
20
|
+
args[0] = '<span class="icon-pencil"></span> '.html_safe + args[0]
|
21
|
+
args[2][:class] += ' c-button c-button--ghost-info u-xsmall'
|
22
|
+
elsif cl.include? 'delete_link'
|
23
|
+
args[0] = '<span class="icon-bin"></span> '.html_safe + args[0]
|
24
|
+
args[2][:class] += ' c-button c-button--ghost-error u-xsmall'
|
25
|
+
end
|
26
|
+
text_node link_to *args
|
27
|
+
end
|
28
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activeadmin_blaze_theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mattia Roccoberton
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-09-
|
11
|
+
date: 2017-09-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activeadmin
|
@@ -37,6 +37,10 @@ files:
|
|
37
37
|
- README.md
|
38
38
|
- Rakefile
|
39
39
|
- activeadmin_blaze_theme.gemspec
|
40
|
+
- app/assets/fonts/icomoon.eot
|
41
|
+
- app/assets/fonts/icomoon.svg
|
42
|
+
- app/assets/fonts/icomoon.ttf
|
43
|
+
- app/assets/fonts/icomoon.woff
|
40
44
|
- app/assets/stylesheets/activeadmin_blaze_theme/blaze/blaze.colors.scss
|
41
45
|
- app/assets/stylesheets/activeadmin_blaze_theme/blaze/blaze.scss
|
42
46
|
- app/assets/stylesheets/activeadmin_blaze_theme/blaze/components.addresses.scss
|
@@ -98,6 +102,7 @@ files:
|
|
98
102
|
- app/assets/stylesheets/activeadmin_blaze_theme/blaze/utilities.boxing.scss
|
99
103
|
- app/assets/stylesheets/activeadmin_blaze_theme/blaze/utilities.elevation.scss
|
100
104
|
- app/assets/stylesheets/activeadmin_blaze_theme/blaze/utilities.sizes.scss
|
105
|
+
- app/assets/stylesheets/activeadmin_blaze_theme/icomoon.scss
|
101
106
|
- app/assets/stylesheets/activeadmin_blaze_theme/theme.scss
|
102
107
|
- extra/screenshot1.jpg
|
103
108
|
- extra/screenshot2.jpg
|