captive-admin 0.1.0.alpha → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/captive-admin/_base.scss +2 -0
- data/app/assets/stylesheets/captive-admin/_header.scss +95 -8
- data/app/assets/stylesheets/captive-admin/_typography.scss +1 -0
- data/app/assets/stylesheets/captive-admin/components/_breadcrumbs.scss +18 -0
- data/app/assets/stylesheets/captive-admin/mixins/_typography.scss +10 -0
- data/app/assets/stylesheets/captive-admin/mixins/_variables.scss +2 -0
- data/app/assets/stylesheets/captive-admin/structure/_main_structure.scss +3 -0
- data/app/assets/stylesheets/captive-admin/structure/_title_bar.scss +9 -0
- metadata +8 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 47a27396c1892618e93b00a44b4094d7cde66d44e0f78beb2e887061d386ab0f
|
4
|
+
data.tar.gz: a8f35d01b61ba43e0a742483b8feed22cca84ab7f56caa073021dd4b834fade9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5eb581360dc7dd86cd7d4302ce013cda1a3654803db0dbe05c1018a6c8f6d6880110a71ceb09631f379c54cb3ad5be5f99fbefe17e7371e4f0f59fa61fdd13d9
|
7
|
+
data.tar.gz: 2daa72c05c5af576e59696b27ca1190bdfe31a0536edbe24799623a9fa40dcca4b8fbcc6eeee5f85899c1e740c89a056b72e70e9af454d8485c91f75874deffa
|
@@ -7,10 +7,12 @@
|
|
7
7
|
@import './header';
|
8
8
|
@import './forms';
|
9
9
|
@import './components/tables';
|
10
|
+
@import './components/breadcrumbs';
|
10
11
|
@import './components/links';
|
11
12
|
@import './components/panels';
|
12
13
|
@import './components/status_tags';
|
13
14
|
@import './pages/logged_out';
|
15
|
+
@import './structure/main_structure';
|
14
16
|
@import './structure/title_bar';
|
15
17
|
|
16
18
|
body {
|
@@ -1,34 +1,121 @@
|
|
1
1
|
// ----------------------------------- Header
|
2
|
+
@mixin down-arrow {
|
3
|
+
background-image: url($menu-arrow-light-icon-url);
|
4
|
+
background-size: 24px;
|
5
|
+
background-position-x: calc(100% - 4px);
|
6
|
+
padding-right: 28px;
|
7
|
+
}
|
8
|
+
|
2
9
|
#header {
|
3
10
|
text-shadow: none;
|
4
11
|
background: $bg-emphasis;
|
12
|
+
padding: 0 $spacer-6;
|
5
13
|
|
6
14
|
h1 {
|
7
15
|
color: $fg-on-emphasis;
|
16
|
+
padding-left: 0;
|
17
|
+
height: 60px;
|
18
|
+
display: flex;
|
19
|
+
align-items: center;
|
20
|
+
|
21
|
+
img {
|
22
|
+
top: 0;
|
23
|
+
height: 24px;
|
24
|
+
}
|
8
25
|
}
|
9
26
|
|
10
27
|
a,
|
11
28
|
a:link {
|
12
|
-
color: $
|
29
|
+
color: $blue-grey-100;
|
30
|
+
}
|
31
|
+
|
32
|
+
.header-item {
|
33
|
+
top: 0;
|
13
34
|
}
|
14
35
|
|
15
36
|
ul.tabs {
|
37
|
+
li {
|
38
|
+
&:hover > ul {
|
39
|
+
display: block;
|
40
|
+
margin-top: $spacer-2;
|
41
|
+
padding: $spacer-3 0;
|
42
|
+
}
|
43
|
+
}
|
44
|
+
|
16
45
|
& > li {
|
46
|
+
font-size: $f5;
|
47
|
+
|
17
48
|
&.current > a {
|
18
|
-
background:
|
19
|
-
|
49
|
+
background: none;
|
50
|
+
|
51
|
+
&::before {
|
52
|
+
content: '';
|
53
|
+
background-color: $primary-emphasis;
|
54
|
+
position: absolute;
|
55
|
+
bottom: 0;
|
56
|
+
width: 19px;
|
57
|
+
height: 2px;
|
58
|
+
left: 50%;
|
59
|
+
margin-left: -9px;
|
60
|
+
}
|
61
|
+
}
|
62
|
+
|
63
|
+
&.has_nested > a {
|
64
|
+
@include down-arrow;
|
65
|
+
}
|
66
|
+
|
67
|
+
&.has_nested.current > a {
|
68
|
+
@include down-arrow;
|
69
|
+
|
70
|
+
background-color: transparent;
|
71
|
+
}
|
72
|
+
|
73
|
+
a {
|
74
|
+
padding: $spacer-2 $spacer-3;
|
75
|
+
font-weight: bold;
|
76
|
+
border-radius: 20px;
|
20
77
|
}
|
21
78
|
|
22
79
|
&:hover > a {
|
23
|
-
background: $
|
24
|
-
|
80
|
+
background: $blue-grey-700;
|
81
|
+
}
|
82
|
+
|
83
|
+
&.has_nested:hover > a {
|
84
|
+
@include rounded-all(20px, 20px, 20px, 20px);
|
85
|
+
@include down-arrow;
|
86
|
+
|
87
|
+
border-bottom: none;
|
88
|
+
background-color: $blue-grey-700;
|
89
|
+
}
|
90
|
+
|
91
|
+
/* Drop down menus */
|
92
|
+
ul {
|
93
|
+
background: $bg-default;
|
94
|
+
@include rounded-all(12px, 12px, 12px, 12px);
|
95
|
+
|
96
|
+
text-align: left;
|
97
|
+
@include shadow-xs;
|
98
|
+
|
99
|
+
li {
|
100
|
+
a {
|
101
|
+
color: $fg-default;
|
102
|
+
|
103
|
+
&:hover {
|
104
|
+
background: $bg-subtle;
|
105
|
+
color: $fg-default;
|
106
|
+
border-radius: 0;
|
107
|
+
}
|
108
|
+
}
|
109
|
+
}
|
25
110
|
}
|
26
111
|
}
|
27
112
|
}
|
28
113
|
|
114
|
+
#tabs {
|
115
|
+
text-align: center;
|
116
|
+
}
|
117
|
+
|
29
118
|
#utility_nav {
|
30
|
-
|
31
|
-
color: $accent-fg;
|
32
|
-
}
|
119
|
+
padding-right: 0;
|
33
120
|
}
|
34
121
|
}
|
@@ -1 +1,3 @@
|
|
1
1
|
@import 'captive-theme/variables';
|
2
|
+
|
3
|
+
$menu-arrow-light-icon-url: 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgY2xhc3M9InctOCBtci00IGljb24tY2hldmVyb24tZG93biI+PHBhdGggY2xhc3M9InNlY29uZGFyeSIgZmlsbD0iI2ZmZmZmZiIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMTUuMyAxMC4zYTEgMSAwIDAgMSAxLjQgMS40bC00IDRhMSAxIDAgMCAxLTEuNCAwbC00LTRhMSAxIDAgMCAxIDEuNC0xLjRsMy4zIDMuMjkgMy4zLTMuM3oiPjwvcGF0aD48L3N2Zz4=';
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: captive-admin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Captive
|
@@ -31,14 +31,14 @@ dependencies:
|
|
31
31
|
requirements:
|
32
32
|
- - '='
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: 0.
|
34
|
+
version: 0.2.2
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
39
|
- - '='
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: 0.
|
41
|
+
version: 0.2.2
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: rspec-rails
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
@@ -67,6 +67,7 @@ files:
|
|
67
67
|
- app/assets/stylesheets/captive-admin/_header.scss
|
68
68
|
- app/assets/stylesheets/captive-admin/_mixins.scss
|
69
69
|
- app/assets/stylesheets/captive-admin/_typography.scss
|
70
|
+
- app/assets/stylesheets/captive-admin/components/_breadcrumbs.scss
|
70
71
|
- app/assets/stylesheets/captive-admin/components/_links.scss
|
71
72
|
- app/assets/stylesheets/captive-admin/components/_panels.scss
|
72
73
|
- app/assets/stylesheets/captive-admin/components/_status_tags.scss
|
@@ -78,6 +79,7 @@ files:
|
|
78
79
|
- app/assets/stylesheets/captive-admin/mixins/_typography.scss
|
79
80
|
- app/assets/stylesheets/captive-admin/mixins/_variables.scss
|
80
81
|
- app/assets/stylesheets/captive-admin/pages/_logged_out.scss
|
82
|
+
- app/assets/stylesheets/captive-admin/structure/_main_structure.scss
|
81
83
|
- app/assets/stylesheets/captive-admin/structure/_title_bar.scss
|
82
84
|
- lib/captive/admin.rb
|
83
85
|
- lib/captive/admin/engine.rb
|
@@ -87,7 +89,7 @@ licenses:
|
|
87
89
|
- MIT
|
88
90
|
metadata:
|
89
91
|
homepage_uri: https://captive.fr/
|
90
|
-
source_code_uri: https://github.com/Captive-Studio/captive-sdk/tree/v0.
|
92
|
+
source_code_uri: https://github.com/Captive-Studio/captive-sdk/tree/v0.2.2/captive-admin
|
91
93
|
post_install_message:
|
92
94
|
rdoc_options: []
|
93
95
|
require_paths:
|
@@ -99,9 +101,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
99
101
|
version: 2.6.0
|
100
102
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
101
103
|
requirements:
|
102
|
-
- - "
|
104
|
+
- - ">="
|
103
105
|
- !ruby/object:Gem::Version
|
104
|
-
version:
|
106
|
+
version: '0'
|
105
107
|
requirements: []
|
106
108
|
rubygems_version: 3.3.26
|
107
109
|
signing_key:
|