bootstrap_bux 0.1.12 → 0.1.13
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 +4 -4
- data/README.md +21 -0
- data/app/assets/stylesheets/bootstrap_bux/application.css +159 -7
- data/lib/bootstrap_bux/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9a012421cb99e960e8eec2fac93ba98a0ec5856d8a191f980b8d358cf75bd283
|
4
|
+
data.tar.gz: 844bc4fa8977cb0927a7e8265d126e4aa905bf1201191eb186d45729df6d5809
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 120fc7c09ba7482247ceeae6c61515e6903eb832cc38a857765a4a956976e26760dd985e4834e76471147c6d2bedeab7651043b4ad241f501cf02f8021f3ea3a
|
7
|
+
data.tar.gz: d8800da88f70d9f52a7480d61938257c1a1f25fea19b832f65443edb6320603a397579de94bbd208b0eac6584cc45e4ba64c454151e120ee92f16e000a5aee32
|
data/README.md
CHANGED
@@ -61,6 +61,27 @@ or
|
|
61
61
|
|
62
62
|
= render 'bootstrap_bux/osu_footer_white'
|
63
63
|
|
64
|
+
## Supported BUX CSS classes
|
65
|
+
|
66
|
+
### Links:
|
67
|
+
`.bux-link, .bux-link--before, .bux-link--after, .bux-link--reverse, .bux-link--alt, .bux-link--scarlet`
|
68
|
+
|
69
|
+
### Buttons:
|
70
|
+
`.bux-button, .bux-button--disabled, .bux-button--alt, .bux-button--small, .bux-button--alt-small, .bux-button--icon, .bux-button__icon`
|
71
|
+
|
72
|
+
### OSU Header:
|
73
|
+
`.bux-osu-nav, #osu-nav-trigger, .bux-osu-nav__link, #osu-navname-block, .bux-osu-nav__osu-logo-img`
|
74
|
+
|
75
|
+
### OSU Footer:
|
76
|
+
`.bux-footer, .bux-footer__logo, .bux-footer--light, .bux-footer__fine-print, .bux-footer--dark, .bux-footer--white, .bux-footer__logo, .bux-footer__contact, .bux_footer__email, .bux_footer__fax, .bux_footer__phone, .bux_footer__site-name, .bux-footer__social, .bux-social-links, .bux-social-links__item, .bux-social-links__link`
|
77
|
+
|
78
|
+
### Breadcrumbs:
|
79
|
+
`.bux-breadcrumb, .bux-breadcrumb__item, .bux-breadcrumb__item--current, .bux-breadcrumb__link, .bux-breadcrumb--alt`
|
80
|
+
|
81
|
+
### Accordions:
|
82
|
+
|
83
|
+
Accordions are slightly different in that they require Bootstrap JS. To build BUX-styled accordions, use the standard Bootstrap 5 accordion HTML, and add the `bux-accordion` class to the top-most level of the accordion.
|
84
|
+
|
64
85
|
## Development
|
65
86
|
|
66
87
|
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
@@ -487,7 +487,7 @@ button:not([class]):focus {
|
|
487
487
|
}
|
488
488
|
|
489
489
|
.bux-button__icon {
|
490
|
-
margin-right:
|
490
|
+
margin-right: 1rem;
|
491
491
|
height: 28px;
|
492
492
|
width: 28px;
|
493
493
|
display: flex;
|
@@ -648,7 +648,7 @@ a.bux-button {
|
|
648
648
|
.bux-footer hr {
|
649
649
|
border: none;
|
650
650
|
border-top: 2px solid #dfe3e5;
|
651
|
-
margin-bottom:
|
651
|
+
margin-bottom: 1rem
|
652
652
|
}
|
653
653
|
|
654
654
|
.bux-footer__fine-print {
|
@@ -682,7 +682,7 @@ a.bux-button {
|
|
682
682
|
.bux-footer--dark hr {
|
683
683
|
border: none;
|
684
684
|
border-top: 2px solid #868e92;
|
685
|
-
margin-bottom:
|
685
|
+
margin-bottom: 1rem
|
686
686
|
}
|
687
687
|
|
688
688
|
.bux-footer--white {
|
@@ -712,7 +712,7 @@ a.bux-button {
|
|
712
712
|
.bux-footer--white hr {
|
713
713
|
border: none;
|
714
714
|
border-top: 2px solid #eff1f2;
|
715
|
-
margin-bottom:
|
715
|
+
margin-bottom: 1rem
|
716
716
|
}
|
717
717
|
|
718
718
|
.bux-footer--white {
|
@@ -725,7 +725,7 @@ a.bux-button {
|
|
725
725
|
}
|
726
726
|
|
727
727
|
.bux-footer .bux-footer__logo {
|
728
|
-
margin-bottom:
|
728
|
+
margin-bottom: 1rem;
|
729
729
|
}
|
730
730
|
|
731
731
|
.bux-footer .bux-footer__contact p {
|
@@ -735,7 +735,9 @@ a.bux-button {
|
|
735
735
|
line-height: 1.375;
|
736
736
|
}
|
737
737
|
|
738
|
-
.bux-footer p.bux_footer__email,
|
738
|
+
.bux-footer p.bux_footer__email,
|
739
|
+
.bux-footer p.bux_footer__fax,
|
740
|
+
.bux-footer p.bux_footer__phone {
|
739
741
|
margin: 8px 0;
|
740
742
|
font-size: .875rem;
|
741
743
|
line-height: 1.375;
|
@@ -772,7 +774,8 @@ a.bux-button {
|
|
772
774
|
height: 44px;
|
773
775
|
}
|
774
776
|
|
775
|
-
.bux-social-links .bux-social-links__link i,
|
777
|
+
.bux-social-links .bux-social-links__link i,
|
778
|
+
.bux-social-links .icon {
|
776
779
|
font-size: 1.25rem;
|
777
780
|
line-height: 0;
|
778
781
|
font-family: "bux-icons";
|
@@ -789,4 +792,153 @@ a.bux-button {
|
|
789
792
|
.bux-footer__logo a {
|
790
793
|
width: 290px
|
791
794
|
}
|
795
|
+
}
|
796
|
+
|
797
|
+
/* breadcrumbs */
|
798
|
+
|
799
|
+
.bux-breadcrumb {
|
800
|
+
display: block;
|
801
|
+
margin: 1rem 0;
|
802
|
+
line-height: 1.5rem;
|
803
|
+
}
|
804
|
+
|
805
|
+
ol.bux-breadcrumb__list {
|
806
|
+
padding-left: 0;
|
807
|
+
}
|
808
|
+
|
809
|
+
.bux-breadcrumb__item {
|
810
|
+
position: relative;
|
811
|
+
display: inline-block;
|
812
|
+
color: #646a6e;
|
813
|
+
font-weight: 400;
|
814
|
+
font-size: 0.875rem;
|
815
|
+
}
|
816
|
+
|
817
|
+
.bux-breadcrumb__item::after {
|
818
|
+
font-size: .63rem;
|
819
|
+
content: "\f005";
|
820
|
+
font-family: "bux-icons";
|
821
|
+
margin-right: .25rem;
|
822
|
+
}
|
823
|
+
|
824
|
+
.bux-breadcrumb__item--current::after {
|
825
|
+
content: "";
|
826
|
+
}
|
827
|
+
|
828
|
+
.bux-breadcrumb__link {
|
829
|
+
font-family: inherit;
|
830
|
+
text-decoration: none;
|
831
|
+
border-bottom: 1px solid;
|
832
|
+
color: #ba0c2f;
|
833
|
+
border-bottom-color: #ba0c2f;
|
834
|
+
color: #ba0c2f;
|
835
|
+
margin-right: .25rem;
|
836
|
+
}
|
837
|
+
|
838
|
+
.bux-breadcrumb__link:focus {
|
839
|
+
border-bottom: none;
|
840
|
+
outline: 2px solid #3492b8;
|
841
|
+
outline-offset: 2px;
|
842
|
+
}
|
843
|
+
|
844
|
+
.bux-breadcrumb__link:hover {
|
845
|
+
color: #212325;
|
846
|
+
border-bottom-color: #212325;
|
847
|
+
background-color: #eff1f2;
|
848
|
+
}
|
849
|
+
|
850
|
+
.bux-breadcrumb__link:focus {
|
851
|
+
color: #ba0c2f;
|
852
|
+
}
|
853
|
+
|
854
|
+
.bux-breadcrumb--alt {
|
855
|
+
background: #bfc6cb;
|
856
|
+
border-radius: .25rem;
|
857
|
+
padding: .5rem;
|
858
|
+
}
|
859
|
+
|
860
|
+
.bux-breadcrumb--alt .bux-breadcrumb__link {
|
861
|
+
font-family: inherit;
|
862
|
+
text-decoration: none;
|
863
|
+
border-bottom: 1px solid;
|
864
|
+
color: #ba0c2f;
|
865
|
+
border-bottom-color: #ba0c2f;
|
866
|
+
}
|
867
|
+
|
868
|
+
.bux-breadcrumb--alt .bux-breadcrumb__link:focus {
|
869
|
+
border-bottom: none;
|
870
|
+
outline: 2px solid #3492b8;
|
871
|
+
outline-offset: 2px;
|
872
|
+
}
|
873
|
+
|
874
|
+
.bux-breadcrumb--alt .bux-breadcrumb__link:hover {
|
875
|
+
color: #000;
|
876
|
+
border-bottom-color: #212325;
|
877
|
+
background-color: #fff;
|
878
|
+
}
|
879
|
+
|
880
|
+
.bux-breadcrumb--alt .bux-breadcrumb__link:focus {
|
881
|
+
color: #ba0c2f;
|
882
|
+
background-color: #fff;
|
883
|
+
}
|
884
|
+
|
885
|
+
/* accordions */
|
886
|
+
|
887
|
+
.bux-accordion .accordion-item {
|
888
|
+
border-left: none;
|
889
|
+
border-right: none;
|
890
|
+
border-radius: 0;
|
891
|
+
}
|
892
|
+
|
893
|
+
.bux-accordion .accordion-button:focus,
|
894
|
+
.bux-accordion .accordion-button:hover {
|
895
|
+
color: #212325;
|
896
|
+
background: #f6f7f8;
|
897
|
+
border: none;
|
898
|
+
border-top: 2px solid #eff1f2;
|
899
|
+
}
|
900
|
+
|
901
|
+
.bux-accordion .accordion-button:focus {
|
902
|
+
outline: 2px solid #3492b8;
|
903
|
+
outline-offset: -2px;
|
904
|
+
}
|
905
|
+
|
906
|
+
.bux-accordion .accordion-button[aria-expanded=true] {
|
907
|
+
background: #fff;
|
908
|
+
}
|
909
|
+
|
910
|
+
.bux-accordion .accordion-button[aria-expanded=true]:hover {
|
911
|
+
background: #f6f7f8;
|
912
|
+
}
|
913
|
+
|
914
|
+
.bux-accordion .accordion-header button {
|
915
|
+
font-size: 1rem;
|
916
|
+
display: block;
|
917
|
+
font-weight: 700;
|
918
|
+
}
|
919
|
+
|
920
|
+
.bux-accordion .accordion-button::after {
|
921
|
+
flex-shrink: 0;
|
922
|
+
width: 0;
|
923
|
+
height: 0;
|
924
|
+
margin-left: auto;
|
925
|
+
content: "";
|
926
|
+
background: none;
|
927
|
+
transition: none;
|
928
|
+
}
|
929
|
+
|
930
|
+
.bux-accordion .accordion-button::before {
|
931
|
+
flex-shrink: 0;
|
932
|
+
width: var(--bs-accordion-btn-icon-width);
|
933
|
+
height: var(--bs-accordion-btn-icon-width);
|
934
|
+
content: "\f005";
|
935
|
+
font-family: "bux-icons";
|
936
|
+
font-size: 1rem;
|
937
|
+
left: 1rem;
|
938
|
+
color: #ba0c2f;
|
939
|
+
transition: var(--bs-accordion-btn-icon-transition);
|
940
|
+
}
|
941
|
+
|
942
|
+
.bux-accordion .accordion-button:not(.collapsed)::before {
|
943
|
+
transform: rotate(90deg);
|
792
944
|
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bootstrap_bux
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alison Furlong
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-06-
|
11
|
+
date: 2024-06-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|