shopapp 0.2.41 → 0.2.42
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/shopapp3.js +24 -0
- data/app/assets/stylesheets/shopapp3.scss +86 -0
- data/shopapp.gemspec +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 03d8aee7eeffa4c174d7cc1c0957548a8eec080aa9836dad28358e0490cc7900
|
4
|
+
data.tar.gz: dc29a5f88af4318ebf993b32ae777281a97e15d3d0a383874123457a5e372f18
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5eb62c7575d32acbadbdc1c2f83fb1ecc4893773572d86caf4f3927ad946e824b9806316c43875f631dc782ad27f325040a8a20203e01f6b5632b301c0484b0d
|
7
|
+
data.tar.gz: 5730c43bdd767b4f7740fcfa55317ec39a1c983bcd35fc4cb5512f7ea1277d7c9654119e70a24bef721abaee6a646d1b0b19a568213473fc8921220bbf1d390e
|
@@ -3,3 +3,27 @@
|
|
3
3
|
//= require popper
|
4
4
|
//= require bootstrap-sprockets
|
5
5
|
//= require material.min
|
6
|
+
|
7
|
+
function shopappSnackbar(message, timeout = 5000) {
|
8
|
+
$('body').append(`
|
9
|
+
<div class="snackbar snackbar-left show">
|
10
|
+
<div class="snackbar-body">
|
11
|
+
${message}
|
12
|
+
</div>
|
13
|
+
</div>
|
14
|
+
`);
|
15
|
+
setTimeout(function() {
|
16
|
+
$('.snackbar').removeClass('show');
|
17
|
+
}, timeout);
|
18
|
+
}
|
19
|
+
|
20
|
+
function shopappAlert(message, type = 'danger') {
|
21
|
+
$('main > div:nth-child(2) > div:first-child').append(`
|
22
|
+
<div class="alert alert-${type} alert-dismissible fade mt-3 show" role="alert">
|
23
|
+
${message}
|
24
|
+
<button aria-label="Close" class="close" data-dismiss="alert" type="button">
|
25
|
+
<span aria-hidden="true">×</span>
|
26
|
+
</button>
|
27
|
+
</div>
|
28
|
+
`);
|
29
|
+
}
|
@@ -1 +1,87 @@
|
|
1
1
|
@import "material.min";
|
2
|
+
|
3
|
+
html, body {
|
4
|
+
font-family: 'Fira Sans', Roboto, -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica Neue, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
|
5
|
+
color: #323232;
|
6
|
+
background: #f3f3f3;
|
7
|
+
height: 100%;
|
8
|
+
-webkit-font-smoothing: antialiased;
|
9
|
+
-moz-osx-font-smoothing: grayscale;
|
10
|
+
}
|
11
|
+
.card {
|
12
|
+
box-shadow: none;
|
13
|
+
}
|
14
|
+
|
15
|
+
.navdrawer-persistent-lg {
|
16
|
+
right: auto;
|
17
|
+
width: 32rem;
|
18
|
+
z-index: auto;
|
19
|
+
}
|
20
|
+
.text-subheader {
|
21
|
+
font-weight: 500;
|
22
|
+
}
|
23
|
+
.badge {
|
24
|
+
font-size: .85rem;
|
25
|
+
}
|
26
|
+
|
27
|
+
#sidebar-wrapper {
|
28
|
+
background: image-url('shopapp3/bg.jpg') center no-repeat;
|
29
|
+
background-size: cover;
|
30
|
+
min-height: 100vh;
|
31
|
+
margin-left: -80px;
|
32
|
+
-webkit-transition: margin .25s ease-out;
|
33
|
+
-moz-transition: margin .25s ease-out;
|
34
|
+
-o-transition: margin .25s ease-out;
|
35
|
+
transition: margin .25s ease-out;
|
36
|
+
}
|
37
|
+
#sidebar-wrapper .sidebar-heading {
|
38
|
+
height: 80px;
|
39
|
+
background: #25265E;
|
40
|
+
}
|
41
|
+
#sidebar-wrapper .nav {
|
42
|
+
width: 80px;
|
43
|
+
}
|
44
|
+
#sidebar-wrapper .nav .nav-item {
|
45
|
+
border-right: 2px solid transparent;
|
46
|
+
}
|
47
|
+
#sidebar-wrapper .nav .nav-item.active {
|
48
|
+
background: rgba(37, 38, 94, 0.25);
|
49
|
+
border-right: 2px solid #FFC800;
|
50
|
+
}
|
51
|
+
#sidebar-wrapper .nav .nav-item:hover {
|
52
|
+
background: rgba(37, 38, 94, 0.25);
|
53
|
+
}
|
54
|
+
#page-content-wrapper {
|
55
|
+
min-width: 100vw;
|
56
|
+
}
|
57
|
+
#page-content-wrapper nav {
|
58
|
+
height: 80px;
|
59
|
+
box-shadow: 0px 2px 20px 0px rgba(37, 38, 94, 0.1);
|
60
|
+
}
|
61
|
+
|
62
|
+
.navbar .form-control {
|
63
|
+
background-color: #f5f5f5;
|
64
|
+
border-bottom: 1px solid #dbdbdb;
|
65
|
+
min-width: 15rem;
|
66
|
+
outline: 0;
|
67
|
+
font-size: .85rem;
|
68
|
+
font-weight: 500;
|
69
|
+
}
|
70
|
+
#wrapper.toggled #sidebar-wrapper {
|
71
|
+
margin-left: 0;
|
72
|
+
}
|
73
|
+
@media (min-width: 768px) {
|
74
|
+
.toggle {
|
75
|
+
display: none;
|
76
|
+
}
|
77
|
+
#sidebar-wrapper {
|
78
|
+
margin-left: 0;
|
79
|
+
}
|
80
|
+
#page-content-wrapper {
|
81
|
+
min-width: 0;
|
82
|
+
width: 100%;
|
83
|
+
}
|
84
|
+
#wrapper.toggled #sidebar-wrapper {
|
85
|
+
margin-left: -80px;
|
86
|
+
}
|
87
|
+
}
|
data/shopapp.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'shopapp'
|
3
|
-
s.version = '0.2.
|
4
|
-
s.date = '2019-04-
|
3
|
+
s.version = '0.2.42'
|
4
|
+
s.date = '2019-04-10'
|
5
5
|
s.summary = 'Do a shoplift.'
|
6
6
|
s.description = 'Ha! Art thou Bedlam? Dost thou thirst base Trojan, to have me fold up Parca\'s fatal web? Hence!\
|
7
7
|
I am qualmish at the smell of leek.'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shopapp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.42
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Zeljko
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-04-
|
11
|
+
date: 2019-04-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|