xref: /openbmc/webui-vue/src/env/assets/styles/_ibm.scss (revision 61c65effc18270d3da6148c970b30c26b1f7ebcc)
1aa0dc59cSYoshie Muranaka@font-face {
2aa0dc59cSYoshie Muranaka  font-family: 'Plex';
3aa0dc59cSYoshie Muranaka  src: url('~@/env/assets/fonts/IBM_Plex_Sans/IBMPlexSans-Light.woff') format('woff');
4aa0dc59cSYoshie Muranaka  font-weight: 200;
5aa0dc59cSYoshie Muranaka}
6aa0dc59cSYoshie Muranaka@font-face {
7aa0dc59cSYoshie Muranaka  font-family: 'Plex';
8aa0dc59cSYoshie Muranaka  src: url('~@/env/assets/fonts/IBM_Plex_Sans/IBMPlexSans-LightItalic.woff') format('woff');
9aa0dc59cSYoshie Muranaka  font-weight: 200;
10aa0dc59cSYoshie Muranaka  font-style: italic;
11aa0dc59cSYoshie Muranaka}
12aa0dc59cSYoshie Muranaka@font-face {
13aa0dc59cSYoshie Muranaka  font-family: 'Plex';
14aa0dc59cSYoshie Muranaka  src: url('~@/env/assets/fonts/IBM_Plex_Sans/IBMPlexSans-Regular.woff') format('woff');
15aa0dc59cSYoshie Muranaka  font-weight: 400;
16aa0dc59cSYoshie Muranaka}
17aa0dc59cSYoshie Muranaka@font-face {
18aa0dc59cSYoshie Muranaka  font-family: 'Plex';
19aa0dc59cSYoshie Muranaka  src: url('~@/env/assets/fonts/IBM_Plex_Sans/IBMPlexSans-Italic.woff') format('woff');
20aa0dc59cSYoshie Muranaka  font-weight: 400;
21aa0dc59cSYoshie Muranaka  font-style: italic;
22aa0dc59cSYoshie Muranaka}
23aa0dc59cSYoshie Muranaka@font-face {
24aa0dc59cSYoshie Muranaka  font-family: 'Plex';
25aa0dc59cSYoshie Muranaka  src: url('~@/env/assets/fonts/IBM_Plex_Sans/IBMPlexSans-SemiBold.woff') format('woff');
26aa0dc59cSYoshie Muranaka  font-weight: 700;
27aa0dc59cSYoshie Muranaka}
28aa0dc59cSYoshie Muranaka@font-face {
29aa0dc59cSYoshie Muranaka  font-family: 'Plex';
30aa0dc59cSYoshie Muranaka  src: url('~@/env/assets/fonts/IBM_Plex_Sans/IBMPlexSans-SemiBoldItalic.woff') format('woff');
31aa0dc59cSYoshie Muranaka  font-weight: 700;
32aa0dc59cSYoshie Muranaka  font-style: italic;
33aa0dc59cSYoshie Muranaka}
34aa0dc59cSYoshie Muranaka
35aa0dc59cSYoshie Muranaka// IBM Plex with Bootstrap default as fallbacks
36aa0dc59cSYoshie Muranaka// https://getbootstrap.com/docs/4.4/content/reboot/#native-font-stack
37aa0dc59cSYoshie Muranaka
38aa0dc59cSYoshie Muranaka$font-family-base: 'Plex', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
39aa0dc59cSYoshie Muranaka
40aa0dc59cSYoshie Muranaka// IBM theme colors
41bba02bcfSYoshie Muranaka$blue: #0F62FE;
42bba02bcfSYoshie Muranaka$red: #DA1E28;
43bba02bcfSYoshie Muranaka$green: #24A146;
44bba02bcfSYoshie Muranaka$yellow: #F1C21B;
45bba02bcfSYoshie Muranaka
46bba02bcfSYoshie Muranaka$primary: $blue;
47bba02bcfSYoshie Muranaka$danger: $red;
48bba02bcfSYoshie Muranaka$success: $green;
49bba02bcfSYoshie Muranaka$warning: $yellow;
505ea16782SDixsie Wolmers
515ea16782SDixsie Wolmers// Validation icons
525ea16782SDixsie Wolmers$enable-validation-icons: true;
535ea16782SDixsie Wolmers$form-feedback-icon-valid: none;
545ea16782SDixsie Wolmers$form-feedback-icon-invalid: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' fill='#{$danger}'  width='32' height='32' viewbox='0 0 32 32'><path fill='none' d='M0 0h32v32H0z'/><path d='M16 2C8.3 2 2 8.3 2 16s6.3 14 14 14 14-6.3 14-14S23.7 2 16 2zm5.4 21L16 17.6 10.6 23 9 21.4l5.4-5.4L9 10.6 10.6 9l5.4 5.4L21.4 9l1.6 1.6-5.4 5.4 5.4 5.4-1.6 1.6z'/></svg>");
55*61c65effSDixsie Wolmers
56*61c65effSDixsie Wolmers// Progress loading bar variables
57*61c65effSDixsie Wolmers$loading-color-0: #552de5;
58*61c65effSDixsie Wolmers$loading-color-50: $primary;
59*61c65effSDixsie Wolmers$loading-color-100: #2dbde5;
60*61c65effSDixsie Wolmers
61*61c65effSDixsie Wolmers// Progress loading bar gradient
62*61c65effSDixsie Wolmers.progress {
63*61c65effSDixsie Wolmers  height: 0.8rem!important;
64*61c65effSDixsie Wolmers}
65*61c65effSDixsie Wolmers.progress-bar {
66*61c65effSDixsie Wolmers  background: linear-gradient(
67*61c65effSDixsie Wolmers    90deg,
68*61c65effSDixsie Wolmers    $loading-color-0,
69*61c65effSDixsie Wolmers    $loading-color-50,
70*61c65effSDixsie Wolmers    $loading-color-100
71*61c65effSDixsie Wolmers  );
72*61c65effSDixsie Wolmers  background-size: 200% 200%;
73*61c65effSDixsie Wolmers  animation: gradient 3s $standard-easing--productive infinite;
74*61c65effSDixsie Wolmers}
75*61c65effSDixsie Wolmers@keyframes gradient {
76*61c65effSDixsie Wolmers  0% {
77*61c65effSDixsie Wolmers    background-position: 0% 50%;
78*61c65effSDixsie Wolmers  }
79*61c65effSDixsie Wolmers  50% {
80*61c65effSDixsie Wolmers    background-position: 100% 50%;
81*61c65effSDixsie Wolmers  }
82*61c65effSDixsie Wolmers  100% {
83*61c65effSDixsie Wolmers    background-position: 0% 50%;
84*61c65effSDixsie Wolmers  }
85*61c65effSDixsie Wolmers}