@ieeesa-npm/shared-styles 0.0.1 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/styles/theme.scss +29 -3
- package/styles/variables.scss +9 -2
package/package.json
CHANGED
package/styles/theme.scss
CHANGED
|
@@ -5,7 +5,8 @@
|
|
|
5
5
|
// button variant classes
|
|
6
6
|
.mat-mdc-button.mat-mdc-button-base {
|
|
7
7
|
&.mat-primary-button,
|
|
8
|
-
&.mat-secondary-button
|
|
8
|
+
&.mat-secondary-button,
|
|
9
|
+
&.mat-tertiary-button {
|
|
9
10
|
min-width: 103px;
|
|
10
11
|
width: auto;
|
|
11
12
|
min-height: 40px;
|
|
@@ -57,9 +58,26 @@
|
|
|
57
58
|
color: $ieeesa-background-dark-color;
|
|
58
59
|
opacity: $ieeesa-opacity-point-38;
|
|
59
60
|
}
|
|
61
|
+
|
|
62
|
+
&.mat-tertiary-button {
|
|
63
|
+
background-color: $ieeesa-white;
|
|
64
|
+
border: 1px solid $ieeesa-teritary-btn-active;
|
|
65
|
+
color: $ieeesa-teritary-btn-active;
|
|
66
|
+
}
|
|
67
|
+
&.mat-tertiary-button:hover {
|
|
68
|
+
background-color: $ieeesa-tertiary-btn-hover;
|
|
69
|
+
}
|
|
70
|
+
&.mat-tertiary-button:active {
|
|
71
|
+
background: $ieeesa-tertiary-btn-active;
|
|
72
|
+
}
|
|
73
|
+
&.mat-tertiary-button:disabled {
|
|
74
|
+
border: 1px solid $ieeesa-teritary-btn-disabled;
|
|
75
|
+
color: $ieeesa-background-dark-color;
|
|
76
|
+
opacity: $ieeesa-opacity-point-38;
|
|
77
|
+
}
|
|
60
78
|
}
|
|
61
79
|
.ieeesa-text-button {
|
|
62
|
-
color: $outline-variant;
|
|
80
|
+
color: $ieeesa-outline-variant;
|
|
63
81
|
background: none;
|
|
64
82
|
border: none;
|
|
65
83
|
}
|
|
@@ -91,6 +109,14 @@
|
|
|
91
109
|
);
|
|
92
110
|
}
|
|
93
111
|
}
|
|
112
|
+
// Bordered button with no background
|
|
113
|
+
.no-bg-color-btn {
|
|
114
|
+
color: $ieeesa-blue;
|
|
115
|
+
border-radius: 3px;
|
|
116
|
+
border: 1px solid $ieeesa-blue;
|
|
117
|
+
min-height: 40px;
|
|
118
|
+
height: auto;
|
|
119
|
+
}
|
|
94
120
|
@media (max-width: 768px) {
|
|
95
121
|
.mat-button-toggle-group {
|
|
96
122
|
.mat-button-toggle-label-content {
|
|
@@ -106,4 +132,4 @@
|
|
|
106
132
|
.cdk-overlay-pane {
|
|
107
133
|
width: 100%;
|
|
108
134
|
min-width: 312px;
|
|
109
|
-
}
|
|
135
|
+
}
|
package/styles/variables.scss
CHANGED
|
@@ -86,7 +86,7 @@ $ieeesa-date-container-outline-color: #cac4d0;
|
|
|
86
86
|
$ieeesa-select-horizontal-line-color: #595758;
|
|
87
87
|
$ieeesa-select-border-color: #918f90;
|
|
88
88
|
$ieeesa-border-gray: #d7d6d6;
|
|
89
|
-
$ieeesa-blue: #00b5e2;
|
|
89
|
+
$ieeesa-nav-blue: #00b5e2;
|
|
90
90
|
$ieeesa-primary-99: #f0f5f9;
|
|
91
91
|
// Box-shadow options
|
|
92
92
|
$ieeesa-box-shadow-1: 0px 1px 2px rgba(0, 0, 0, 0.3),
|
|
@@ -101,6 +101,8 @@ $ieeesa-box-shadow-5: 0px 8px 12px 6px rgba(0, 0, 0, 0.15),
|
|
|
101
101
|
0px 4px 4px rgba(0, 0, 0, 0.3);
|
|
102
102
|
$ieeesa-box-shadow-6: 0px 1px 3px rgba(0, 0, 0, 0.12),
|
|
103
103
|
0px 1px 1px rgba(0, 0, 0, 0.14), 0px 2px 1px -1px rgba(0, 0, 0, 0.2);
|
|
104
|
+
$ieeesa-box-shadow-7: 0px 4px 8px 0px rgba(0, 0, 0, 0.25);
|
|
105
|
+
$ieeesa-box-shadow-8: 0px 3px 0px 0px #11B7E5 inset, 0px 4px 24px 0px rgba(0, 0, 0, 0.50);
|
|
104
106
|
$ieeesa-box-inner-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.25) inset;
|
|
105
107
|
// Angular Material mat-button styles
|
|
106
108
|
$ieeesa-primary-btn-active: #00629b;
|
|
@@ -108,15 +110,20 @@ $ieeesa-primary-btn-hover: #003e65;
|
|
|
108
110
|
$ieeesa-primary-btn-disabled: rgba(28, 27, 31, 0.12);
|
|
109
111
|
$ieeesa-secondary-btn-hover: #a7a8aa;
|
|
110
112
|
$ieeesa-secondary-btn-active: rgba(29, 25, 43, 0.12);
|
|
113
|
+
$ieeesa-teritary-btn-active: #00629b;
|
|
114
|
+
$ieeesa-tertiary-btn-hover: rgba(103, 80, 164, 0.08);
|
|
115
|
+
$ieeesa-tertiary-btn-active: rgba(103, 80, 164, 0.12);
|
|
116
|
+
$ieeesa-teritary-btn-disabled: rgba(28, 27, 31, 0.12);
|
|
111
117
|
// Opacity
|
|
112
118
|
$ieeesa-opacity-point-38: 0.38;
|
|
113
119
|
// IEEE SA Branding
|
|
114
120
|
$ieeesa-primary-brand-10: #002c37;
|
|
115
121
|
$ieeesa-primary-brand-30: #0188aa;
|
|
116
122
|
$ieeesa-brand-grey-50: #777a7e;
|
|
117
|
-
$outline-variant: #cac4d0;
|
|
123
|
+
$ieeesa-outline-variant: #cac4d0;
|
|
118
124
|
$ieeesa-dark-grey: #63666a;
|
|
119
125
|
$ieeesa-neutral-variant-50: #79747e;
|
|
120
126
|
$ieeesa-success-color: #c0deef;
|
|
121
127
|
$ieeesa-error-color: #f9dedc;
|
|
122
128
|
$ieeesa-warning-color: #ffefd3;
|
|
129
|
+
$ieeesa-form-field-background: linear-gradient(0deg, rgba(0, 98, 155, 0.05) 0%, rgba(0, 98, 155, 0.05) 100%), #FFFBFE;
|