captive-admin 0.2.4 → 0.2.5
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/_forms.scss +92 -0
- data/app/assets/stylesheets/captive-admin/_header.scss +6 -3
- data/app/assets/stylesheets/captive-admin/components/_breadcrumbs.scss +1 -1
- data/app/assets/stylesheets/captive-admin/components/_dropdown_menu.scss +5 -2
- data/app/assets/stylesheets/captive-admin/components/_status_tags.scss +1 -1
- data/app/assets/stylesheets/captive-admin/components/_table_tools.scss +3 -3
- data/app/assets/stylesheets/captive-admin/components/_tables.scss +11 -2
- data/app/assets/stylesheets/captive-admin/mixins/_buttons.scss +3 -0
- data/app/assets/stylesheets/captive-admin/mixins/_typography.scss +5 -0
- data/app/assets/stylesheets/captive-admin/mixins/_variables.scss +1 -0
- data/app/assets/stylesheets/captive-admin/structure/_footer.scss +1 -1
- data/app/assets/stylesheets/captive-admin/structure/_main_structure.scss +12 -1
- data/app/assets/stylesheets/captive-admin/structure/_title_bar.scss +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3d699609143e4fb942473a6a2975a62196903bd0ed4060cddbc1ae7048df1184
|
4
|
+
data.tar.gz: dc6a068e70bd685e7f63f8314e828f3d60b2850b50e02893075b62ec97f3ffe0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a230b2419eb1e0e95a5eddd944548b440bce1b7865c46b652ef3108c7b4e9984b4b6a998f5f10e86d75578cf8e46287bc5e45b05e6685cf127f74be2f080bd6
|
7
|
+
data.tar.gz: 32424813fc3673d157f48d8c5791dfb2d9b9d6c747847fa9672d62d84bd270888ee00d4440dd9f40bea0dd3083a02ce35f0977db0ed9b5c860a3560a8c2d7804
|
@@ -1,10 +1,70 @@
|
|
1
1
|
form {
|
2
|
+
width: $spacer-13;
|
3
|
+
padding: $spacer-5 0;
|
4
|
+
|
2
5
|
fieldset {
|
6
|
+
padding: 0;
|
7
|
+
margin: 0;
|
8
|
+
|
3
9
|
&.inputs {
|
4
10
|
background-color: $bg-subtle;
|
11
|
+
box-shadow: none;
|
12
|
+
border-radius: 0;
|
13
|
+
}
|
14
|
+
|
15
|
+
ol > li {
|
16
|
+
padding: 0;
|
17
|
+
margin-bottom: $spacer-5;
|
18
|
+
|
19
|
+
label {
|
20
|
+
@include body-medium;
|
21
|
+
|
22
|
+
float: none;
|
23
|
+
width: auto;
|
24
|
+
margin-bottom: $spacer-1;
|
25
|
+
|
26
|
+
abbr {
|
27
|
+
color: $primary-fg;
|
28
|
+
padding-left: $spacer-1;
|
29
|
+
|
30
|
+
&[title] {
|
31
|
+
text-decoration: none;
|
32
|
+
}
|
33
|
+
}
|
34
|
+
}
|
35
|
+
}
|
36
|
+
}
|
37
|
+
|
38
|
+
/* Text Fields */
|
39
|
+
input[type='text'],
|
40
|
+
input[type='password'],
|
41
|
+
input[type='email'],
|
42
|
+
input[type='number'],
|
43
|
+
input[type='url'],
|
44
|
+
input[type='tel'],
|
45
|
+
input[type='date'],
|
46
|
+
input[type='time'],
|
47
|
+
textarea {
|
48
|
+
width: 100%;
|
49
|
+
border-color: $border-color;
|
50
|
+
@include body-large;
|
51
|
+
|
52
|
+
border-radius: $border-radius-xs;
|
53
|
+
padding: $spacer-3;
|
54
|
+
|
55
|
+
&:focus {
|
56
|
+
border: 2px solid $border-color-emphasis;
|
57
|
+
box-shadow: none;
|
5
58
|
}
|
6
59
|
}
|
7
60
|
|
61
|
+
/* Errors */
|
62
|
+
p.inline-errors {
|
63
|
+
font-weight: bold;
|
64
|
+
margin: $spacer-1 0;
|
65
|
+
text-align: right;
|
66
|
+
}
|
67
|
+
|
8
68
|
/* Buttons */
|
9
69
|
input[type='submit'],
|
10
70
|
form input[type='button'],
|
@@ -13,4 +73,36 @@ form {
|
|
13
73
|
|
14
74
|
cursor: pointer;
|
15
75
|
}
|
76
|
+
|
77
|
+
.buttons,
|
78
|
+
.actions {
|
79
|
+
margin-top: $spacer-5;
|
80
|
+
}
|
81
|
+
|
82
|
+
fieldset.buttons li,
|
83
|
+
fieldset.actions li {
|
84
|
+
float: none;
|
85
|
+
margin-bottom: 0;
|
86
|
+
|
87
|
+
&.cancel a {
|
88
|
+
outline: 0;
|
89
|
+
box-shadow: none;
|
90
|
+
text-decoration: underline;
|
91
|
+
padding-left: 0;
|
92
|
+
color: $fg-muted;
|
93
|
+
|
94
|
+
&:hover {
|
95
|
+
text-decoration: none;
|
96
|
+
}
|
97
|
+
}
|
98
|
+
}
|
99
|
+
|
100
|
+
.actions {
|
101
|
+
ol {
|
102
|
+
display: flex;
|
103
|
+
flex-direction: row-reverse;
|
104
|
+
justify-content: space-between;
|
105
|
+
align-items: center;
|
106
|
+
}
|
107
|
+
}
|
16
108
|
}
|
@@ -69,9 +69,9 @@
|
|
69
69
|
}
|
70
70
|
|
71
71
|
a {
|
72
|
-
padding: $spacer-2 $spacer-
|
72
|
+
padding: $spacer-2 $spacer-4;
|
73
73
|
font-weight: bold;
|
74
|
-
border-radius:
|
74
|
+
border-radius: $border-radius-m;
|
75
75
|
}
|
76
76
|
|
77
77
|
&:hover > a {
|
@@ -88,15 +88,18 @@
|
|
88
88
|
|
89
89
|
/* Drop down menus */
|
90
90
|
ul {
|
91
|
-
background: $bg-default;
|
92
91
|
@include rounded-all(12px, 12px, 12px, 12px);
|
93
92
|
|
93
|
+
background: $bg-default;
|
94
94
|
text-align: left;
|
95
95
|
box-shadow: $shadow-m;
|
96
|
+
min-width: $spacer-11;
|
96
97
|
|
97
98
|
li {
|
98
99
|
a {
|
99
100
|
color: $fg-default;
|
101
|
+
padding-top: $spacer-3;
|
102
|
+
padding-bottom: $spacer-3;
|
100
103
|
|
101
104
|
&:hover {
|
102
105
|
background: $bg-subtle;
|
@@ -13,7 +13,7 @@
|
|
13
13
|
background: none;
|
14
14
|
border: none;
|
15
15
|
box-shadow: $shadow-m;
|
16
|
-
border-radius:
|
16
|
+
border-radius: $border-radius-s;
|
17
17
|
padding: 0;
|
18
18
|
overflow: hidden;
|
19
19
|
|
@@ -21,12 +21,15 @@
|
|
21
21
|
border: none;
|
22
22
|
box-shadow: none;
|
23
23
|
padding: $spacer-3 0;
|
24
|
-
min-width:
|
24
|
+
min-width: $spacer-11;
|
25
25
|
|
26
26
|
li {
|
27
|
+
border: none;
|
28
|
+
|
27
29
|
a {
|
28
30
|
padding: $spacer-3 $spacer-4;
|
29
31
|
text-align: left;
|
32
|
+
@include body-medium;
|
30
33
|
|
31
34
|
&:hover {
|
32
35
|
background-image: none;
|
@@ -35,16 +35,16 @@ a.table_tools_button,
|
|
35
35
|
li {
|
36
36
|
a {
|
37
37
|
border: 1px solid $border-color;
|
38
|
-
border-radius:
|
38
|
+
border-radius: $border-radius-m;
|
39
39
|
margin-right: $spacer-2;
|
40
40
|
}
|
41
41
|
|
42
42
|
&:first-child a {
|
43
|
-
border-radius:
|
43
|
+
border-radius: $border-radius-m;
|
44
44
|
}
|
45
45
|
|
46
46
|
&:last-child a {
|
47
|
-
border-radius:
|
47
|
+
border-radius: $border-radius-m;
|
48
48
|
}
|
49
49
|
|
50
50
|
&.selected a {
|
@@ -6,6 +6,7 @@ table.index_table {
|
|
6
6
|
th {
|
7
7
|
padding: $spacer-4;
|
8
8
|
color: $fg-subtle;
|
9
|
+
background: transparent;
|
9
10
|
|
10
11
|
a,
|
11
12
|
a:link,
|
@@ -15,7 +16,7 @@ table.index_table {
|
|
15
16
|
|
16
17
|
&.sorted-asc,
|
17
18
|
&.sorted-desc {
|
18
|
-
background:
|
19
|
+
background: transparent;
|
19
20
|
|
20
21
|
a {
|
21
22
|
color: $fg-default;
|
@@ -28,12 +29,20 @@ table.index_table {
|
|
28
29
|
}
|
29
30
|
|
30
31
|
tr.even td {
|
31
|
-
background:
|
32
|
+
background: transparent;
|
32
33
|
}
|
33
34
|
|
34
35
|
td {
|
35
36
|
border-bottom: 1px solid $border-color;
|
36
37
|
vertical-align: middle;
|
37
38
|
padding: $spacer-4;
|
39
|
+
|
40
|
+
&:first-child {
|
41
|
+
padding-left: 0;
|
42
|
+
}
|
43
|
+
|
44
|
+
&:last-child {
|
45
|
+
text-align: right;
|
46
|
+
}
|
38
47
|
}
|
39
48
|
}
|
@@ -1,3 +1,4 @@
|
|
1
1
|
@import 'captive-theme/variables';
|
2
2
|
|
3
3
|
$menu-arrow-light-icon-url: 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgY2xhc3M9InctOCBtci00IGljb24tY2hldmVyb24tZG93biI+PHBhdGggY2xhc3M9InNlY29uZGFyeSIgZmlsbD0iI2ZmZmZmZiIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMTUuMyAxMC4zYTEgMSAwIDAgMSAxLjQgMS40bC00IDRhMSAxIDAgMCAxLTEuNCAwbC00LTRhMSAxIDAgMCAxIDEuNC0xLjRsMy4zIDMuMjkgMy4zLTMuM3oiPjwvcGF0aD48L3N2Zz4=';
|
4
|
+
$error-color: $danger-fg;
|
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.2.
|
4
|
+
version: 0.2.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Captive
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2023-10-
|
12
|
+
date: 2023-10-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -31,14 +31,14 @@ dependencies:
|
|
31
31
|
requirements:
|
32
32
|
- - '='
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: 0.2.
|
34
|
+
version: 0.2.5
|
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.2.
|
41
|
+
version: 0.2.5
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: rspec-rails
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
@@ -95,7 +95,7 @@ licenses:
|
|
95
95
|
- MIT
|
96
96
|
metadata:
|
97
97
|
homepage_uri: https://captive.fr/
|
98
|
-
source_code_uri: https://github.com/Captive-Studio/captive-sdk/tree/v0.2.
|
98
|
+
source_code_uri: https://github.com/Captive-Studio/captive-sdk/tree/v0.2.5/captive-admin
|
99
99
|
post_install_message:
|
100
100
|
rdoc_options: []
|
101
101
|
require_paths:
|