-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathstyles.scss
173 lines (136 loc) · 3.54 KB
/
styles.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
@import '~@angular/material/theming';
@import "~@aws-amplify/ui/src/Theme.css";
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
$blackish: rgba(50,50, 50, 1.0);
$lighter-black: rgba(128, 128, 128, 1.0);
$disabled-black: rgba(75, 75, 75, 1.0);
.amplify-block {
@import "~@aws-amplify/ui/src/Angular";
.amplify-container {
padding-bottom: 2em;
}
}
// Plus imports for other components in your app.
// Include the common styles for Angular Material. We include this here so that you only
// have to load a single css file for Angular Material in your app.
// Be sure that you only ever include this mixin once!
@include mat-core();
// Define the palettes for your theme using the Material Design palettes available in palette.scss
// (imported above). For each palette, you can optionally specify a default, lighter, and darker
// hue. Available color palettes: https://material.io/design/color/
$app-primary: mat-palette($mat-light-blue, 600);
$app-accent: mat-palette($mat-pink, 800);
$app-active: mat-palette($mat-pink, 800);
// The warn palette is optional (defaults to red).
$app-warn: mat-palette($mat-red);
// Create the theme object (a Sass map containing all of the palettes).
$app-theme: mat-light-theme($app-primary, $app-accent, $app-warn);
@function my-mat-light-theme-foreground($color) {
@return (
base: $blackish,
divider: $lighter-black,
dividers: $lighter-black,
disabled: rgba(black, 0.3),
disabled-button: rgba(black, 0.3),
disabled-text: rgba(black, 0.3),
hint-text: $blackish,
secondary-text: $blackish,
icon: $blackish,
icons: $blackish,
text: $blackish,
slider-min: $blackish,
slider-off: $blackish,
slider-off-active: $blackish,
);
}
;
// You can put any color here. I've chosen mat-color($my-app-primary, 700)
$my-foreground: my-mat-light-theme-foreground(mat-color($app-primary, 700));
$my-app-theme-custom: map-merge($app-theme, (foreground: $my-foreground));
// Include theme styles for core and each component used in your app.
// Alternatively, you can import and @include the theme mixins for each component
// that you are using.
@include angular-material-theme($my-app-theme-custom);
.active {
color: mat-color($app-primary);
}
.valid, .primary {
color: mat-color($app-primary);
}
html, body {
height: 100%;
}
body {
margin: 0;
font-family: Helvetica, Roboto, "Segoe UI", Calibri, sans-serif;
}
form {
width: 100%;
}
form > * {
margin-bottom: 1.5em;
width: 100%;
}
a {
color: mat-color($app-accent);
}
.cursor-pointer {
cursor: pointer;
}
.full-width {
width: 100%;
}
.active {
color: mat-color($app-active);
}
blockquote {
&.twitter-tweet-error {
* {
display: none;
}
}
}
.app-toolbar-separator {
display: flex;
min-width: 1em;
}
.app-toolbar-expanding-separator {
display: flex;
flex-grow: 10;
min-width: 1em;
max-width: 100%;
}
.app-toolbar-btn {
display: flex;
}
.app-toolbar {
display: flex;
//flex-direction: row;
justify-content: left;
font-size: 14px;
//overflow: visible;
background-color: white;
box-shadow: 0px 0px 4px 1px rgba(0, 0, 0, 0.3);
}
.mat-tab-label, .mat-tab-link {
font-weight: lighter !important;
}
.mat-tab-label-active {
font-weight: normal !important;
}
.logo-button {
font-family: 'Josefin Sans', sans-serif;
font-size: 18px;
}
.logo-button img {
max-width: 24px;
max-height: 24px;
min-width: 24px;
min-height: 24px;
margin-top: -4px;
margin-right: 6px;
}
.menu-spacer {
display: inline-block;
width: 100%;
}