diff options
author | Derick Montague <derick.montague@ibm.com> | 2020-04-14 01:01:19 +0300 |
---|---|---|
committer | Derick Montague <derick.montague@ibm.com> | 2020-05-05 08:21:52 +0300 |
commit | 408657262515e015a2964aafb8a1c76fb5259699 (patch) | |
tree | e498979c96b0d4627f550aa915a08b637f7031a7 /src/assets/styles/vendor-overrides/bootstrap/_toasts.scss | |
parent | 7e8f3a5278198760f6ddb480689b5abd16fafc1f (diff) | |
download | webui-vue-408657262515e015a2964aafb8a1c76fb5259699.tar.xz |
Update Sass architecture to require helper imports
- Restructuring file strucure to support single file components use of
Sass variables when imported into vuepress.
- Creating a scalable file structure using Sass best practices
Tested by building and testing both the vue web ui and the
the documentation application.
Signed-off-by: Derick Montague <derick.montague@ibm.com>
Change-Id: Iddcefbf305c8dac978ee24e903df33b609e395e3
Diffstat (limited to 'src/assets/styles/vendor-overrides/bootstrap/_toasts.scss')
-rw-r--r-- | src/assets/styles/vendor-overrides/bootstrap/_toasts.scss | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/src/assets/styles/vendor-overrides/bootstrap/_toasts.scss b/src/assets/styles/vendor-overrides/bootstrap/_toasts.scss new file mode 100644 index 00000000..9295b17e --- /dev/null +++ b/src/assets/styles/vendor-overrides/bootstrap/_toasts.scss @@ -0,0 +1,44 @@ +.b-toaster { + top: 75px!important; // make sure toasts do not hide top header +} + +.toast { + padding: $spacer/2 $spacer/2 $spacer/2 $spacer; + border-width: 0 0 0 3px; + .close { + font-weight: 300; + opacity: 1; + } +} + +.toast-header { + background-color: inherit!important; //override specificity + border: none; + color: $dark!important; //override specificity + padding-bottom: 0; +} + +.toast-body { + color: $dark; + padding-top: 0; +} + +.b-toast-success .toast { + border-left-color: $success!important; + background-color: $success-light; +} + +.b-toast-info .toast { + border-left-color: $info!important; + background-color: $info-light; +} + +.b-toast-danger .toast { + border-left-color: $danger!important; + background-color: $danger-light; +} + +.b-toast-warning .toast { + border-left-color: $warning!important; + background-color: $warning-light; +}
\ No newline at end of file |