-
Notifications
You must be signed in to change notification settings - Fork 265
/
style.scss
52 lines (48 loc) · 1.22 KB
/
style.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
a.tag-default.tag-pill:hover {
background-color: #515a61;
}
.hide-text {
text-indent: 100%;
white-space: nowrap;
overflow: hidden;
}
.loading-spinner {
position: relative;
width: 40px;
height: 40px;
margin: 90px auto;
border-radius: 50%;
border-top: 3px solid rgba(0, 0, 0, 0.1);
border-right: 3px solid rgba(0, 0, 0, 0.1);
border-bottom: 3px solid rgba(0, 0, 0, 0.1);
border-left: 3px solid #818a91;
transform: translateZ(0);
animation: spin 0.5s infinite linear;
/* TODO the spinner appears broken, might be because of this typo that existed in the original.
* We noticed it when migrating to SASS which does a compile check ;-). */
/*
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
*/
}
.error-message {
display: flex;
justify-content: center;
.error-message-presenter {
display: inline-block;
margin: 20px auto;
padding: 8px 15px;
border-radius: 4px;
color: #f02d2d;
font-weight: 600;
background: rgba(240, 45, 45, 0.1);
}
}
/* https://github.com/gothinkster/angular-realworld-example-app/blob/9e8c49514ee874e5e0bbfe53ffdba7d2fd0af36f/src/app/shared/article-helpers/article-list.component.css#L1 */
.link {
cursor: pointer;
}