visagio-arctic_admin 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/app/assets/fonts/Lato-Bold.eot +0 -0
- data/app/assets/fonts/Lato-Bold.ttf +0 -0
- data/app/assets/fonts/Lato-Bold.woff +0 -0
- data/app/assets/fonts/Lato-Bold.woff2 +0 -0
- data/app/assets/fonts/Lato-BoldItalic.eot +0 -0
- data/app/assets/fonts/Lato-BoldItalic.ttf +0 -0
- data/app/assets/fonts/Lato-BoldItalic.woff +0 -0
- data/app/assets/fonts/Lato-BoldItalic.woff2 +0 -0
- data/app/assets/fonts/Lato-Italic.eot +0 -0
- data/app/assets/fonts/Lato-Italic.ttf +0 -0
- data/app/assets/fonts/Lato-Italic.woff +0 -0
- data/app/assets/fonts/Lato-Italic.woff2 +0 -0
- data/app/assets/fonts/Lato-Regular.eot +0 -0
- data/app/assets/fonts/Lato-Regular.ttf +0 -0
- data/app/assets/fonts/Lato-Regular.woff +0 -0
- data/app/assets/fonts/Lato-Regular.woff2 +0 -0
- data/app/assets/javascripts/arctic_admin/base.js +79 -0
- data/app/assets/stylesheets/arctic_admin/_base.scss +34 -0
- data/app/assets/stylesheets/arctic_admin/_common.scss +27 -0
- data/app/assets/stylesheets/arctic_admin/_fonts.scss +47 -0
- data/app/assets/stylesheets/arctic_admin/_grid.scss +4 -0
- data/app/assets/stylesheets/arctic_admin/_reset.scss +41 -0
- data/app/assets/stylesheets/arctic_admin/components/_columns.scss +4 -0
- data/app/assets/stylesheets/arctic_admin/components/_comments.scss +54 -0
- data/app/assets/stylesheets/arctic_admin/components/_components.scss +12 -0
- data/app/assets/stylesheets/arctic_admin/components/_date_picker.scss +38 -0
- data/app/assets/stylesheets/arctic_admin/components/_dialogs.scss +23 -0
- data/app/assets/stylesheets/arctic_admin/components/_flash.scss +27 -0
- data/app/assets/stylesheets/arctic_admin/components/_form.scss +65 -0
- data/app/assets/stylesheets/arctic_admin/components/_inputs.scss +109 -0
- data/app/assets/stylesheets/arctic_admin/components/_pagination.scss +25 -0
- data/app/assets/stylesheets/arctic_admin/components/_panel_contents.scss +14 -0
- data/app/assets/stylesheets/arctic_admin/components/_status_tag.scss +17 -0
- data/app/assets/stylesheets/arctic_admin/components/_tables.scss +66 -0
- data/app/assets/stylesheets/arctic_admin/components/_tabs.scss +33 -0
- data/app/assets/stylesheets/arctic_admin/layouts/_filter.scss +64 -0
- data/app/assets/stylesheets/arctic_admin/layouts/_footer.scss +4 -0
- data/app/assets/stylesheets/arctic_admin/layouts/_header.scss +237 -0
- data/app/assets/stylesheets/arctic_admin/layouts/_main_content.scss +44 -0
- data/app/assets/stylesheets/arctic_admin/layouts/_sidebar.scss +104 -0
- data/app/assets/stylesheets/arctic_admin/mixins/_buttons_mixins.scss +120 -0
- data/app/assets/stylesheets/arctic_admin/mixins/_mixins.scss +2 -0
- data/app/assets/stylesheets/arctic_admin/mixins/_prefix_mixins.scss +63 -0
- data/app/assets/stylesheets/arctic_admin/pages/_form.scss +114 -0
- data/app/assets/stylesheets/arctic_admin/pages/_index.scss +115 -0
- data/app/assets/stylesheets/arctic_admin/pages/_login.scss +65 -0
- data/app/assets/stylesheets/arctic_admin/pages/_show.scss +24 -0
- data/app/assets/stylesheets/arctic_admin/variables/_colors.scss +49 -0
- data/app/assets/stylesheets/arctic_admin/variables/_media_queries.scss +10 -0
- data/app/assets/stylesheets/arctic_admin/variables/_size.scss +9 -0
- data/app/assets/stylesheets/arctic_admin/variables/_variables.scss +5 -0
- data/lib/arctic_admin.rb +9 -0
- data/lib/arctic_admin/version.rb +3 -0
- metadata +166 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 7d89135c54c9b72932d29d8ebf7e21beb17a349d
|
4
|
+
data.tar.gz: 2e0a22d0c3201f3e84e97340d93b151e2213adb1
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: b522effd95a176e83e3668f7174c9f2ef096084705eeca39e806b458a2639135eccba3c6aa8055d60948e89b887d97c39ae457c671cbbb5fe795c674162f4731
|
7
|
+
data.tar.gz: 9766de3f69911b94831cc9d153c51b2d1f55cf9432aa0b552443bf05b7be9156704e388fa06feafce4e996022ce4f8a889b9da8557ddccc1830b23f5961cc0f4
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,79 @@
|
|
1
|
+
//= require jquery
|
2
|
+
//= require jquery_ujs
|
3
|
+
//= require active_admin/base
|
4
|
+
|
5
|
+
$(function() {
|
6
|
+
$('#sidebar').click(function (e) {
|
7
|
+
var position = $(this).position();
|
8
|
+
var width = $(this).width();
|
9
|
+
var target = e.target;
|
10
|
+
if ((e.pageX < position.left) && (target.tagName != 'SELECT') && (target.tagName != 'OPTION')) {
|
11
|
+
if ($(this).css('right') == '0px') {
|
12
|
+
$(this).css('position', 'fixed');
|
13
|
+
$(this).animate({
|
14
|
+
right: "-="+width
|
15
|
+
}, 600, function() {
|
16
|
+
animationFilterDone = true;
|
17
|
+
});
|
18
|
+
} else {
|
19
|
+
$(this).animate({
|
20
|
+
right: "+="+width
|
21
|
+
}, 600, function() {
|
22
|
+
$(this).css('position', 'absolute');
|
23
|
+
animationFilterDone = true;
|
24
|
+
});
|
25
|
+
}
|
26
|
+
}
|
27
|
+
});
|
28
|
+
|
29
|
+
var animationDone = true;
|
30
|
+
$('#utility_nav').click(function (e) {
|
31
|
+
var position = $(this).position();
|
32
|
+
var tabs = $('#tabs');
|
33
|
+
var width = Math.round(tabs[0].getBoundingClientRect().width);
|
34
|
+
|
35
|
+
if (e.pageX < (position.left + 40)) {
|
36
|
+
if(animationDone == true) {
|
37
|
+
animationDone = false;
|
38
|
+
if (tabs.css('left') == '0px') {
|
39
|
+
tabs.animate({
|
40
|
+
left: "-="+width
|
41
|
+
}, 400, function() {
|
42
|
+
animationDone = true;
|
43
|
+
});
|
44
|
+
} else {
|
45
|
+
tabs.animate({
|
46
|
+
left: "+="+width
|
47
|
+
}, 400, function() {
|
48
|
+
animationDone = true;
|
49
|
+
});
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
});
|
54
|
+
|
55
|
+
$('body').click(function (e) {
|
56
|
+
var tabs = $('#tabs');
|
57
|
+
var width = Math.round(tabs[0].getBoundingClientRect().width);
|
58
|
+
if (tabs.css('left') == '0px') {
|
59
|
+
if (e.pageX > width && e.pageY > 60) {
|
60
|
+
if(animationDone == true) {
|
61
|
+
animationDone = false;
|
62
|
+
tabs.animate({
|
63
|
+
left: "-="+width
|
64
|
+
}, 400, function() {
|
65
|
+
animationDone = true;
|
66
|
+
});
|
67
|
+
}
|
68
|
+
}
|
69
|
+
}
|
70
|
+
});
|
71
|
+
|
72
|
+
$('#tabs .has_nested').click(function (e) {
|
73
|
+
if ($(this).hasClass('open') == true) {
|
74
|
+
$(this).removeClass('open');
|
75
|
+
} else {
|
76
|
+
$(this).addClass('open');
|
77
|
+
}
|
78
|
+
});
|
79
|
+
});
|
@@ -0,0 +1,34 @@
|
|
1
|
+
@import "font-awesome";
|
2
|
+
|
3
|
+
@import "reset";
|
4
|
+
@import "fonts";
|
5
|
+
@import "variables/variables";
|
6
|
+
|
7
|
+
@import "mixins/mixins";
|
8
|
+
|
9
|
+
@import "common";
|
10
|
+
@import "grid";
|
11
|
+
|
12
|
+
@import "components/components";
|
13
|
+
|
14
|
+
@import "layouts/header";
|
15
|
+
@import "layouts/sidebar";
|
16
|
+
@import "layouts/main_content";
|
17
|
+
@import "layouts/filter";
|
18
|
+
@import "layouts/footer";
|
19
|
+
|
20
|
+
@import "pages/login";
|
21
|
+
@import "pages/index";
|
22
|
+
@import "pages/show";
|
23
|
+
@import "pages/form";
|
24
|
+
|
25
|
+
body {
|
26
|
+
font-family: "LatoWeb", Arial, sans-serif;
|
27
|
+
background-color: $body-background;
|
28
|
+
color: $text-color;
|
29
|
+
}
|
30
|
+
|
31
|
+
a {
|
32
|
+
color: $primary-color;
|
33
|
+
text-decoration: none;
|
34
|
+
}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
.button {
|
2
|
+
@include primary-button($primary-color, #fff);
|
3
|
+
padding: 5px 8px;
|
4
|
+
font-size: 16px;
|
5
|
+
|
6
|
+
&.small {
|
7
|
+
padding: 2px 9px;
|
8
|
+
font-size: 12px;
|
9
|
+
}
|
10
|
+
|
11
|
+
&.large {
|
12
|
+
padding: 10px;
|
13
|
+
font-size: 18px;
|
14
|
+
}
|
15
|
+
|
16
|
+
&.action {
|
17
|
+
margin-right: 4px;
|
18
|
+
}
|
19
|
+
}
|
20
|
+
|
21
|
+
code {
|
22
|
+
display: block;
|
23
|
+
background-color: #272822;
|
24
|
+
padding: 5px;
|
25
|
+
margin: 10px 0;
|
26
|
+
color: white;
|
27
|
+
}
|
@@ -0,0 +1,47 @@
|
|
1
|
+
/* Webfont: Lato-Bold */@font-face {
|
2
|
+
font-family: 'LatoWeb';
|
3
|
+
src: font-url('Lato-Bold.eot'); /* IE9 Compat Modes */
|
4
|
+
src: font-url('Lato-Bold.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
5
|
+
font-url('Lato-Bold.woff2') format('woff2'), /* Modern Browsers */
|
6
|
+
font-url('Lato-Bold.woff') format('woff'), /* Modern Browsers */
|
7
|
+
font-url('Lato-Bold.ttf') format('truetype');
|
8
|
+
font-style: normal;
|
9
|
+
font-weight: bold;
|
10
|
+
text-rendering: optimizeLegibility;
|
11
|
+
}
|
12
|
+
|
13
|
+
/* Webfont: Lato-BoldItalic */@font-face {
|
14
|
+
font-family: 'LatoWeb';
|
15
|
+
src: font-url('Lato-BoldItalic.eot'); /* IE9 Compat Modes */
|
16
|
+
src: font-url('Lato-BoldItalic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
17
|
+
font-url('Lato-BoldItalic.woff2') format('woff2'), /* Modern Browsers */
|
18
|
+
font-url('Lato-BoldItalic.woff') format('woff'), /* Modern Browsers */
|
19
|
+
font-url('Lato-BoldItalic.ttf') format('truetype');
|
20
|
+
font-style: italic;
|
21
|
+
font-weight: bold;
|
22
|
+
text-rendering: optimizeLegibility;
|
23
|
+
}
|
24
|
+
|
25
|
+
/* Webfont: Lato-Italic */@font-face {
|
26
|
+
font-family: 'LatoWeb';
|
27
|
+
src: font-url('Lato-Italic.eot'); /* IE9 Compat Modes */
|
28
|
+
src: font-url('Lato-Italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
29
|
+
font-url('Lato-Italic.woff2') format('woff2'), /* Modern Browsers */
|
30
|
+
font-url('Lato-Italic.woff') format('woff'), /* Modern Browsers */
|
31
|
+
font-url('Lato-Italic.ttf') format('truetype');
|
32
|
+
font-style: italic;
|
33
|
+
font-weight: normal;
|
34
|
+
text-rendering: optimizeLegibility;
|
35
|
+
}
|
36
|
+
|
37
|
+
/* Webfont: Lato-Regular */@font-face {
|
38
|
+
font-family: 'LatoWeb';
|
39
|
+
src: font-url('Lato-Regular.eot'); /* IE9 Compat Modes */
|
40
|
+
src: font-url('Lato-Regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
41
|
+
font-url('Lato-Regular.woff2') format('woff2'), /* Modern Browsers */
|
42
|
+
font-url('Lato-Regular.woff') format('woff'), /* Modern Browsers */
|
43
|
+
font-url('Lato-Regular.ttf') format('truetype');
|
44
|
+
font-style: normal;
|
45
|
+
font-weight: normal;
|
46
|
+
text-rendering: optimizeLegibility;
|
47
|
+
}
|
@@ -0,0 +1,41 @@
|
|
1
|
+
*, *:after, *:before {
|
2
|
+
-webkit-box-sizing: border-box;
|
3
|
+
-moz-box-sizing: border-box;
|
4
|
+
box-sizing: border-box;
|
5
|
+
}
|
6
|
+
|
7
|
+
html {
|
8
|
+
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
9
|
+
}
|
10
|
+
|
11
|
+
html, body {
|
12
|
+
padding: 0;
|
13
|
+
margin: 0;
|
14
|
+
min-height: 100vh;
|
15
|
+
}
|
16
|
+
|
17
|
+
fieldset {
|
18
|
+
border: none;
|
19
|
+
margin: 0;
|
20
|
+
padding: 0;
|
21
|
+
}
|
22
|
+
|
23
|
+
legend {
|
24
|
+
padding: 0;
|
25
|
+
}
|
26
|
+
|
27
|
+
ol, ul {
|
28
|
+
margin: 0;
|
29
|
+
padding: 0;
|
30
|
+
list-style: none;
|
31
|
+
}
|
32
|
+
|
33
|
+
th {
|
34
|
+
font-weight: normal;
|
35
|
+
}
|
36
|
+
|
37
|
+
abbr[title] {
|
38
|
+
border-bottom: none;
|
39
|
+
cursor: inherit;
|
40
|
+
text-decoration: none;
|
41
|
+
}
|
@@ -0,0 +1,54 @@
|
|
1
|
+
.comments {
|
2
|
+
background-color: $sidebar-background;
|
3
|
+
padding: 10px 15px 15px 15px;
|
4
|
+
border-radius: $border-radius;
|
5
|
+
margin-top: 20px;
|
6
|
+
@include clear-fix();
|
7
|
+
|
8
|
+
h3 {
|
9
|
+
margin: 0 0 5px 0;
|
10
|
+
}
|
11
|
+
|
12
|
+
.active_admin_comment {
|
13
|
+
margin: 10px 0 0 0;
|
14
|
+
padding: 5px 0 0 0;
|
15
|
+
position: relative;
|
16
|
+
|
17
|
+
.active_admin_comment_meta {
|
18
|
+
.active_admin_comment_author {
|
19
|
+
margin: 0;
|
20
|
+
display: inline-block;
|
21
|
+
}
|
22
|
+
|
23
|
+
span { // date
|
24
|
+
float: right;
|
25
|
+
font-size: 14px;
|
26
|
+
font-style: italic;
|
27
|
+
margin-right: 30px;
|
28
|
+
line-height: 21px;
|
29
|
+
}
|
30
|
+
|
31
|
+
a[data-method="delete"] {
|
32
|
+
position: absolute;
|
33
|
+
top: 0;
|
34
|
+
right: 0;
|
35
|
+
visibility: hidden;
|
36
|
+
|
37
|
+
&:after {
|
38
|
+
@include icon("\f1f8");
|
39
|
+
visibility: visible;
|
40
|
+
color: #5a5a5a;
|
41
|
+
font-size: 16px;
|
42
|
+
padding: 6px;
|
43
|
+
display: inline-block;
|
44
|
+
}
|
45
|
+
}
|
46
|
+
}
|
47
|
+
|
48
|
+
.active_admin_comment_body {
|
49
|
+
p {
|
50
|
+
margin: 5px 0 0;
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
@import "inputs";
|
2
|
+
@import "flash";
|
3
|
+
@import "tables";
|
4
|
+
@import "date_picker";
|
5
|
+
@import "status_tag";
|
6
|
+
@import "panel_contents";
|
7
|
+
@import "form";
|
8
|
+
@import "pagination";
|
9
|
+
@import "dialogs";
|
10
|
+
@import "comments";
|
11
|
+
@import "tabs";
|
12
|
+
@import "columns";
|
@@ -0,0 +1,38 @@
|
|
1
|
+
#ui-datepicker-div {
|
2
|
+
background-color: #fff;
|
3
|
+
padding: 5px;
|
4
|
+
border-radius: $border-radius;
|
5
|
+
@include box-shadow(0 0 4px 0 rgba(0,0,0,.1));
|
6
|
+
z-index: 3!important;
|
7
|
+
padding: 8px 10px;
|
8
|
+
|
9
|
+
.ui-datepicker-header {
|
10
|
+
@include clear-fix();
|
11
|
+
margin-bottom: 10px;
|
12
|
+
|
13
|
+
.ui-datepicker-prev, .ui-datepicker-next {
|
14
|
+
@include primary-button($primary-color, #fff);
|
15
|
+
padding: 2px 5px;
|
16
|
+
font-size: 14px;
|
17
|
+
}
|
18
|
+
|
19
|
+
.ui-datepicker-prev {
|
20
|
+
float: left;
|
21
|
+
}
|
22
|
+
|
23
|
+
.ui-datepicker-next {
|
24
|
+
float: right;
|
25
|
+
}
|
26
|
+
|
27
|
+
.ui-datepicker-title {
|
28
|
+
text-align: center;
|
29
|
+
}
|
30
|
+
}
|
31
|
+
|
32
|
+
.ui-datepicker-calendar {
|
33
|
+
td {
|
34
|
+
border: none;
|
35
|
+
text-align: center;
|
36
|
+
}
|
37
|
+
}
|
38
|
+
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
.ui-dialog {
|
2
|
+
background-color: #fff;
|
3
|
+
@include box-shadow($box-shadow);
|
4
|
+
border-radius: $border-radius;
|
5
|
+
padding: 15px 10px;
|
6
|
+
z-index: 1;
|
7
|
+
|
8
|
+
&:focus, &:active {
|
9
|
+
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
10
|
+
outline: 0;
|
11
|
+
}
|
12
|
+
|
13
|
+
.ui-button {
|
14
|
+
@include primary-button($primary-color, #fff);
|
15
|
+
border: 0;
|
16
|
+
margin-right: 5px;
|
17
|
+
padding: 5px 10px;
|
18
|
+
}
|
19
|
+
|
20
|
+
.ui-dialog-titlebar-close {
|
21
|
+
display: none;
|
22
|
+
}
|
23
|
+
}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
.flash {
|
2
|
+
width: 100%;
|
3
|
+
padding: 10px;
|
4
|
+
text-align: center;
|
5
|
+
background-color: $flash-background-color;
|
6
|
+
color: $flash-text-color;
|
7
|
+
}
|
8
|
+
|
9
|
+
.flash_alert, .flash_error {
|
10
|
+
background-color: $error;
|
11
|
+
color: $flash-text-color;
|
12
|
+
}
|
13
|
+
|
14
|
+
.flash_warning {
|
15
|
+
background-color: $warning;
|
16
|
+
color: $flash-text-color;
|
17
|
+
}
|
18
|
+
|
19
|
+
.flash_notice {
|
20
|
+
background-color: $success;
|
21
|
+
color: $flash-text-color;
|
22
|
+
}
|
23
|
+
|
24
|
+
.flash_info {
|
25
|
+
background-color: $info;
|
26
|
+
color: $flash-text-color;
|
27
|
+
}
|