sb_admin_2_rails 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +11 -0
- data/.rspec +3 -0
- data/.travis.yml +7 -0
- data/CHANGELOG.md +1 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +122 -0
- data/LICENSE.txt +21 -0
- data/README.md +43 -0
- data/Rakefile +6 -0
- data/assets/javascripts/sb_admin_2.js +58 -0
- data/assets/stylesheets/_buttons.scss +52 -0
- data/assets/stylesheets/_cards.scss +36 -0
- data/assets/stylesheets/_charts.scss +29 -0
- data/assets/stylesheets/_dropdowns.scss +21 -0
- data/assets/stylesheets/_error.scss +52 -0
- data/assets/stylesheets/_footer.scss +14 -0
- data/assets/stylesheets/_global.scss +60 -0
- data/assets/stylesheets/_login.scss +50 -0
- data/assets/stylesheets/_mixins.scss +1 -0
- data/assets/stylesheets/_navs.scss +3 -0
- data/assets/stylesheets/_utilities.scss +7 -0
- data/assets/stylesheets/_variables.scss +71 -0
- data/assets/stylesheets/navs/_global.scss +42 -0
- data/assets/stylesheets/navs/_sidebar.scss +384 -0
- data/assets/stylesheets/navs/_topbar.scss +130 -0
- data/assets/stylesheets/sb_admin_2.scss +27 -0
- data/assets/stylesheets/utilities/_animation.scss +37 -0
- data/assets/stylesheets/utilities/_background.scss +17 -0
- data/assets/stylesheets/utilities/_border.scss +7 -0
- data/assets/stylesheets/utilities/_display.scss +4 -0
- data/assets/stylesheets/utilities/_progress.scss +3 -0
- data/assets/stylesheets/utilities/_rotate.scss +7 -0
- data/assets/stylesheets/utilities/_text.scss +54 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/lib/sb_admin_2_rails/engine.rb +11 -0
- data/lib/sb_admin_2_rails/version.rb +3 -0
- data/lib/sb_admin_2_rails.rb +51 -0
- data/sb_admin_2_rails.gemspec +37 -0
- data/vendor/assets/chart.js/Chart.bundle.js +19288 -0
- data/vendor/assets/chart.js/Chart.bundle.min.js +7 -0
- data/vendor/assets/chart.js/Chart.js +14680 -0
- data/vendor/assets/chart.js/Chart.min.js +7 -0
- data/vendor/assets/datatables/dataTables.bootstrap4.css +206 -0
- data/vendor/assets/datatables/dataTables.bootstrap4.js +184 -0
- data/vendor/assets/datatables/dataTables.bootstrap4.min.css +1 -0
- data/vendor/assets/datatables/dataTables.bootstrap4.min.js +8 -0
- data/vendor/assets/datatables/jquery.dataTables.js +15296 -0
- data/vendor/assets/datatables/jquery.dataTables.min.js +166 -0
- data/vendor/assets/jquery-easing/jquery.easing.compatibility.js +59 -0
- data/vendor/assets/jquery-easing/jquery.easing.js +166 -0
- data/vendor/assets/jquery-easing/jquery.easing.min.js +1 -0
- metadata +197 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: '0267791c1c9b8aafac7a505f6228c350a5e97e36a58dfb80691a7e09031ea4c9'
|
4
|
+
data.tar.gz: 1550b0bd0d53c36aa7497d62252dd5bfff342266514426d571482165c11074d9
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 8ec62468e05638d82d73b96890a9e4a890d8176309bb0e7b4d2be58825697481322e011dbf2b05b9035d2caebeb4c98f3987ca02930516dbfa664c8e1cf162ae
|
7
|
+
data.tar.gz: 6be891a50fc5af2e2e17e8ecef0e470fc45833b1c8481707c433d8ddc67cae77f334ed31b3e57439f5e0e4348912932c62db5b5b9791b2af3a0a4c0f402bbef3
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.travis.yml
ADDED
data/CHANGELOG.md
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
# Change Log
|
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,74 @@
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
2
|
+
|
3
|
+
## Our Pledge
|
4
|
+
|
5
|
+
In the interest of fostering an open and welcoming environment, we as
|
6
|
+
contributors and maintainers pledge to making participation in our project and
|
7
|
+
our community a harassment-free experience for everyone, regardless of age, body
|
8
|
+
size, disability, ethnicity, gender identity and expression, level of experience,
|
9
|
+
nationality, personal appearance, race, religion, or sexual identity and
|
10
|
+
orientation.
|
11
|
+
|
12
|
+
## Our Standards
|
13
|
+
|
14
|
+
Examples of behavior that contributes to creating a positive environment
|
15
|
+
include:
|
16
|
+
|
17
|
+
* Using welcoming and inclusive language
|
18
|
+
* Being respectful of differing viewpoints and experiences
|
19
|
+
* Gracefully accepting constructive criticism
|
20
|
+
* Focusing on what is best for the community
|
21
|
+
* Showing empathy towards other community members
|
22
|
+
|
23
|
+
Examples of unacceptable behavior by participants include:
|
24
|
+
|
25
|
+
* The use of sexualized language or imagery and unwelcome sexual attention or
|
26
|
+
advances
|
27
|
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
28
|
+
* Public or private harassment
|
29
|
+
* Publishing others' private information, such as a physical or electronic
|
30
|
+
address, without explicit permission
|
31
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
32
|
+
professional setting
|
33
|
+
|
34
|
+
## Our Responsibilities
|
35
|
+
|
36
|
+
Project maintainers are responsible for clarifying the standards of acceptable
|
37
|
+
behavior and are expected to take appropriate and fair corrective action in
|
38
|
+
response to any instances of unacceptable behavior.
|
39
|
+
|
40
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
41
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
42
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
43
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
44
|
+
threatening, offensive, or harmful.
|
45
|
+
|
46
|
+
## Scope
|
47
|
+
|
48
|
+
This Code of Conduct applies both within project spaces and in public spaces
|
49
|
+
when an individual is representing the project or its community. Examples of
|
50
|
+
representing a project or community include using an official project e-mail
|
51
|
+
address, posting via an official social media account, or acting as an appointed
|
52
|
+
representative at an online or offline event. Representation of a project may be
|
53
|
+
further defined and clarified by project maintainers.
|
54
|
+
|
55
|
+
## Enforcement
|
56
|
+
|
57
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
|
+
reported by contacting the project team at sean.yeoh@hotmail.com. All
|
59
|
+
complaints will be reviewed and investigated and will result in a response that
|
60
|
+
is deemed necessary and appropriate to the circumstances. The project team is
|
61
|
+
obligated to maintain confidentiality with regard to the reporter of an incident.
|
62
|
+
Further details of specific enforcement policies may be posted separately.
|
63
|
+
|
64
|
+
Project maintainers who do not follow or enforce the Code of Conduct in good
|
65
|
+
faith may face temporary or permanent repercussions as determined by other
|
66
|
+
members of the project's leadership.
|
67
|
+
|
68
|
+
## Attribution
|
69
|
+
|
70
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
71
|
+
available at [http://contributor-covenant.org/version/1/4][version]
|
72
|
+
|
73
|
+
[homepage]: http://contributor-covenant.org
|
74
|
+
[version]: http://contributor-covenant.org/version/1/4/
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,122 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
sb_admin_2_rails (0.1.0)
|
5
|
+
bootstrap (~> 4.3.1)
|
6
|
+
font-awesome-sass (~> 5.9.0)
|
7
|
+
jquery-rails
|
8
|
+
sassc-rails
|
9
|
+
|
10
|
+
GEM
|
11
|
+
remote: https://rubygems.org/
|
12
|
+
specs:
|
13
|
+
actionpack (6.0.0)
|
14
|
+
actionview (= 6.0.0)
|
15
|
+
activesupport (= 6.0.0)
|
16
|
+
rack (~> 2.0)
|
17
|
+
rack-test (>= 0.6.3)
|
18
|
+
rails-dom-testing (~> 2.0)
|
19
|
+
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
20
|
+
actionview (6.0.0)
|
21
|
+
activesupport (= 6.0.0)
|
22
|
+
builder (~> 3.1)
|
23
|
+
erubi (~> 1.4)
|
24
|
+
rails-dom-testing (~> 2.0)
|
25
|
+
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
26
|
+
activesupport (6.0.0)
|
27
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
28
|
+
i18n (>= 0.7, < 2)
|
29
|
+
minitest (~> 5.1)
|
30
|
+
tzinfo (~> 1.1)
|
31
|
+
zeitwerk (~> 2.1, >= 2.1.8)
|
32
|
+
autoprefixer-rails (9.6.1.1)
|
33
|
+
execjs
|
34
|
+
bootstrap (4.3.1)
|
35
|
+
autoprefixer-rails (>= 9.1.0)
|
36
|
+
popper_js (>= 1.14.3, < 2)
|
37
|
+
sassc-rails (>= 2.0.0)
|
38
|
+
builder (3.2.3)
|
39
|
+
concurrent-ruby (1.1.5)
|
40
|
+
crass (1.0.4)
|
41
|
+
diff-lcs (1.3)
|
42
|
+
erubi (1.8.0)
|
43
|
+
execjs (2.7.0)
|
44
|
+
ffi (1.11.1)
|
45
|
+
font-awesome-sass (5.9.0)
|
46
|
+
sassc (>= 1.11)
|
47
|
+
i18n (1.6.0)
|
48
|
+
concurrent-ruby (~> 1.0)
|
49
|
+
jquery-rails (4.3.5)
|
50
|
+
rails-dom-testing (>= 1, < 3)
|
51
|
+
railties (>= 4.2.0)
|
52
|
+
thor (>= 0.14, < 2.0)
|
53
|
+
loofah (2.2.3)
|
54
|
+
crass (~> 1.0.2)
|
55
|
+
nokogiri (>= 1.5.9)
|
56
|
+
method_source (0.9.2)
|
57
|
+
mini_portile2 (2.4.0)
|
58
|
+
minitest (5.11.3)
|
59
|
+
nokogiri (1.10.4)
|
60
|
+
mini_portile2 (~> 2.4.0)
|
61
|
+
popper_js (1.14.5)
|
62
|
+
rack (2.0.7)
|
63
|
+
rack-test (1.1.0)
|
64
|
+
rack (>= 1.0, < 3)
|
65
|
+
rails-dom-testing (2.0.3)
|
66
|
+
activesupport (>= 4.2.0)
|
67
|
+
nokogiri (>= 1.6)
|
68
|
+
rails-html-sanitizer (1.2.0)
|
69
|
+
loofah (~> 2.2, >= 2.2.2)
|
70
|
+
railties (6.0.0)
|
71
|
+
actionpack (= 6.0.0)
|
72
|
+
activesupport (= 6.0.0)
|
73
|
+
method_source
|
74
|
+
rake (>= 0.8.7)
|
75
|
+
thor (>= 0.20.3, < 2.0)
|
76
|
+
rake (10.5.0)
|
77
|
+
rspec (3.8.0)
|
78
|
+
rspec-core (~> 3.8.0)
|
79
|
+
rspec-expectations (~> 3.8.0)
|
80
|
+
rspec-mocks (~> 3.8.0)
|
81
|
+
rspec-core (3.8.2)
|
82
|
+
rspec-support (~> 3.8.0)
|
83
|
+
rspec-expectations (3.8.4)
|
84
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
85
|
+
rspec-support (~> 3.8.0)
|
86
|
+
rspec-mocks (3.8.1)
|
87
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
88
|
+
rspec-support (~> 3.8.0)
|
89
|
+
rspec-support (3.8.2)
|
90
|
+
sassc (2.2.1)
|
91
|
+
ffi (~> 1.9)
|
92
|
+
sassc-rails (2.1.2)
|
93
|
+
railties (>= 4.0.0)
|
94
|
+
sassc (>= 2.0)
|
95
|
+
sprockets (> 3.0)
|
96
|
+
sprockets-rails
|
97
|
+
tilt
|
98
|
+
sprockets (3.7.2)
|
99
|
+
concurrent-ruby (~> 1.0)
|
100
|
+
rack (> 1, < 3)
|
101
|
+
sprockets-rails (3.2.1)
|
102
|
+
actionpack (>= 4.0)
|
103
|
+
activesupport (>= 4.0)
|
104
|
+
sprockets (>= 3.0.0)
|
105
|
+
thor (0.20.3)
|
106
|
+
thread_safe (0.3.6)
|
107
|
+
tilt (2.0.9)
|
108
|
+
tzinfo (1.2.5)
|
109
|
+
thread_safe (~> 0.1)
|
110
|
+
zeitwerk (2.1.10)
|
111
|
+
|
112
|
+
PLATFORMS
|
113
|
+
ruby
|
114
|
+
|
115
|
+
DEPENDENCIES
|
116
|
+
bundler (~> 2.0)
|
117
|
+
rake (~> 10.0)
|
118
|
+
rspec (~> 3.0)
|
119
|
+
sb_admin_2_rails!
|
120
|
+
|
121
|
+
BUNDLED WITH
|
122
|
+
2.0.2
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2019 Sean
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,43 @@
|
|
1
|
+
# SbAdmin2Rails
|
2
|
+
|
3
|
+
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/sb_admin_2_rails`. To experiment with that code, run `bin/console` for an interactive prompt.
|
4
|
+
|
5
|
+
TODO: Delete this and the text above, and describe your gem
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
Add this line to your application's Gemfile:
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
gem 'sb_admin_2_rails'
|
13
|
+
```
|
14
|
+
|
15
|
+
And then execute:
|
16
|
+
|
17
|
+
$ bundle
|
18
|
+
|
19
|
+
Or install it yourself as:
|
20
|
+
|
21
|
+
$ gem install sb_admin_2_rails
|
22
|
+
|
23
|
+
## Usage
|
24
|
+
|
25
|
+
TODO: Write usage instructions here
|
26
|
+
|
27
|
+
## Development
|
28
|
+
|
29
|
+
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.
|
30
|
+
|
31
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
32
|
+
|
33
|
+
## Contributing
|
34
|
+
|
35
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/sb_admin_2_rails. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
36
|
+
|
37
|
+
## License
|
38
|
+
|
39
|
+
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
40
|
+
|
41
|
+
## Code of Conduct
|
42
|
+
|
43
|
+
Everyone interacting in the SbAdmin2Rails project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/sb_admin_2_rails/blob/master/CODE_OF_CONDUCT.md).
|
data/Rakefile
ADDED
@@ -0,0 +1,58 @@
|
|
1
|
+
//= require jquery
|
2
|
+
//= require jquery_ujs
|
3
|
+
//= require popper
|
4
|
+
//= require bootstrap-sprockets
|
5
|
+
//= require Chart.min
|
6
|
+
//= require jquery.dataTables.min
|
7
|
+
//= require dataTables.bootstrap4.min
|
8
|
+
//= require jquery.easing.min
|
9
|
+
|
10
|
+
(function($) {
|
11
|
+
"use strict"; // Start of use strict
|
12
|
+
|
13
|
+
// Toggle the side navigation
|
14
|
+
$("#sidebarToggle, #sidebarToggleTop").on('click', function(e) {
|
15
|
+
$("body").toggleClass("sidebar-toggled");
|
16
|
+
$(".sidebar").toggleClass("toggled");
|
17
|
+
if ($(".sidebar").hasClass("toggled")) {
|
18
|
+
$('.sidebar .collapse').collapse('hide');
|
19
|
+
};
|
20
|
+
});
|
21
|
+
|
22
|
+
// Close any open menu accordions when window is resized below 768px
|
23
|
+
$(window).resize(function() {
|
24
|
+
if ($(window).width() < 768) {
|
25
|
+
$('.sidebar .collapse').collapse('hide');
|
26
|
+
};
|
27
|
+
});
|
28
|
+
|
29
|
+
// Prevent the content wrapper from scrolling when the fixed side navigation hovered over
|
30
|
+
$('body.fixed-nav .sidebar').on('mousewheel DOMMouseScroll wheel', function(e) {
|
31
|
+
if ($(window).width() > 768) {
|
32
|
+
var e0 = e.originalEvent,
|
33
|
+
delta = e0.wheelDelta || -e0.detail;
|
34
|
+
this.scrollTop += (delta < 0 ? 1 : -1) * 30;
|
35
|
+
e.preventDefault();
|
36
|
+
}
|
37
|
+
});
|
38
|
+
|
39
|
+
// Scroll to top button appear
|
40
|
+
$(document).on('scroll', function() {
|
41
|
+
var scrollDistance = $(this).scrollTop();
|
42
|
+
if (scrollDistance > 100) {
|
43
|
+
$('.scroll-to-top').fadeIn();
|
44
|
+
} else {
|
45
|
+
$('.scroll-to-top').fadeOut();
|
46
|
+
}
|
47
|
+
});
|
48
|
+
|
49
|
+
// Smooth scrolling using jQuery easing
|
50
|
+
$(document).on('click', 'a.scroll-to-top', function(e) {
|
51
|
+
var $anchor = $(this);
|
52
|
+
$('html, body').stop().animate({
|
53
|
+
scrollTop: ($($anchor.attr('href')).offset().top)
|
54
|
+
}, 1000, 'easeInOutExpo');
|
55
|
+
e.preventDefault();
|
56
|
+
});
|
57
|
+
|
58
|
+
})(jQuery); // End of use strict
|
@@ -0,0 +1,52 @@
|
|
1
|
+
.btn-circle {
|
2
|
+
border-radius: 100%;
|
3
|
+
height: 2.5rem;
|
4
|
+
width: 2.5rem;
|
5
|
+
font-size: 1rem;
|
6
|
+
display: inline-flex;
|
7
|
+
align-items: center;
|
8
|
+
justify-content: center;
|
9
|
+
&.btn-sm {
|
10
|
+
height: 1.8rem;
|
11
|
+
width: 1.8rem;
|
12
|
+
font-size: 0.75rem;
|
13
|
+
}
|
14
|
+
&.btn-lg {
|
15
|
+
height: 3.5rem;
|
16
|
+
width: 3.5rem;
|
17
|
+
font-size: 1.35rem;
|
18
|
+
}
|
19
|
+
}
|
20
|
+
|
21
|
+
.btn-icon-split {
|
22
|
+
padding: 0;
|
23
|
+
overflow: hidden;
|
24
|
+
display: inline-flex;
|
25
|
+
align-items: stretch;
|
26
|
+
justify-content: center;
|
27
|
+
.icon {
|
28
|
+
background: fade-out($black, .85);
|
29
|
+
display: inline-block;
|
30
|
+
padding: $btn-padding-y $btn-padding-x;
|
31
|
+
}
|
32
|
+
.text {
|
33
|
+
display: inline-block;
|
34
|
+
padding: $btn-padding-y $btn-padding-x;
|
35
|
+
}
|
36
|
+
&.btn-sm {
|
37
|
+
.icon {
|
38
|
+
padding: $btn-padding-y-sm $btn-padding-x-sm;
|
39
|
+
}
|
40
|
+
.text {
|
41
|
+
padding: $btn-padding-y-sm $btn-padding-x-sm;
|
42
|
+
}
|
43
|
+
}
|
44
|
+
&.btn-lg {
|
45
|
+
.icon {
|
46
|
+
padding: $btn-padding-y-lg $btn-padding-x-lg;
|
47
|
+
}
|
48
|
+
.text {
|
49
|
+
padding: $btn-padding-y-lg $btn-padding-x-lg;
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
// Custom Card Styling
|
2
|
+
|
3
|
+
.card {
|
4
|
+
.card-header {
|
5
|
+
// Format Dropdowns in Card Headings
|
6
|
+
.dropdown {
|
7
|
+
line-height: 1;
|
8
|
+
.dropdown-menu {
|
9
|
+
line-height: 1.5;
|
10
|
+
}
|
11
|
+
}
|
12
|
+
}
|
13
|
+
// Collapsable Card Styling
|
14
|
+
.card-header[data-toggle="collapse"] {
|
15
|
+
text-decoration: none;
|
16
|
+
position: relative;
|
17
|
+
padding: 0.75rem 3.25rem 0.75rem 1.25rem;
|
18
|
+
&::after {
|
19
|
+
position: absolute;
|
20
|
+
right: 0;
|
21
|
+
top: 0;
|
22
|
+
padding-right: 1.725rem;
|
23
|
+
line-height: 51px;
|
24
|
+
font-weight: 900;
|
25
|
+
content: '\f107';
|
26
|
+
font-family: 'Font Awesome 5 Free';
|
27
|
+
color: $gray-400;
|
28
|
+
}
|
29
|
+
&.collapsed {
|
30
|
+
border-radius: $card-border-radius;
|
31
|
+
&::after {
|
32
|
+
content: '\f105';
|
33
|
+
}
|
34
|
+
}
|
35
|
+
}
|
36
|
+
}
|