captive-admin 0.2.5 → 0.2.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3d699609143e4fb942473a6a2975a62196903bd0ed4060cddbc1ae7048df1184
4
- data.tar.gz: dc6a068e70bd685e7f63f8314e828f3d60b2850b50e02893075b62ec97f3ffe0
3
+ metadata.gz: 4fd4afbbc0fac15fbf5117e0b503de24a42036703cf1fc3d6b0ba6258f463983
4
+ data.tar.gz: be405f608bab2dd06bf85bd26c19eaa8a706cda5899559e996b0f02f850e1a92
5
5
  SHA512:
6
- metadata.gz: 4a230b2419eb1e0e95a5eddd944548b440bce1b7865c46b652ef3108c7b4e9984b4b6a998f5f10e86d75578cf8e46287bc5e45b05e6685cf127f74be2f080bd6
7
- data.tar.gz: 32424813fc3673d157f48d8c5791dfb2d9b9d6c747847fa9672d62d84bd270888ee00d4440dd9f40bea0dd3083a02ce35f0977db0ed9b5c860a3560a8c2d7804
6
+ metadata.gz: b0d3cbc9fce0b111b231476aef0eacff7fc1a4abad88f16e34fd062ca103e0769340b139c6d5fe080cd7491419e8688f1d75c2a3b02d3ab3aa4d40215f8772de
7
+ data.tar.gz: 78c4ddeff7fdab78270fe6f426dcfff9add6b4fef2ff6cdd128332047294c2240269a9a2dc257600a88e35f50d9d49461f3dba138d128549b27c0fdc14ddecec
@@ -20,6 +20,10 @@
20
20
  @import './structure/main_structure';
21
21
  @import './structure/title_bar';
22
22
 
23
+ // Addons
24
+ @import 'inputs/date-time-picker';
25
+ @import 'inputs/select2';
26
+
23
27
  body {
24
28
  color: $fg-default;
25
29
  @include body-medium;
@@ -1,7 +1,9 @@
1
- form {
1
+ #main_content form {
2
2
  width: $spacer-13;
3
3
  padding: $spacer-5 0;
4
+ }
4
5
 
6
+ form {
5
7
  fieldset {
6
8
  padding: 0;
7
9
  margin: 0;
@@ -12,6 +14,25 @@ form {
12
14
  border-radius: 0;
13
15
  }
14
16
 
17
+ &.grouped-inputs {
18
+ ol {
19
+ display: flex;
20
+
21
+ li {
22
+ margin-left: $spacer-3;
23
+ margin-right: $spacer-3;
24
+
25
+ &:first-child {
26
+ margin-left: 0;
27
+ }
28
+
29
+ &:last-child {
30
+ margin-right: 0;
31
+ }
32
+ }
33
+ }
34
+ }
35
+
15
36
  ol > li {
16
37
  padding: 0;
17
38
  margin-bottom: $spacer-5;
@@ -0,0 +1,6 @@
1
+ input[type='text'] {
2
+ &.date-time-picker-input {
3
+ width: $spacer-12;
4
+ max-width: 100%;
5
+ }
6
+ }
@@ -0,0 +1,17 @@
1
+ .select2-container {
2
+ width: 100% !important;
3
+ }
4
+
5
+ .select2-container--default .select2-selection--single {
6
+ padding: $spacer-3;
7
+ box-sizing: content-box;
8
+ border-color: $border-color;
9
+ border-radius: $border-radius-s;
10
+ height: $spacer-5;
11
+
12
+ @include body-large;
13
+
14
+ .select2-selection__rendered {
15
+ padding: 0;
16
+ }
17
+ }
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.5
4
+ version: 0.2.6
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-20 00:00:00.000000000 Z
12
+ date: 2023-10-23 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.5
34
+ version: 0.2.6
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.5
41
+ version: 0.2.6
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: rspec-rails
44
44
  requirement: !ruby/object:Gem::Requirement
@@ -76,6 +76,8 @@ files:
76
76
  - app/assets/stylesheets/captive-admin/components/_status_tags.scss
77
77
  - app/assets/stylesheets/captive-admin/components/_table_tools.scss
78
78
  - app/assets/stylesheets/captive-admin/components/_tables.scss
79
+ - app/assets/stylesheets/captive-admin/inputs/_date-time-picker.scss
80
+ - app/assets/stylesheets/captive-admin/inputs/_select2.scss
79
81
  - app/assets/stylesheets/captive-admin/mixins/_all.scss
80
82
  - app/assets/stylesheets/captive-admin/mixins/_buttons.scss
81
83
  - app/assets/stylesheets/captive-admin/mixins/_sections.scss
@@ -95,7 +97,7 @@ licenses:
95
97
  - MIT
96
98
  metadata:
97
99
  homepage_uri: https://captive.fr/
98
- source_code_uri: https://github.com/Captive-Studio/captive-sdk/tree/v0.2.5/captive-admin
100
+ source_code_uri: https://github.com/Captive-Studio/captive-sdk/tree/v0.2.6/captive-admin
99
101
  post_install_message:
100
102
  rdoc_options: []
101
103
  require_paths: