11/* Global Styles */
22
33* {
4- font-family : 'Roboto' , Arial, sans-serif;
5- color : # 616161 ;
6- box-sizing : border-box;
7- -webkit-font-smoothing : antialiased;
8- -moz-osx-font-smoothing : grayscale;
9- }
10-
11- body {
12- margin : 0 ;
13- }
14-
15- .container {
16- display : flex;
17- flex-direction : row;
18- }
19-
20- router-outlet + * {
21- padding : 0 16px ;
22- }
23-
24- /* Text */
25-
26- h1 {
27- font-size : 32px ;
28- }
29-
30- h2 {
31- font-size : 20px ;
32- }
33-
34- h1 , h2 {
35- font-weight : lighter;
36- }
37-
38- p {
39- font-size : 14px ;
40- }
41-
42- /* Hyperlink */
43-
44- a {
45- cursor : pointer;
46- color : # 1976d2 ;
47- text-decoration : none;
48- }
49-
50- a : hover {
51- opacity : 0.8 ;
52- }
53-
54- /* Input */
55-
56- input {
57- font-size : 14px ;
58- border-radius : 2px ;
59- padding : 8px ;
60- margin-bottom : 16px ;
61- border : 1px solid # BDBDBD ;
62- }
63-
64- label {
65- font-size : 12px ;
66- font-weight : bold;
67- margin-bottom : 4px ;
68- display : block;
69- text-transform : uppercase;
70- }
71-
72- /* Button */
73- .button , button {
74- display : inline-flex;
75- align-items : center;
76- padding : 8px 16px ;
77- border-radius : 2px ;
78- font-size : 14px ;
79- cursor : pointer;
80- background-color : # 1976d2 ;
81- color : white;
82- border : none;
83- }
84-
85- .button : hover , button : hover {
86- opacity : 0.8 ;
87- font-weight : normal;
88- }
89-
90- .button : disabled , button : disabled {
91- opacity : 0.5 ;
92- cursor : auto;
93- }
94-
95- /* Top Bar */
96-
97- app-top-bar {
98- width : 100% ;
99- height : 68px ;
100- background-color : # 1976d2 ;
101- padding : 16px ;
102- display : flex;
103- flex-direction : row;
104- justify-content : space-between;
105- align-items : center;
106- }
107-
108- app-top-bar h1 {
109- color : white;
110- margin : 0 ;
111- }
4+ font-family : 'Roboto' , Arial, sans-serif;
5+ color : # 616161 ;
6+ box-sizing : border-box;
7+ -webkit-font-smoothing : antialiased;
8+ -moz-osx-font-smoothing : grayscale;
9+ }
10+
11+ body {
12+ margin : 0 ;
13+ }
14+
15+ .container {
16+ display : flex;
17+ flex-direction : row;
18+ }
19+
20+ router-outlet + * {
21+ padding : 0 16px ;
22+ }
23+
24+ /* Text */
25+
26+ h1 {
27+ font-size : 32px ;
28+ }
29+
30+ h2 {
31+ font-size : 20px ;
32+ }
33+
34+ h1 ,
35+ h2 {
36+ font-weight : lighter;
37+ }
38+
39+ p {
40+ font-size : 14px ;
41+ }
42+
43+ /* Hyperlink */
44+
45+ a {
46+ cursor : pointer;
47+ color : # 1976d2 ;
48+ text-decoration : none;
49+ }
50+
51+ a : hover {
52+ opacity : 0.8 ;
53+ }
54+
55+ /* Input */
56+
57+ input {
58+ font-size : 14px ;
59+ border-radius : 2px ;
60+ padding : 8px ;
61+ margin-bottom : 16px ;
62+ border : 1px solid # BDBDBD ;
63+ }
64+
65+ label {
66+ font-size : 12px ;
67+ font-weight : bold;
68+ margin-bottom : 4px ;
69+ display : block;
70+ text-transform : uppercase;
71+ }
72+
73+ /* Button */
74+ .button ,
75+ button {
76+ display : inline-flex;
77+ align-items : center;
78+ padding : 8px 16px ;
79+ border-radius : 2px ;
80+ font-size : 14px ;
81+ cursor : pointer;
82+ background-color : # 1976d2 ;
83+ color : white;
84+ border : none;
85+ }
86+
87+ .button : hover ,
88+ button : hover {
89+ opacity : 0.8 ;
90+ font-weight : normal;
91+ }
92+
93+ .button : disabled ,
94+ button : disabled {
95+ opacity : 0.5 ;
96+ cursor : auto;
97+ }
98+
99+ /* Top Bar */
100+
101+ app-top-bar {
102+ width : 100% ;
103+ height : 68px ;
104+ background-color : # 1976d2 ;
105+ padding : 16px ;
106+ display : flex;
107+ flex-direction : row;
108+ justify-content : space-between;
109+ align-items : center;
110+ }
111+
112+ app-top-bar h1 {
113+ color : white;
114+ margin : 0 ;
115+ }
116+
117+ .loading-indicator {
118+ position : absolute;
119+ top : 0 ;
120+ left : 0 ;
121+ width : 100% ;
122+ height : 100% ;
123+ background-color : rgba (0 , 0 , 0 , 0.5 );
124+ z-index : 1000 ;
125+ display : flex;
126+ align-items : center;
127+ justify-content : center;
128+ }
129+
130+ .spinner {
131+ width : 50px ;
132+ height : 50px ;
133+ border : 5px solid # fff ;
134+ border-radius : 50% ;
135+ animation : spin 1s linear infinite;
136+ background : linear-gradient (to right, # FF0000 0% , # FF8000 17% , # FFFF00 33% , # 00FF00 50% , # 00FFFF 67% , # 0080FF 83% , # 0000FF 100% );
137+ }
138+
139+ @keyframes spin {
140+ from {
141+ transform : rotate (0deg );
142+ }
143+
144+ to {
145+ transform : rotate (360deg );
146+ }
147+ }
0 commit comments