diff --git a/src/app/@theme/styles/cosmic/_buttons.scss b/src/app/@theme/styles/cosmic/_buttons.scss index 370eb97b..286fd1f8 100644 --- a/src/app/@theme/styles/cosmic/_buttons.scss +++ b/src/app/@theme/styles/cosmic/_buttons.scss @@ -1,113 +1,253 @@ @mixin ngx-buttons-theme($theme-name) { + .hero-buttons { + $btn-component-size: 50px; + $btn-component-bd-radius: 12px; - $btn-component-size: 50px; - $btn-component-bd-radius: 12px; + @mixin btn-component($bevel-bd, $glow, $shadow) { + .bevel-border { + box-shadow: 0 3px 0 0 $bevel-bd; + } - @mixin btn-component($bevel-bd, $glow) { - .btn-bevel-border { - box-shadow: 0 3px 0 0 $bevel-bd; + .shadow { + box-shadow: 0 4px 10px 0 $shadow; + } + + .glow { + box-shadow: 0 2px 12px 0 $glow; + } } - .btn-shadow { - box-shadow: 0 4px 10px 0 $nga-color-gradient-shadow; - } + .button-container { + padding-right: 0; - .btn-glow { - box-shadow: 0 2px 12px 0 $glow; + .container-title { + margin-bottom: 14px; + } + + .container-btn { + margin-bottom: 24px; + } + + .states-container { + .state-container { + display: flex; + + .gradient, + .border, + .bevel-border, + .shadow, + .glow { + width: $btn-component-size; + height: $btn-component-size; + border-radius: $btn-component-bd-radius; + margin-bottom: 16px; + } + + .state-details { + display: flex; + flex-direction: column; + justify-content: center; + margin-left: 17px; + height: $btn-component-size; + + .header { + color: white; + } + + .subheader { + font-size: 0.875rem; + line-height: 1rem; + font-weight: 300; + } + } + } + + &.primary-container { + .gradient { + @include primary-gradient(); + } + + @include btn-component($btn-primary-bevel-bd, $btn-primary-glow, $btn-primary-shadow); + } + + &.warning-container { + .gradient { + @include warning-gradient(); + } + + @include btn-component($btn-warning-bevel-bd, $btn-warning-glow, $btn-warning-shadow); + } + + &.success-container { + .gradient { + @include success-gradient(); + } + + @include btn-component($btn-success-bevel-bd, $btn-success-glow, $btn-success-shadow); + } + + &.info-container { + .gradient { + @include info-gradient(); + } + + @include btn-component($btn-info-bevel-bd, $btn-info-glow, $btn-info-shadow); + } + + &.danger-container { + .gradient { + @include danger-gradient(); + } + + @include btn-component($btn-danger-bevel-bd, $btn-danger-glow, $btn-danger-shadow); + } + + &.default-container { + .border { + color: $btn-default-color; + border: $btn-default-border-width solid $btn-default-border; + } + + @include btn-component($btn-default-bevel-bd, $btn-default-glow, $btn-default-shadow); + } + } } } - .btn-hero-container { - padding-right: 0; + .default-buttons { + $btn-component-size: 50px; + $btn-component-bd-radius: 12px; - .container-title { - margin-bottom: 14px; + @mixin btn-bg($background) { + background-color: $background; } - .container-btn { - margin-bottom: 24px; - } + .button-container { + padding-right: 0; - .btn-components-container { - .btn-component { - display: flex; + .container-title { + margin-bottom: 14px; + } - .btn-gradient, - .btn-border, - .btn-bevel-border, - .btn-shadow, - .btn-glow { - width: $btn-component-size; - height: $btn-component-size; - border-radius: $btn-component-bd-radius; - margin-bottom: 16px; - } + .container-btn { + margin-bottom: 24px; + } - .btn-component-details { + .states-container { + .state-container { display: flex; - flex-direction: column; - justify-content: center; - margin-left: 17px; - height: $btn-component-size; + + .original, + .hover, + .active { + width: $btn-component-size; + height: $btn-component-size; + border-radius: $btn-component-bd-radius; + margin-bottom: 16px; + } + + .state-details { + display: flex; + flex-direction: column; + justify-content: center; + margin-left: 17px; + height: $btn-component-size; + + .header { + color: white; + } + + .subheader { + font-size: 0.875rem; + line-height: 1rem; + font-weight: 300; + } + } } - .btn-component-header { - color: white; + &.primary-container { + .original { + @include btn-bg($btn-primary-bg); + } + + .hover { + @include btn-bg($btn-primary-bg-hover-focus); + } + + .active { + @include btn-bg($btn-primary-bg-active); + } } - .btn-component-subheader { - font-size: 0.875rem; - line-height: 1rem; - } - } + &.warning-container { + .original { + @include btn-bg($btn-warning-bg); + } - &.primary-container { - .btn-gradient { - @include primary-gradient(); + .hover { + @include btn-bg($btn-warning-bg-hover-focus); + } + + .active { + @include btn-bg($btn-warning-bg-active); + } } - @include btn-component($btn-primary-bevel-bd, $btn-primary-glow); - } + &.success-container { + .original { + @include btn-bg($btn-success-bg); + } - &.warning-container { - .btn-gradient { - @include warning-gradient(); + .hover { + @include btn-bg($btn-success-bg-hover-focus); + } + + .active { + @include btn-bg($btn-success-bg-active); + } } - @include btn-component($btn-warning-bevel-bd, $btn-warning-glow); - } + &.info-container { + .original { + @include btn-bg($btn-info-bg); + } - &.success-container { - .btn-gradient { - @include success-gradient(); + .hover { + @include btn-bg($btn-info-bg-hover-focus); + } + + .active { + @include btn-bg($btn-info-bg-active); + } } - @include btn-component($btn-success-bevel-bd, $btn-success-glow); - } + &.danger-container { + .original { + @include btn-bg($btn-danger-bg); + } - &.info-container { - .btn-gradient { - @include info-gradient(); + .hover { + @include btn-bg($btn-danger-bg-hover-focus); + } + + .active { + @include btn-bg($btn-danger-bg-active); + } } - @include btn-component($btn-info-bevel-bd, $btn-info-glow); - } + &.default-container { + .original { + @include btn-bg($btn-default-border); + } - &.danger-container { - .btn-gradient { - @include danger-gradient(); + .hover { + @include btn-bg($btn-default-bg-hover-focus); + } + + .active { + @include btn-bg($btn-default-bg-active); + } } - - @include btn-component($btn-danger-bevel-bd, $btn-danger-glow); - } - - &.default-container { - .btn-border { - color: $btn-default-color; - border: $btn-default-border-width solid $btn-default-border; - } - - @include btn-component($btn-default-bevel-bd, $btn-default-glow); } } } diff --git a/src/app/@theme/styles/default/_buttons.scss b/src/app/@theme/styles/default/_buttons.scss index 370eb97b..286fd1f8 100644 --- a/src/app/@theme/styles/default/_buttons.scss +++ b/src/app/@theme/styles/default/_buttons.scss @@ -1,113 +1,253 @@ @mixin ngx-buttons-theme($theme-name) { + .hero-buttons { + $btn-component-size: 50px; + $btn-component-bd-radius: 12px; - $btn-component-size: 50px; - $btn-component-bd-radius: 12px; + @mixin btn-component($bevel-bd, $glow, $shadow) { + .bevel-border { + box-shadow: 0 3px 0 0 $bevel-bd; + } - @mixin btn-component($bevel-bd, $glow) { - .btn-bevel-border { - box-shadow: 0 3px 0 0 $bevel-bd; + .shadow { + box-shadow: 0 4px 10px 0 $shadow; + } + + .glow { + box-shadow: 0 2px 12px 0 $glow; + } } - .btn-shadow { - box-shadow: 0 4px 10px 0 $nga-color-gradient-shadow; - } + .button-container { + padding-right: 0; - .btn-glow { - box-shadow: 0 2px 12px 0 $glow; + .container-title { + margin-bottom: 14px; + } + + .container-btn { + margin-bottom: 24px; + } + + .states-container { + .state-container { + display: flex; + + .gradient, + .border, + .bevel-border, + .shadow, + .glow { + width: $btn-component-size; + height: $btn-component-size; + border-radius: $btn-component-bd-radius; + margin-bottom: 16px; + } + + .state-details { + display: flex; + flex-direction: column; + justify-content: center; + margin-left: 17px; + height: $btn-component-size; + + .header { + color: white; + } + + .subheader { + font-size: 0.875rem; + line-height: 1rem; + font-weight: 300; + } + } + } + + &.primary-container { + .gradient { + @include primary-gradient(); + } + + @include btn-component($btn-primary-bevel-bd, $btn-primary-glow, $btn-primary-shadow); + } + + &.warning-container { + .gradient { + @include warning-gradient(); + } + + @include btn-component($btn-warning-bevel-bd, $btn-warning-glow, $btn-warning-shadow); + } + + &.success-container { + .gradient { + @include success-gradient(); + } + + @include btn-component($btn-success-bevel-bd, $btn-success-glow, $btn-success-shadow); + } + + &.info-container { + .gradient { + @include info-gradient(); + } + + @include btn-component($btn-info-bevel-bd, $btn-info-glow, $btn-info-shadow); + } + + &.danger-container { + .gradient { + @include danger-gradient(); + } + + @include btn-component($btn-danger-bevel-bd, $btn-danger-glow, $btn-danger-shadow); + } + + &.default-container { + .border { + color: $btn-default-color; + border: $btn-default-border-width solid $btn-default-border; + } + + @include btn-component($btn-default-bevel-bd, $btn-default-glow, $btn-default-shadow); + } + } } } - .btn-hero-container { - padding-right: 0; + .default-buttons { + $btn-component-size: 50px; + $btn-component-bd-radius: 12px; - .container-title { - margin-bottom: 14px; + @mixin btn-bg($background) { + background-color: $background; } - .container-btn { - margin-bottom: 24px; - } + .button-container { + padding-right: 0; - .btn-components-container { - .btn-component { - display: flex; + .container-title { + margin-bottom: 14px; + } - .btn-gradient, - .btn-border, - .btn-bevel-border, - .btn-shadow, - .btn-glow { - width: $btn-component-size; - height: $btn-component-size; - border-radius: $btn-component-bd-radius; - margin-bottom: 16px; - } + .container-btn { + margin-bottom: 24px; + } - .btn-component-details { + .states-container { + .state-container { display: flex; - flex-direction: column; - justify-content: center; - margin-left: 17px; - height: $btn-component-size; + + .original, + .hover, + .active { + width: $btn-component-size; + height: $btn-component-size; + border-radius: $btn-component-bd-radius; + margin-bottom: 16px; + } + + .state-details { + display: flex; + flex-direction: column; + justify-content: center; + margin-left: 17px; + height: $btn-component-size; + + .header { + color: white; + } + + .subheader { + font-size: 0.875rem; + line-height: 1rem; + font-weight: 300; + } + } } - .btn-component-header { - color: white; + &.primary-container { + .original { + @include btn-bg($btn-primary-bg); + } + + .hover { + @include btn-bg($btn-primary-bg-hover-focus); + } + + .active { + @include btn-bg($btn-primary-bg-active); + } } - .btn-component-subheader { - font-size: 0.875rem; - line-height: 1rem; - } - } + &.warning-container { + .original { + @include btn-bg($btn-warning-bg); + } - &.primary-container { - .btn-gradient { - @include primary-gradient(); + .hover { + @include btn-bg($btn-warning-bg-hover-focus); + } + + .active { + @include btn-bg($btn-warning-bg-active); + } } - @include btn-component($btn-primary-bevel-bd, $btn-primary-glow); - } + &.success-container { + .original { + @include btn-bg($btn-success-bg); + } - &.warning-container { - .btn-gradient { - @include warning-gradient(); + .hover { + @include btn-bg($btn-success-bg-hover-focus); + } + + .active { + @include btn-bg($btn-success-bg-active); + } } - @include btn-component($btn-warning-bevel-bd, $btn-warning-glow); - } + &.info-container { + .original { + @include btn-bg($btn-info-bg); + } - &.success-container { - .btn-gradient { - @include success-gradient(); + .hover { + @include btn-bg($btn-info-bg-hover-focus); + } + + .active { + @include btn-bg($btn-info-bg-active); + } } - @include btn-component($btn-success-bevel-bd, $btn-success-glow); - } + &.danger-container { + .original { + @include btn-bg($btn-danger-bg); + } - &.info-container { - .btn-gradient { - @include info-gradient(); + .hover { + @include btn-bg($btn-danger-bg-hover-focus); + } + + .active { + @include btn-bg($btn-danger-bg-active); + } } - @include btn-component($btn-info-bevel-bd, $btn-info-glow); - } + &.default-container { + .original { + @include btn-bg($btn-default-border); + } - &.danger-container { - .btn-gradient { - @include danger-gradient(); + .hover { + @include btn-bg($btn-default-bg-hover-focus); + } + + .active { + @include btn-bg($btn-default-bg-active); + } } - - @include btn-component($btn-danger-bevel-bd, $btn-danger-glow); - } - - &.default-container { - .btn-border { - color: $btn-default-color; - border: $btn-default-border-width solid $btn-default-border; - } - - @include btn-component($btn-default-bevel-bd, $btn-default-glow); } } } diff --git a/src/app/@theme/styles/light/_buttons.scss b/src/app/@theme/styles/light/_buttons.scss index 370eb97b..286fd1f8 100644 --- a/src/app/@theme/styles/light/_buttons.scss +++ b/src/app/@theme/styles/light/_buttons.scss @@ -1,113 +1,253 @@ @mixin ngx-buttons-theme($theme-name) { + .hero-buttons { + $btn-component-size: 50px; + $btn-component-bd-radius: 12px; - $btn-component-size: 50px; - $btn-component-bd-radius: 12px; + @mixin btn-component($bevel-bd, $glow, $shadow) { + .bevel-border { + box-shadow: 0 3px 0 0 $bevel-bd; + } - @mixin btn-component($bevel-bd, $glow) { - .btn-bevel-border { - box-shadow: 0 3px 0 0 $bevel-bd; + .shadow { + box-shadow: 0 4px 10px 0 $shadow; + } + + .glow { + box-shadow: 0 2px 12px 0 $glow; + } } - .btn-shadow { - box-shadow: 0 4px 10px 0 $nga-color-gradient-shadow; - } + .button-container { + padding-right: 0; - .btn-glow { - box-shadow: 0 2px 12px 0 $glow; + .container-title { + margin-bottom: 14px; + } + + .container-btn { + margin-bottom: 24px; + } + + .states-container { + .state-container { + display: flex; + + .gradient, + .border, + .bevel-border, + .shadow, + .glow { + width: $btn-component-size; + height: $btn-component-size; + border-radius: $btn-component-bd-radius; + margin-bottom: 16px; + } + + .state-details { + display: flex; + flex-direction: column; + justify-content: center; + margin-left: 17px; + height: $btn-component-size; + + .header { + color: white; + } + + .subheader { + font-size: 0.875rem; + line-height: 1rem; + font-weight: 300; + } + } + } + + &.primary-container { + .gradient { + @include primary-gradient(); + } + + @include btn-component($btn-primary-bevel-bd, $btn-primary-glow, $btn-primary-shadow); + } + + &.warning-container { + .gradient { + @include warning-gradient(); + } + + @include btn-component($btn-warning-bevel-bd, $btn-warning-glow, $btn-warning-shadow); + } + + &.success-container { + .gradient { + @include success-gradient(); + } + + @include btn-component($btn-success-bevel-bd, $btn-success-glow, $btn-success-shadow); + } + + &.info-container { + .gradient { + @include info-gradient(); + } + + @include btn-component($btn-info-bevel-bd, $btn-info-glow, $btn-info-shadow); + } + + &.danger-container { + .gradient { + @include danger-gradient(); + } + + @include btn-component($btn-danger-bevel-bd, $btn-danger-glow, $btn-danger-shadow); + } + + &.default-container { + .border { + color: $btn-default-color; + border: $btn-default-border-width solid $btn-default-border; + } + + @include btn-component($btn-default-bevel-bd, $btn-default-glow, $btn-default-shadow); + } + } } } - .btn-hero-container { - padding-right: 0; + .default-buttons { + $btn-component-size: 50px; + $btn-component-bd-radius: 12px; - .container-title { - margin-bottom: 14px; + @mixin btn-bg($background) { + background-color: $background; } - .container-btn { - margin-bottom: 24px; - } + .button-container { + padding-right: 0; - .btn-components-container { - .btn-component { - display: flex; + .container-title { + margin-bottom: 14px; + } - .btn-gradient, - .btn-border, - .btn-bevel-border, - .btn-shadow, - .btn-glow { - width: $btn-component-size; - height: $btn-component-size; - border-radius: $btn-component-bd-radius; - margin-bottom: 16px; - } + .container-btn { + margin-bottom: 24px; + } - .btn-component-details { + .states-container { + .state-container { display: flex; - flex-direction: column; - justify-content: center; - margin-left: 17px; - height: $btn-component-size; + + .original, + .hover, + .active { + width: $btn-component-size; + height: $btn-component-size; + border-radius: $btn-component-bd-radius; + margin-bottom: 16px; + } + + .state-details { + display: flex; + flex-direction: column; + justify-content: center; + margin-left: 17px; + height: $btn-component-size; + + .header { + color: white; + } + + .subheader { + font-size: 0.875rem; + line-height: 1rem; + font-weight: 300; + } + } } - .btn-component-header { - color: white; + &.primary-container { + .original { + @include btn-bg($btn-primary-bg); + } + + .hover { + @include btn-bg($btn-primary-bg-hover-focus); + } + + .active { + @include btn-bg($btn-primary-bg-active); + } } - .btn-component-subheader { - font-size: 0.875rem; - line-height: 1rem; - } - } + &.warning-container { + .original { + @include btn-bg($btn-warning-bg); + } - &.primary-container { - .btn-gradient { - @include primary-gradient(); + .hover { + @include btn-bg($btn-warning-bg-hover-focus); + } + + .active { + @include btn-bg($btn-warning-bg-active); + } } - @include btn-component($btn-primary-bevel-bd, $btn-primary-glow); - } + &.success-container { + .original { + @include btn-bg($btn-success-bg); + } - &.warning-container { - .btn-gradient { - @include warning-gradient(); + .hover { + @include btn-bg($btn-success-bg-hover-focus); + } + + .active { + @include btn-bg($btn-success-bg-active); + } } - @include btn-component($btn-warning-bevel-bd, $btn-warning-glow); - } + &.info-container { + .original { + @include btn-bg($btn-info-bg); + } - &.success-container { - .btn-gradient { - @include success-gradient(); + .hover { + @include btn-bg($btn-info-bg-hover-focus); + } + + .active { + @include btn-bg($btn-info-bg-active); + } } - @include btn-component($btn-success-bevel-bd, $btn-success-glow); - } + &.danger-container { + .original { + @include btn-bg($btn-danger-bg); + } - &.info-container { - .btn-gradient { - @include info-gradient(); + .hover { + @include btn-bg($btn-danger-bg-hover-focus); + } + + .active { + @include btn-bg($btn-danger-bg-active); + } } - @include btn-component($btn-info-bevel-bd, $btn-info-glow); - } + &.default-container { + .original { + @include btn-bg($btn-default-border); + } - &.danger-container { - .btn-gradient { - @include danger-gradient(); + .hover { + @include btn-bg($btn-default-bg-hover-focus); + } + + .active { + @include btn-bg($btn-default-bg-active); + } } - - @include btn-component($btn-danger-bevel-bd, $btn-danger-glow); - } - - &.default-container { - .btn-border { - color: $btn-default-color; - border: $btn-default-border-width solid $btn-default-border; - } - - @include btn-component($btn-default-bevel-bd, $btn-default-glow); } } } diff --git a/src/app/pages/ui-features/buttons/default-buttons/default-buttons.component.html b/src/app/pages/ui-features/buttons/default-buttons/default-buttons.component.html index c2062ea8..c9b1081b 100644 --- a/src/app/pages/ui-features/buttons/default-buttons/default-buttons.component.html +++ b/src/app/pages/ui-features/buttons/default-buttons/default-buttons.component.html @@ -1,222 +1,186 @@ -
-
-
+
+
+
Primary Button
-
+
-
-
-
- -
-
- Default - #7659ff +
+
+
+
+ Default + #7659ff
-
-
- -
-
- Hover - 20% white +
+
+
+ Hover + 20% white
-
-
- -
-
- Active - 20% black +
+
+
+ Active + 20% black
-
-
+
+
Warning Button
-
+
-
-
-
- -
-
- Default - #ffcb17 +
+
+
+
+ Default + #7659ff
-
-
- -
-
- Hover - 20% white +
+
+
+ Hover + 20% white
-
-
- -
-
- Active - 20% black +
+
+
+ Active + 20% black
-
-
+
+
Success Button
-
+
-
-
-
- -
-
- Default - #00d977 +
+
+
+
+ Default + #7659ff
-
-
- -
-
- Hover - 20% white +
+
+
+ Hover + 20% white
-
-
- -
-
- Active - 20% black +
+
+
+ Active + 20% black
-
-
+
+
Info Button
-
+
-
-
-
- -
-
- Default - #0088ff +
+
+
+
+ Default + #7659ff
-
-
- -
-
- Hover - 20% white +
+
+
+ Hover + 20% white
-
-
- -
-
- Active - 20% black +
+
+
+ Active + 20% black
-
-
+
+
Danger Button
-
+
-
-
-
- -
-
- Default - #ff386a +
+
+
+
+ Default + #7659ff
-
-
- -
-
- Hover - 20% white +
+
+
+ Hover + 20% white
-
-
- -
-
- Active - 20% black +
+
+
+ Active + 20% black
-
-
+
+
Default Button
-
+
-
-
-
- -
-
- Default - transparent +
+
+
+
+ Default + #7659ff
-
-
- -
-
- Hover - 20% white +
+
+
+ Hover + 20% white
-
-
- -
-
- Active - 20% black +
+
+
+ Active + 20% black
diff --git a/src/app/pages/ui-features/buttons/default-buttons/default-buttons.component.scss b/src/app/pages/ui-features/buttons/default-buttons/default-buttons.component.scss deleted file mode 100644 index a66ad542..00000000 --- a/src/app/pages/ui-features/buttons/default-buttons/default-buttons.component.scss +++ /dev/null @@ -1,33 +0,0 @@ -$btn-empty-size: 50px; - -.btn-empty { - height: $btn-empty-size !important; - width: $btn-empty-size !important; - padding: 1rem !important; -} - -.btn-default-container { - .btn-container-title { - margin-bottom: 14px; - } - - .btn-details-container { - margin-top: 24px; - - .btn-details-item { - display: flex; - margin-bottom: 8px; - - div:nth-child(2) { - display: flex; - flex-direction: column; - justify-content: center; - margin-left: 17px; - - span:nth-child(1) { - color: #ffffff; - } - } - } - } -} diff --git a/src/app/pages/ui-features/buttons/default-buttons/default-buttons.component.ts b/src/app/pages/ui-features/buttons/default-buttons/default-buttons.component.ts index ccb1a047..d6eee6f2 100644 --- a/src/app/pages/ui-features/buttons/default-buttons/default-buttons.component.ts +++ b/src/app/pages/ui-features/buttons/default-buttons/default-buttons.component.ts @@ -2,7 +2,6 @@ import { Component } from '@angular/core'; @Component({ selector: 'ngx-default-buttons', - styleUrls: ['./default-buttons.component.scss'], templateUrl: './default-buttons.component.html', }) export class DefaultButtonsComponent { diff --git a/src/app/pages/ui-features/buttons/hero-buttons/hero-buttons.component.html b/src/app/pages/ui-features/buttons/hero-buttons/hero-buttons.component.html index fe469580..3de6d324 100644 --- a/src/app/pages/ui-features/buttons/hero-buttons/hero-buttons.component.html +++ b/src/app/pages/ui-features/buttons/hero-buttons/hero-buttons.component.html @@ -1,246 +1,246 @@ -
-
+
+
Primary Button
- +
-
-
-
-
- Linear Gradient - to right, #7659ff, #ac63ff +
+
+
+
+ Linear Gradient + to right, #7659ff, #ac63ff
-
-
-
- Bevel Border - 0 3px 0 0 - #6938c9 +
+
+
+ Bevel Border + 0 3px 0 0 + #6938c9
-
-
-
- Shadow - 0 4px 10px 0 - rgba (6, 7, 64, 0.5) +
+
+
+ Shadow + 0 4px 10px 0 + rgba (6, 7, 64, 0.5)
-
-
-
- Glow - 0 2px 12px 0 - rgba (137, 66, 254, 0.8) +
+
+
+ Glow + 0 2px 12px 0 + rgba (137, 66, 254, 0.8)
-
+
Warning Button
- +
-
-
-
-
- Linear Gradient - to right, #7659ff, #ac63ff +
+
+
+
+ Linear Gradient + to right, #ffcb17, #ff874c
-
-
-
- Bevel Border - 0 3px 0 0 - #6938c9 +
+
+
+ Bevel Border + 0 3px 0 0 + #ce7b22
-
-
-
- Shadow - 0 4px 10px 0 - rgba (6, 7, 64, 0.5) +
+
+
+ Shadow + 0 4px 10px 0 + rgba (33, 7, 77, 0.5)
-
-
-
- Glow - 0 2px 12px 0 - rgba (137, 66, 254, 0.8) +
+
+
+ Glow + 0 2px 12px 0 + rgba (255, 193, 38, 0.6)
-
+
Success Button
- +
-
-
-
-
- Linear Gradient - to right, #7659ff, #ac63ff +
+
+
+
+ Linear Gradient + to right, #00c7c7, #00d977
-
-
-
- Bevel Border - 0 3px 0 0 - #6938c9 +
+
+
+ Bevel Border + 0 3px 0 0 + #00967d
-
-
-
- Shadow - 0 4px 10px 0 - rgba (6, 7, 64, 0.5) +
+
+
+ Shadow + 0 4px 10px 0 + rgba (33, 7, 77, 0.5)
-
-
-
- Glow - 0 2px 12px 0 - rgba (137, 66, 254, 0.8) +
+
+
+ Glow + 0 2px 12px 0 + rgba (35, 255, 181, 0.6)
-
+
Info Button
- +
-
-
-
-
- Linear Gradient - to right, #7659ff, #ac63ff +
+
+
+
+ Linear Gradient + to right, #3dafff, #0088ff
-
-
-
- Bevel Border - 0 3px 0 0 - #6938c9 +
+
+
+ Bevel Border + 0 3px 0 0 + #4150d9
-
-
-
- Shadow - 0 4px 10px 0 - rgba (6, 7, 64, 0.5) +
+
+
+ Shadow + 0 4px 10px 0 + rgba (33, 7, 77, 0.5)
-
-
-
- Glow - 0 2px 12px 0 - rgba (137, 66, 254, 0.8) +
+
+
+ Glow + 0 2px 12px 0 + rgba (0, 136, 255, 0.7)
-
+
Danger Button
- +
-
-
-
-
- Linear Gradient - to right, #7659ff, #ac63ff +
+
+
+
+ Linear Gradient + to right, #ff3dae, #ff386a
-
-
-
- Bevel Border - 0 3px 0 0 - #6938c9 +
+
+
+ Bevel Border + 0 3px 0 0 + #cc2568
-
-
-
- Shadow - 0 4px 10px 0 - rgba (6, 7, 64, 0.5) +
+
+
+ Shadow + 0 4px 10px 0 + rgba (33, 7, 77, 0.5)
-
-
-
- Glow - 0 2px 12px 0 - rgba (137, 66, 254, 0.8) +
+
+
+ Glow + 0 2px 12px 0 + rgba (255, 73, 184, 0.8)
-
+
Ghost Button
-
-
-
-
- Border - to right, #7659ff, #ac63ff +
+
+
+
+ Border + White
-
-
-
- Bevel Border - 0 2px 0 0 - #6938c9 +
+
+
+ Bevel Border + 0 2px 0 0 + #665ebd
-
-
-
- Shadow - 0 4px 10px 0 - rgba (6, 7, 64, 0.5) +
+
+
+ Shadow + 0 4px 10px 0 + rgba (33, 7, 77, 0.5)
-
-
-
- Glow - 0 2px 12px 0 - rgba (137, 66, 254, 0.8) +
+
+
+ Glow + 0 2px 12px 0 + rgba (146, 141, 255, 1)
diff --git a/src/app/pages/ui-features/buttons/shape-buttons/shape-buttons.component.html b/src/app/pages/ui-features/buttons/shape-buttons/shape-buttons.component.html index f3feb524..fd32ecd8 100644 --- a/src/app/pages/ui-features/buttons/shape-buttons/shape-buttons.component.html +++ b/src/app/pages/ui-features/buttons/shape-buttons/shape-buttons.component.html @@ -1,9 +1,9 @@
-
-
+
+
Rectangle Button
-
+
Border radius: 4px
@@ -11,11 +11,11 @@
-
-
+
+
Semi-round Button
-
+
Border radius: 12px
@@ -23,11 +23,11 @@
-
-
+
+
Rounded Button
-
+
Border radius: round
diff --git a/src/app/pages/ui-features/buttons/shape-buttons/shape-buttons.component.scss b/src/app/pages/ui-features/buttons/shape-buttons/shape-buttons.component.scss index ab486e8c..e6487321 100644 --- a/src/app/pages/ui-features/buttons/shape-buttons/shape-buttons.component.scss +++ b/src/app/pages/ui-features/buttons/shape-buttons/shape-buttons.component.scss @@ -1,9 +1,11 @@ -.btn-shape-name { +.shape-container .header { margin-bottom: 7px; } -.btn-shape-details { +.shape-container .subheader { margin-bottom: 19px; + font-weight: 300; + font-size: 0.875rem; span:nth-child(2) { color: #ffffff; diff --git a/src/app/pages/ui-features/buttons/size-buttons/size-buttons.component.html b/src/app/pages/ui-features/buttons/size-buttons/size-buttons.component.html index db1c3aa1..1d23d93d 100644 --- a/src/app/pages/ui-features/buttons/size-buttons/size-buttons.component.html +++ b/src/app/pages/ui-features/buttons/size-buttons/size-buttons.component.html @@ -1,42 +1,42 @@
-
-
+
+
Rectangle Button
-
+
1.25rem 1.75rem
-
-
+
+
Medium Button
-
+
1rem 1.5rem
-
-
+
+
Small Button
-
+
0.875rem 1.5rem
-
-
+
+
Tiny Button
-
+
0.625rem 1.25rem
diff --git a/src/app/pages/ui-features/buttons/size-buttons/size-buttons.component.scss b/src/app/pages/ui-features/buttons/size-buttons/size-buttons.component.scss index 1852e882..7a1a9e56 100644 --- a/src/app/pages/ui-features/buttons/size-buttons/size-buttons.component.scss +++ b/src/app/pages/ui-features/buttons/size-buttons/size-buttons.component.scss @@ -1,10 +1,18 @@ -.btn-size-container { - div:nth-child(1) { +.row { + padding: 0 15px; +} + +.size-container { + margin-right: 20px; + + .header { margin-bottom: 7px; } - div:nth-child(2) { + .subheader { color: #ffffff; margin-bottom: 19px; + font-size: 0.875rem; + font-weight: 300; } }