rails_modular_admin 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (118) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.md +71 -0
  4. data/Rakefile +34 -0
  5. data/app/assets/config/rails_modular_admin_manifest.js +2 -0
  6. data/app/assets/javascripts/index.js +87 -0
  7. data/app/assets/javascripts/rails_modular_admin.js +3 -0
  8. data/app/assets/javascripts/rails_modular_admin/_common/_helpers/code-helper.js +36 -0
  9. data/app/assets/javascripts/rails_modular_admin/_common/_helpers/for-helper.js +8 -0
  10. data/app/assets/javascripts/rails_modular_admin/_common/_helpers/is-helper.js +98 -0
  11. data/app/assets/javascripts/rails_modular_admin/_common/_helpers/times-helper.js +11 -0
  12. data/app/assets/javascripts/rails_modular_admin/_common/animations/animations.js +14 -0
  13. data/app/assets/javascripts/rails_modular_admin/_common/items-list/items-list.js +19 -0
  14. data/app/assets/javascripts/rails_modular_admin/_common/nprogress/nprogress.js +9 -0
  15. data/app/assets/javascripts/rails_modular_admin/_common/sameheight-items/sameheight-items.js +44 -0
  16. data/app/assets/javascripts/rails_modular_admin/app.js +1429 -0
  17. data/app/assets/javascripts/rails_modular_admin/app/_common/editor/editor-helper.js +10 -0
  18. data/app/assets/javascripts/rails_modular_admin/app/_common/editor/editor.js +34 -0
  19. data/app/assets/javascripts/rails_modular_admin/app/_common/header/nav/nav.js +14 -0
  20. data/app/assets/javascripts/rails_modular_admin/app/_common/modals/modal-media/modal-media.js +23 -0
  21. data/app/assets/javascripts/rails_modular_admin/app/_common/sidebar/customize/customize.js +155 -0
  22. data/app/assets/javascripts/rails_modular_admin/app/_common/sidebar/sidebar.js +38 -0
  23. data/app/assets/javascripts/rails_modular_admin/app/charts/charts-flot/charts-flot.js +329 -0
  24. data/app/assets/javascripts/rails_modular_admin/app/charts/charts-morris/charts-morris.js +125 -0
  25. data/app/assets/javascripts/rails_modular_admin/app/dashboard/history/history.js +145 -0
  26. data/app/assets/javascripts/rails_modular_admin/app/dashboard/items/items.js +41 -0
  27. data/app/assets/javascripts/rails_modular_admin/app/dashboard/sales-breakdown/sales-breakdown.js +37 -0
  28. data/app/assets/javascripts/rails_modular_admin/app/dashboard/sales-by-countries/sales-by-countries.js +50 -0
  29. data/app/assets/javascripts/rails_modular_admin/app/dashboard/tasks/tasks.js +13 -0
  30. data/app/assets/javascripts/rails_modular_admin/app/forms/input-groups/input-groups.js +14 -0
  31. data/app/assets/javascripts/rails_modular_admin/app/items/editor/item-editor.js +34 -0
  32. data/app/assets/javascripts/rails_modular_admin/app/items/list/items-list.js +44 -0
  33. data/app/assets/javascripts/rails_modular_admin/app/pages/error.js +18 -0
  34. data/app/assets/javascripts/rails_modular_admin/auth/login/login.js +35 -0
  35. data/app/assets/javascripts/rails_modular_admin/auth/reset/reset.js +31 -0
  36. data/app/assets/javascripts/rails_modular_admin/auth/signup/signup.js +88 -0
  37. data/app/assets/javascripts/rails_modular_admin/config.js +51 -0
  38. data/app/assets/javascripts/rails_modular_admin/main.js +16 -0
  39. data/app/assets/javascripts/rails_modular_admin/vendor.js +60485 -0
  40. data/app/assets/stylesheets/rails_modular_admin.scss +1 -0
  41. data/app/assets/stylesheets/rails_modular_admin/_common/_styles/_mixins.scss +103 -0
  42. data/app/assets/stylesheets/rails_modular_admin/_common/_styles/layout.scss +74 -0
  43. data/app/assets/stylesheets/rails_modular_admin/_common/_styles/misc.scss +115 -0
  44. data/app/assets/stylesheets/rails_modular_admin/_common/_styles/typography.scss +60 -0
  45. data/app/assets/stylesheets/rails_modular_admin/_common/alert/alert.scss +27 -0
  46. data/app/assets/stylesheets/rails_modular_admin/_common/animations/animations.scss +4 -0
  47. data/app/assets/stylesheets/rails_modular_admin/_common/button/button.scss +117 -0
  48. data/app/assets/stylesheets/rails_modular_admin/_common/card/card.scss +200 -0
  49. data/app/assets/stylesheets/rails_modular_admin/_common/chart/chart.scss +9 -0
  50. data/app/assets/stylesheets/rails_modular_admin/_common/dropdown/dropdown.scss +28 -0
  51. data/app/assets/stylesheets/rails_modular_admin/_common/flex/flex.scss +14 -0
  52. data/app/assets/stylesheets/rails_modular_admin/_common/form/form.scss +235 -0
  53. data/app/assets/stylesheets/rails_modular_admin/_common/images-container/images-container.scss +129 -0
  54. data/app/assets/stylesheets/rails_modular_admin/_common/items-list/items-list.scss +388 -0
  55. data/app/assets/stylesheets/rails_modular_admin/_common/logo/logo.scss +46 -0
  56. data/app/assets/stylesheets/rails_modular_admin/_common/modal/modal-tabs.scss +27 -0
  57. data/app/assets/stylesheets/rails_modular_admin/_common/navigation/navigation.scss +114 -0
  58. data/app/assets/stylesheets/rails_modular_admin/_common/nprogress/nprogress.scss +22 -0
  59. data/app/assets/stylesheets/rails_modular_admin/_common/pagination/pagination.scss +20 -0
  60. data/app/assets/stylesheets/rails_modular_admin/_common/sameheight-items/sameheight-items.scss +5 -0
  61. data/app/assets/stylesheets/rails_modular_admin/_common/scrollbar/scrollbar.scss +24 -0
  62. data/app/assets/stylesheets/rails_modular_admin/_common/table/table.scss +12 -0
  63. data/app/assets/stylesheets/rails_modular_admin/_main.scss +41 -0
  64. data/app/assets/stylesheets/rails_modular_admin/_themes/blue-theme.scss +1 -0
  65. data/app/assets/stylesheets/rails_modular_admin/_themes/custom-theme.scss +0 -0
  66. data/app/assets/stylesheets/rails_modular_admin/_themes/green-theme.scss +10 -0
  67. data/app/assets/stylesheets/rails_modular_admin/_themes/orange-theme.scss +12 -0
  68. data/app/assets/stylesheets/rails_modular_admin/_themes/purple-theme.scss +6 -0
  69. data/app/assets/stylesheets/rails_modular_admin/_themes/red-theme.scss +11 -0
  70. data/app/assets/stylesheets/rails_modular_admin/_themes/seagreen-theme.scss +9 -0
  71. data/app/assets/stylesheets/rails_modular_admin/_variables.scss +109 -0
  72. data/app/assets/stylesheets/rails_modular_admin/app/_common/editor/editor.scss +28 -0
  73. data/app/assets/stylesheets/rails_modular_admin/app/_common/footer/footer.scss +68 -0
  74. data/app/assets/stylesheets/rails_modular_admin/app/_common/header/buttons/buttons.scss +30 -0
  75. data/app/assets/stylesheets/rails_modular_admin/app/_common/header/collapse/collapse.scss +23 -0
  76. data/app/assets/stylesheets/rails_modular_admin/app/_common/header/header.scss +33 -0
  77. data/app/assets/stylesheets/rails_modular_admin/app/_common/header/nav/nav.scss +64 -0
  78. data/app/assets/stylesheets/rails_modular_admin/app/_common/header/nav/notifications/notifications.scss +126 -0
  79. data/app/assets/stylesheets/rails_modular_admin/app/_common/header/nav/profile/profile.scss +93 -0
  80. data/app/assets/stylesheets/rails_modular_admin/app/_common/header/search/search.scss +68 -0
  81. data/app/assets/stylesheets/rails_modular_admin/app/_common/modals/modal-media/modal-media.scss +56 -0
  82. data/app/assets/stylesheets/rails_modular_admin/app/_common/modals/modals.scss +19 -0
  83. data/app/assets/stylesheets/rails_modular_admin/app/_common/sidebar/customize/customize.scss +157 -0
  84. data/app/assets/stylesheets/rails_modular_admin/app/_common/sidebar/header/header.scss +14 -0
  85. data/app/assets/stylesheets/rails_modular_admin/app/_common/sidebar/sidebar.scss +240 -0
  86. data/app/assets/stylesheets/rails_modular_admin/app/app.scss +72 -0
  87. data/app/assets/stylesheets/rails_modular_admin/app/charts/charts-flot/charts-flot.scss +18 -0
  88. data/app/assets/stylesheets/rails_modular_admin/app/dashboard/dashboard.scss +7 -0
  89. data/app/assets/stylesheets/rails_modular_admin/app/dashboard/history/history.scss +6 -0
  90. data/app/assets/stylesheets/rails_modular_admin/app/dashboard/items/items-header.scss +81 -0
  91. data/app/assets/stylesheets/rails_modular_admin/app/dashboard/items/items-list.scss +102 -0
  92. data/app/assets/stylesheets/rails_modular_admin/app/dashboard/sales-breakdown/sales-breakdown.scss +7 -0
  93. data/app/assets/stylesheets/rails_modular_admin/app/dashboard/sales-by-countries/sales-by-countries.scss +14 -0
  94. data/app/assets/stylesheets/rails_modular_admin/app/dashboard/stats/stats.scss +70 -0
  95. data/app/assets/stylesheets/rails_modular_admin/app/dashboard/tasks/tasks.scss +47 -0
  96. data/app/assets/stylesheets/rails_modular_admin/app/items/editor/item-editor.scss +3 -0
  97. data/app/assets/stylesheets/rails_modular_admin/app/items/list/items-list.scss +330 -0
  98. data/app/assets/stylesheets/rails_modular_admin/app/pages/error.scss +73 -0
  99. data/app/assets/stylesheets/rails_modular_admin/app/pages/screenful/screenful.scss +101 -0
  100. data/app/assets/stylesheets/rails_modular_admin/app/tables/responsive-tables/responsive-tables.scss +77 -0
  101. data/app/assets/stylesheets/rails_modular_admin/application.scss +26 -0
  102. data/app/assets/stylesheets/rails_modular_admin/auth/auth.scss +72 -0
  103. data/app/controllers/rails_modular_admin/application_controller.rb +5 -0
  104. data/app/helpers/rails_modular_admin/application_helper.rb +4 -0
  105. data/app/jobs/rails_modular_admin/application_job.rb +4 -0
  106. data/app/mailers/rails_modular_admin/application_mailer.rb +6 -0
  107. data/app/models/rails_modular_admin/application_record.rb +5 -0
  108. data/app/views/layouts/rails_modular_admin/application.html.erb +16 -0
  109. data/config/initializers/assets.rb +1 -0
  110. data/config/routes.rb +2 -0
  111. data/lib/generators/rails_modular_admin/USAGE +8 -0
  112. data/lib/generators/rails_modular_admin/install_generator.rb +12 -0
  113. data/lib/generators/rails_modular_admin/templates/custom-theme.scss +14 -0
  114. data/lib/rails_modular_admin.rb +11 -0
  115. data/lib/rails_modular_admin/engine.rb +5 -0
  116. data/lib/rails_modular_admin/version.rb +3 -0
  117. data/lib/tasks/rails_modular_admin_tasks.rake +47 -0
  118. metadata +205 -0
