administrate-bootstrap-theme 1.0.1 → 1.0.4

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: 959dad30755f6f5f6b83f7b6e2a2e537363aded614a1509161d649391eac2e1b
4
- data.tar.gz: 34fb78bf956e0722122d5a62da1716ef2c5eb4e7d1438d6773fac700008c05df
3
+ metadata.gz: 6c469872149e9ebaf3ed3f3ddaaecca287b5d84ddf8dbed7b53c4d564a6826cd
4
+ data.tar.gz: 124aa1f1f9802e81de1757dadf0260e2248564061864fa39419633ac58ac5287
5
5
  SHA512:
6
- metadata.gz: ec97143b8ae01cee0afbd71caff3f1fd761f9e1f0675fab7e9b4fce3f21d4b339cc1835c3ac8d6f8981a706f2751e35bf3bb874aec385e135c734c0229ed2f48
7
- data.tar.gz: 32a09612b9da3d51c290905fbbc22fb600f0c8d11df246a4c43fefcb63d086a84be8691c748cadee52ef06b2e88986ad99b2a5f6d2c2347721658442af573b4e
6
+ metadata.gz: 4048036b1a91e27f1eb248368899f528a80f098bc1319aaee940a22a5dbfef5917bb53f044c74230a50063fcc39d19af486a1588e8d3718b409daf20559fced0
7
+ data.tar.gz: 327f630cd85bf0e28d552f5a5b21496aeaa0f376fd26d92f380f1e1170ca94cfd6cc48cb74b272fa64c9ee8811307481ad6f37c896e63f639c1c323350cbdf7f
@@ -1,14 +1,9 @@
1
1
  .app-container {
2
- display: flex;
3
- flex-wrap: nowrap;
4
- height: 100vh;
2
+ @extend .d-flex, .flex-nowrap, .vh-100;
5
3
  }
6
4
 
7
5
  .flashes {
8
- pointer-events: none;
9
- position: fixed;
10
- text-align: center;
11
- width: calc(100% - #{$navigation-width});
6
+ @extend .pe-none, .fixed-top, .text-center;
12
7
 
13
8
  > .flash {
14
9
  @extend .alert, .d-inline-block;
@@ -11,7 +11,7 @@
11
11
  dt {
12
12
  @extend .col-2, .text-end;
13
13
 
14
- min-height: 32px;
14
+ min-height: 2rem;
15
15
  }
16
16
 
17
17
  dd {
@@ -20,7 +20,7 @@
20
20
  }
21
21
 
22
22
  a {
23
- text-decoration: none;
23
+ @extend .text-decoration-none;
24
24
  }
25
25
 
26
26
  table {
@@ -33,7 +33,7 @@
33
33
 
34
34
  .attribute--nested {
35
35
  > div {
36
- display: flex;
36
+ @extend .d-flex;
37
37
  }
38
38
 
39
39
  legend {
@@ -46,8 +46,8 @@
46
46
  }
47
47
 
48
48
  .cell-label__sort-indicator > svg {
49
- height: 20px;
50
- width: 20px;
49
+ height: 1.2rem;
50
+ width: 1.2rem;
51
51
  }
52
52
 
53
53
  .cell-label__sort-indicator--desc > svg {
@@ -60,12 +60,10 @@
60
60
 
61
61
  .js-table-row {
62
62
  > td {
63
- padding: 0.25rem 0.25rem;
64
- text-align: center;
63
+ @extend .text-center, .p-1;
65
64
 
66
65
  &.cell-data {
67
- padding: 0.5rem 0.5rem;
68
- text-align: left;
66
+ @extend .text-start, .p-2;
69
67
  }
70
68
  }
71
69
 
@@ -15,15 +15,13 @@
15
15
  }
16
16
 
17
17
  > h1 {
18
- @extend .nav, .col-12, .col-lg-auto, .me-lg-auto, .mb-2, .justify-content-center, .mb-md-0;
19
-
20
- font-size: 1.6rem;
18
+ @extend .nav, .h3, .col-12, .col-lg-auto, .me-lg-auto, .mb-2, .justify-content-center, .mb-md-0;
21
19
  }
22
20
 
23
21
  svg {
24
22
  &.search__eyeglass-icon, &.search__clear-icon {
25
- height: 20px;
26
- width: 20px;
23
+ height: 1.2rem;
24
+ width: 1.2rem;
27
25
  }
28
26
  }
29
27
 
@@ -16,16 +16,14 @@
16
16
  }
17
17
 
18
18
  .field-unit__field {
19
- @extend .col-10;
20
-
21
- position: relative;
19
+ @extend .col-10, .position-relative;
22
20
 
23
21
  > input:not([type="checkbox"]) {
24
22
  @extend .form-control;
25
23
  }
26
24
 
27
25
  > input[type="checkbox"] {
28
- @extend .form-check-input
26
+ @extend .form-check-input, .mt-2;
29
27
  }
30
28
 
31
29
  > select {
@@ -34,7 +32,8 @@
34
32
 
35
33
  > textarea {
36
34
  @extend .form-control;
37
- min-height: 150px;
35
+
36
+ min-height: 10rem;
38
37
  }
39
38
  }
40
39
 
@@ -42,10 +41,9 @@
42
41
  @extend .col-2;
43
42
 
44
43
  > label {
45
- @extend .col-form-label;
44
+ @extend .col-form-label, .pb-1, .w-100;
45
+
46
46
  border-bottom: 1px dashed #ccc;
47
- padding-bottom: 0;
48
- width: 100%;
49
47
  }
50
48
  }
51
49
 
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AdministrateBootstrapTheme
4
- VERSION = '1.0.1'
4
+ VERSION = '1.0.4'
5
5
  BOOTSTRAP_VERSION = '5.1.0'
6
6
  end
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "administrate-bootstrap-theme",
3
- "version": "1.0.1",
3
+ "version": "1.0.4",
4
4
  "main": "index.js",
5
5
  "author": "Mattia Roccoberton <mat@blocknot.es>",
6
6
  "license": "MIT",
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: administrate-bootstrap-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mattia Roccoberton
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-04 00:00:00.000000000 Z
11
+ date: 2022-02-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: administrate
@@ -24,20 +24,6 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0.14'
27
- - !ruby/object:Gem::Dependency
28
- name: sassc
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: '2.4'
34
- type: :runtime
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
39
- - !ruby/object:Gem::Version
40
- version: '2.4'
41
27
  description: 'A Bootstrap theme for Administrate: clean design, easy to install, customizable'
42
28
  email:
43
29
  - mat@blocknot.es
@@ -165,7 +151,7 @@ metadata:
165
151
  homepage_uri: https://github.com/blocknotes/administrate-bootstrap-theme
166
152
  source_code_uri: https://github.com/blocknotes/administrate-bootstrap-theme
167
153
  rubygems_mfa_required: 'true'
168
- post_install_message:
154
+ post_install_message:
169
155
  rdoc_options: []
170
156
  require_paths:
171
157
  - lib
@@ -173,15 +159,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
173
159
  requirements:
174
160
  - - ">="
175
161
  - !ruby/object:Gem::Version
176
- version: 2.5.0
162
+ version: 2.6.0
177
163
  required_rubygems_version: !ruby/object:Gem::Requirement
178
164
  requirements:
179
165
  - - ">="
180
166
  - !ruby/object:Gem::Version
181
167
  version: '0'
182
168
  requirements: []
183
- rubygems_version: 3.0.3.1
184
- signing_key:
169
+ rubygems_version: 3.1.6
170
+ signing_key:
185
171
  specification_version: 4
186
172
  summary: Administrate Bootstrap Theme
187
173
  test_files: []