bulma-rails 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c4cfbda8cfc8fffb2a18fe246b4036d7ee45a8eb3822a5f7ca22a298012730a2
4
- data.tar.gz: a1d9891c5160e2225a5b2eff83eb48bbfe484b67a89ba12be1b223ed56f6d881
3
+ metadata.gz: c297726f80e8383d309a22449fff219ea0f79160767b4bd765698ac4b655a3a4
4
+ data.tar.gz: 953be6cbed644fa402b2b11aa99e3aebb01278165aae6e91018f5980ddd0b757
5
5
  SHA512:
6
- metadata.gz: dc4f8a1c7a3c1d58e3dbc6eb6641ea06401335aa8682f3fab7383f4c7ed6c6f30b6122c0024873c0d493818c1a06beef20448a331dddac20fc766c31b5a55b38
7
- data.tar.gz: bd17be47f3058a805303ab5febb080f141e1528862c2b257dbb2f3c5788cba406bf483aeb1567f3d31aa1724d27ee68aaf5a6468ef293a270b23ce8ca7a8e13b
6
+ metadata.gz: a5274cdb5f73f1aa8368d537c8f0283336f6d869be9963e89e9ecfe9f1f8d83621c25e94de0f7909ce8b8f79dcce344fc835898114697a4da0913679b8f9edb1
7
+ data.tar.gz: 78a292fa0c4a943aafead287a0446d37214141932fe5390e622bb985ba99782d585c779b05e0701ab9835fa330f56838888edbd1873aff4216c20bdfb4bd8192
@@ -112,15 +112,3 @@ textarea.#{iv.$class-prefix}is-skeleton {
112
112
  }
113
113
  }
114
114
  }
115
-
116
- .#{iv.$class-prefix}skeleton {
117
- background-image: linear-gradient(
118
- 0deg,
119
- transparent 0%,
120
- transparent 50%,
121
- #f60 50%,
122
- #f60 100%
123
- );
124
- background-position: top left;
125
- background-size: 1.5em;
126
- }
@@ -33,6 +33,7 @@ $button-border-width: cv.getVar("control-border-width") !default;
33
33
 
34
34
  $button-padding-vertical: 0.5em !default;
35
35
  $button-padding-horizontal: 1em !default;
36
+ $button-rounded-padding-horizontal-offset: 0.25em !default;
36
37
 
37
38
  $button-focus-border-color: cv.getVar("link-focus-border") !default;
38
39
  $button-focus-box-shadow-size: 0 0 0 0.125em !default;
@@ -533,8 +534,14 @@ $no-palette: ("white", "black", "light", "dark");
533
534
 
534
535
  &.#{iv.$class-prefix}is-rounded {
535
536
  border-radius: cv.getVar("radius-rounded");
536
- padding-left: calc(#{cv.getVar("button-padding-horizontal")} + 0.25em);
537
- padding-right: calc(#{cv.getVar("button-padding-horizontal")} + 0.25em);
537
+ padding-left: calc(
538
+ #{cv.getVar("button-padding-horizontal")} + #{$button-rounded-padding-horizontal-offset} -
539
+ #{cv.getVar("button-border-width")}
540
+ );
541
+ padding-right: calc(
542
+ #{cv.getVar("button-padding-horizontal")} + #{$button-rounded-padding-horizontal-offset} -
543
+ #{cv.getVar("button-border-width")}
544
+ );
538
545
  }
539
546
  }
540
547
 
@@ -84,6 +84,7 @@ $select-colors: shared.$form-colors !default;
84
84
  "input-focus-s": #{cv.getVar($name, "", "-s")},
85
85
  "input-focus-l": #{cv.getVar($name, "", "-l")},
86
86
  "input-border-l": #{cv.getVar($name, "", "-l")},
87
+ "arrow-color": #{cv.getVar($name)},
87
88
  )
88
89
  );
89
90
  }
@@ -58,7 +58,7 @@ $input-radius: cv.getVar("radius") !default;
58
58
  .#{iv.$class-prefix}control,
59
59
  .#{iv.$class-prefix}input,
60
60
  .#{iv.$class-prefix}textarea,
61
- .#{iv.$class-prefix}select select {
61
+ .#{iv.$class-prefix}select {
62
62
  @include cv.register-vars(
63
63
  (
64
64
  "input-h": #{$input-h},
@@ -10,7 +10,7 @@ $column-min-base: 1.5rem;
10
10
  @mixin fixed-grid-properties($suffix: "") {
11
11
  @for $i from 1 through $max-column-count {
12
12
  &.#{iv.$class-prefix}has-#{$i}-cols#{$suffix} {
13
- .#{iv.$class-prefix}grid {
13
+ > .#{iv.$class-prefix}grid {
14
14
  @include cv.register-var("grid-column-count", #{$i});
15
15
  }
16
16
  }
@@ -24,7 +24,7 @@ $grid-container-name: bulma-fixed-grid;
24
24
  container-name: $grid-container-name;
25
25
  container-type: inline-size;
26
26
 
27
- .#{iv.$class-prefix}grid {
27
+ > .#{iv.$class-prefix}grid {
28
28
  @include cv.register-vars(
29
29
  (
30
30
  "grid-gap-count": calc(#{cv.getVar("grid-column-count")} - 1),
@@ -81,6 +81,7 @@ $scheme-main: hsl(iv.$scheme-h, iv.$scheme-s, $scheme-main-l);
81
81
  "radius-rounded": 9999px,
82
82
  "speed": 86ms,
83
83
 
84
+ "arrow-color": #{cv.getVar("link")},
84
85
  "loading-color": #{cv.getVar("border")},
85
86
  "burger-h": #{cv.getVar("link-h")},
86
87
  "burger-s": #{cv.getVar("link-s")},
@@ -1,7 +1,7 @@
1
1
  @use "initial-variables" as iv;
2
2
  @use "css-variables" as cv;
3
3
 
4
- @mixin arrow($color: #{cv.getVar("link")}) {
4
+ @mixin arrow($color: #{cv.getVar("arrow-color")}) {
5
5
  border: 0.125em solid $color;
6
6
  border-right: 0;
7
7
  border-top: 0;
data/bulma-rails.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |gem|
2
2
  gem.name = "bulma-rails"
3
- gem.version = "1.0.0"
3
+ gem.version = "1.0.1"
4
4
  gem.authors = ["Joshua Jansen"]
5
5
  gem.email = ["joshuajansen88@gmail.com"]
6
6
  gem.description = %q{A modern CSS framework based on Flexbox}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bulma-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joshua Jansen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-10 00:00:00.000000000 Z
11
+ date: 2024-05-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dartsass-rails
@@ -129,7 +129,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
129
129
  - !ruby/object:Gem::Version
130
130
  version: '0'
131
131
  requirements: []
132
- rubygems_version: 3.0.3.1
132
+ rubygems_version: 3.3.5
133
133
  signing_key:
134
134
  specification_version: 4
135
135
  summary: This gem adds the bulma.io assets to your asset pipeline so you can import