@@ -0,0 +1 @@
1
+ @import "rails_modular_admin/application";
@@ -0,0 +1,103 @@
1
+ @import 'bootstrap/scss/mixins';
2
+
3
+ // /*****************************************
4
+ // * Triangle Creation Mixin
5
+ // ******************************************/
6
+
7
+ // @mixin triangle-base() {
8
+ // content: '';
9
+ // display: block;
10
+ // width: 0;
11
+ // height: 0;
12
+ // -moz-transform: scale(.9999);
13
+ // }
14
+ // @mixin triangle($direction, $size, $color) {
15
+ // @include triangle($direction, $size * 2, $size, $color);
16
+ // }
17
+ // @mixin triangle($direction, $width, $height, $color) when ($direction = up) {
18
+ // @include triangle-base();
19
+ // border-left: ($width / 2) solid transparent;
20
+ // border-right: ($width / 2) solid transparent;
21
+ // border-bottom: $height solid $color;
22
+ // }
23
+ // @mixin triangle($direction, $width, $height, $color) when ($direction = down) {
24
+ // @include triangle-base();
25
+ // border-left: ($width / 2) solid transparent;
26
+ // border-right: ($width / 2) solid transparent;
27
+ // border-top: $height solid $color;
28
+ // }
29
+ // @mixin triangle($direction, $width, $height, $color) when ($direction = left) {
30
+ // @include triangle-base();
31
+ // border-top: ($width / 2) solid transparent;
32
+ // border-bottom: ($width / 2) solid transparent;
33
+ // border-right: $height solid $color;
34
+ // }
35
+ // @mixin triangle($direction, $width, $height, $color) when ($direction = right) {
36
+ // @include triangle-base();
37
+ // border-top: ($width / 2) solid transparent;
38
+ // border-bottom: ($width / 2) solid transparent;
39
+ // border-left: $height solid $color;
40
+ // }
41
+
42
+
43
+ /*****************************************
44
+ * Background-image: cover mixin
45
+ ******************************************/
46
+
47
+ @mixin bg-cover() {
48
+ background-size: cover;
49
+ background-position: center;
50
+ background-repeat: no-repeat;
51
+ }
52
+
53
+ /*****************************************
54
+ * Media Query Mixins
55
+ ******************************************/
56
+
57
+ // Specified breakpoint
58
+ @mixin media($name) {
59
+ @include media-breakpoint-only($name) {
60
+ @content;
61
+ };
62
+ }
63
+
64
+ // Larger than specified breakpoint
65
+ @mixin media-up($name) {
66
+ @include media-breakpoint-up($name) {
67
+ @content;
68
+ };
69
+ }
70
+
71
+ // smaller than specified breakpoint
72
+ @mixin media-down($name) {
73
+ @include media-breakpoint-down($name) {
74
+ @content;
75
+ };
76
+ }
77
+
78
+ // /******************************************
79
+ // * Placeholder
80
+ // *******************************************/
81
+ @mixin placeholder() {
82
+ &::-webkit-input-placeholder { /* WebKit, Blink, Edge */
83
+ @content;
84
+ }
85
+ &:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
86
+ @content;
87
+ }
88
+ &::-moz-placeholder { /* Mozilla Firefox 19+ */
89
+ @content;
90
+ }
91
+ &:-ms-input-placeholder { /* Internet Explorer 10-11 */
92
+ @content;
93
+ }
94
+ }
95
+
96
+
97
+ // /******************************************
98
+ // * Hardware Acceleration
99
+ // *******************************************/
100
+
101
+ @mixin accelerate() {
102
+ transform: translate3d(0, 0, 0);
103
+ }
@@ -0,0 +1,74 @@
1
+ .row {
2
+ .col {
3
+ // padding-left: $grid-gutter-width-base/2;
4
+ // padding-right: $grid-gutter-width-base/2;
5
+ // float: left;
6
+ }
7
+ }
8
+
9
+
10
+ .row-sm {
11
+ margin-left: -10px;
12
+ margin-right: -10px;
13
+
14
+ [class^='col'] {
15
+ padding-left: 10px;
16
+ padding-right: 10px;
17
+ }
18
+ }
19
+
20
+
21
+ .title-block {
22
+ padding-bottom: 15px;
23
+ margin-bottom: 30px;
24
+ border-bottom: 1px solid $color-divider;
25
+
26
+ @include clearfix();
27
+
28
+ @include media-down(sm) {
29
+ margin-bottom: 20px;
30
+ }
31
+ }
32
+
33
+
34
+ .subtitle-block {
35
+ padding-bottom: 10px;
36
+ margin-bottom: 20px;
37
+ border-bottom: 1px dashed lighten($color-divider, 3%);
38
+ }
39
+
40
+ .section {
41
+ display: block;
42
+ margin-bottom: $content-padding-y-md - $card-margin-bottom;
43
+
44
+
45
+ @include media-up(xl) {
46
+ margin-bottom: $content-padding-y-xl - $card-margin-bottom;
47
+ }
48
+
49
+ @include media(lg) {
50
+ margin-bottom: $content-padding-y-lg - $card-margin-bottom;
51
+ }
52
+
53
+ @include media(md) {
54
+ margin-bottom: $content-padding-y-md - $card-margin-bottom;
55
+ }
56
+
57
+ @include media-down(sm) {
58
+ margin-bottom: $content-padding-y-sm - $card-margin-bottom;
59
+ }
60
+
61
+
62
+ &:last-of-type {
63
+ margin-bottom: 0;
64
+ }
65
+ }
66
+
67
+ .box-placeholder {
68
+ margin-bottom: 15px;
69
+ padding: 20px;
70
+ border: 1px dashed #ddd;
71
+ background: #fafafa;
72
+ color: #444;
73
+ cursor: pointer;
74
+ }
@@ -0,0 +1,115 @@
1
+ .underline-animation {
2
+ position: absolute;
3
+ top: auto;
4
+ bottom: 1px;
5
+ left: 0;
6
+ width: 100%;
7
+ height: 1px;
8
+ background-color: $color-primary;
9
+ content: '';
10
+ transition: all 0.2s;
11
+ backface-visibility: hidden;
12
+ transform: scaleX(0);
13
+ }
14
+
15
+ .bar {
16
+ // background-color: $color-primary !important;
17
+ }
18
+
19
+
20
+ .stat-chart {
21
+ border-radius: 50%;
22
+ }
23
+
24
+ .stat {
25
+ white-space: nowrap;
26
+ overflow: hidden;
27
+ text-overflow: ellipsis;
28
+ display: inline-block;
29
+ margin-right: 10px;
30
+
31
+ .value {
32
+ font-size: 20px;
33
+ line-height: 24px;
34
+ overflow: hidden;
35
+ text-overflow: ellipsis;
36
+ font-weight: 500;
37
+ }
38
+
39
+ .name {
40
+ overflow: hidden;
41
+ text-overflow: ellipsis;
42
+ }
43
+
44
+ &.lg {
45
+ .value {
46
+ font-size: 26px;
47
+ line-height: 28px;
48
+ }
49
+
50
+ .name {
51
+ font-size: 16px;
52
+ }
53
+ }
54
+ }
55
+
56
+ .list-icon {
57
+
58
+ [class^='col'] {
59
+ cursor: pointer;
60
+
61
+ em {
62
+ font-size: 14px;
63
+ width: 40px;
64
+ vertical-align: middle;
65
+ margin: 0;
66
+ display: inline-block;
67
+ text-align: center;
68
+ -webkit-transition: all 1s;
69
+ -o-transition: all 1s;
70
+ transition: all 1s;
71
+ line-height: 30px;
72
+ }
73
+
74
+ &:hover {
75
+ em {
76
+ transform: scale(2,2);
77
+ }
78
+ }
79
+ }
80
+ }
81
+
82
+
83
+ .well {
84
+ background-image: none;
85
+ background-color: #fff;
86
+ }
87
+
88
+ .jumbotron {
89
+ background-image: none;
90
+ background-color: #fff;
91
+ padding: 15px 30px;
92
+
93
+ &.jumbotron-fluid {
94
+ padding-left: 0;
95
+ padding-right: 0;
96
+ }
97
+ }
98
+
99
+ .rounded {
100
+ border-radius: $border-radius;
101
+ }
102
+
103
+ .rounded-l {
104
+ border-radius: $border-radius-lg;
105
+ }
106
+
107
+ .rounded-s {
108
+ border-radius: $border-radius-sm;
109
+ }
110
+
111
+ .jqstooltip {
112
+ height: 25px !important;
113
+ width: auto !important;
114
+ border-radius: $border-radius-sm;
115
+ }
@@ -0,0 +1,60 @@
1
+ .title {
2
+ // font-size: 21px;
3
+ font-size: 1.45rem;
4
+ font-weight: 600;
5
+ margin-bottom: 0;
6
+
7
+ // Title large
8
+ &.l {
9
+ // font-size: 23px;
10
+ font-size: 1.6rem;
11
+ }
12
+
13
+ &.s {
14
+ // font-size: 18px;
15
+ font-size: 1.4rem;
16
+ }
17
+
18
+ .card & {
19
+ font-size: 1.1rem;
20
+ color: $color-text;
21
+ }
22
+ }
23
+
24
+ .title-description {
25
+ margin: 0;
26
+ // font-size: 14px;
27
+ font-size: 0.9rem;
28
+ font-weight: normal;
29
+ color: $color-text-light;
30
+
31
+ // Small
32
+ &.s {
33
+ // font-size: 13px;
34
+ font-size: 0.8rem;
35
+ }
36
+
37
+ @include media-down(sm) {
38
+ display: none;
39
+ }
40
+ }
41
+
42
+ .subtitle {
43
+ font-size: 1.2rem;
44
+ margin: 0;
45
+ color: $color-text-light;
46
+ }
47
+
48
+ .text-primary {
49
+ color: $color-primary;
50
+ }
51
+
52
+ .text-muted {
53
+ color: lighten($color-text-light, 10%)
54
+ }
55
+
56
+ pre {
57
+ padding: 0;
58
+ border: none;
59
+ background: none;
60
+ }
@@ -0,0 +1,27 @@
1
+ .alert {
2
+ background-image: none;
3
+
4
+ &.alert-primary {
5
+ @include alert-variant($color-primary, $color-primary, #ffffff);
6
+ }
7
+
8
+ &.alert-success {
9
+ @include alert-variant($color-success, $color-success, #ffffff);
10
+ }
11
+
12
+ &.alert-info {
13
+ @include alert-variant($color-info, $color-info, #ffffff);
14
+ }
15
+
16
+ &.alert-warning {
17
+ @include alert-variant($color-warning, $color-warning, #ffffff);
18
+ }
19
+
20
+ &.alert-danger {
21
+ @include alert-variant($color-danger, $color-danger, #ffffff);
22
+ }
23
+
24
+ &.alert-inverse {
25
+ @include alert-variant($color-inverse, $color-inverse, #ffffff);
26
+ }
27
+ }
@@ -0,0 +1,4 @@
1
+ .animated {
2
+ animation-duration: .5s;
3
+ animation-delay: .1s;
4
+ }
@@ -0,0 +1,117 @@
1
+ .btn {
2
+ background-image: none;
3
+ border-radius: 0;
4
+ margin-bottom: 5px;
5
+ line-height: 1.2;
6
+
7
+ &,
8
+ &:hover {
9
+ color: $color-text-inverse;
10
+ }
11
+
12
+
13
+ &.btn-primary {
14
+ @include button-variant( $color-primary, $color-primary);
15
+
16
+ &,
17
+ &:hover {
18
+ color: $btn-primary-color-text;
19
+ }
20
+ }
21
+
22
+ &.btn-secondary {
23
+ @include button-variant( #fff, $color-divider );
24
+ &,
25
+ &:hover {
26
+ color: $color-text;
27
+ }
28
+ }
29
+
30
+ &.btn-success {
31
+ @include button-variant( $color-success, $color-success);
32
+ // color: $color-text-inverse;
33
+ }
34
+
35
+ &.btn-info {
36
+ @include button-variant( $color-info, $color-info);
37
+ // color: $color-text-inverse;
38
+ }
39
+
40
+ &.btn-warning {
41
+ @include button-variant( $color-warning, $color-warning);
42
+ // color: $color-text-inverse;
43
+ }
44
+
45
+ &.btn-danger {
46
+ @include button-variant( $color-danger, $color-danger);
47
+ // color: $color-text-inverse;
48
+ }
49
+
50
+ // Remove all backgrounds
51
+ &.btn-primary-outline {
52
+ @include button-outline-variant($color-primary);
53
+ }
54
+
55
+ &.btn-secondary-outline {
56
+ @include button-outline-variant($color-divider);
57
+ }
58
+
59
+ &.btn-info-outline {
60
+ @include button-outline-variant($color-info);
61
+ }
62
+
63
+ &.btn-success-outline {
64
+ @include button-outline-variant($color-success);
65
+ }
66
+
67
+ &.btn-warning-outline {
68
+ @include button-outline-variant($color-warning);
69
+ }
70
+
71
+ &.btn-danger-outline {
72
+ @include button-outline-variant($color-danger);
73
+ }
74
+
75
+ &.btn-pill-left,
76
+ &.btn-pill-right,
77
+ &.btn-oval {
78
+ &:focus {
79
+ outline: none;
80
+ outline-offset: initial;
81
+ }
82
+ }
83
+
84
+ &.btn-pill-left {
85
+ border-top-left-radius: $btn-radius;
86
+ border-bottom-left-radius: $btn-radius;
87
+ }
88
+
89
+ &.btn-pill-right {
90
+ border-top-right-radius: $btn-radius;
91
+ border-bottom-right-radius: $btn-radius;
92
+ }
93
+
94
+ &.btn-oval {
95
+ border-radius: $btn-radius;
96
+ }
97
+
98
+ &.btn-link {
99
+ text-decoration: none;
100
+ }
101
+
102
+ strong {
103
+ font-weight: 600;
104
+ }
105
+
106
+ }
107
+
108
+ .btn-group {
109
+ .dropdown-menu {
110
+ & > li:last-child {
111
+ a:hover:before {
112
+ height: 0px;
113
+ transform: scaleX(0)
114
+ }
115
+ }
116
+ }
117
+ }