-
Notifications
You must be signed in to change notification settings - Fork 1
/
styles.css
111 lines (88 loc) · 3.2 KB
/
styles.css
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
body.activitychooser-enabled .section-modchooser-link {
display: none !important;
}
body.activitychooser-enabled .activitychooser-modal-body .row {
margin-bottom: 1em;
}
body.activitychooser-enabled .activitychooser-modal-body .favourites .card-title {
text-align: center;
font-size: 0.75em;
}
body.activitychooser-enabled .activitychooser-modal-body .icon {
font-size: 2em;
width: 1em;
height: 1em;
transition: all .1s ease-in-out;
}
body.activitychooser-enabled .activitychooser-modal-body .icon:hover {
transform: scale(1.5);
}
@media (max-width: 450px) {
body.activitychooser-enabled .activitychooser-modal-body .favourites .card-title {
display: none;
}
}
body.activitychooser-enabled .activitychooser-modal-body .container.favourites a:hover .card {
background-color: #f9f9f9;
border-color: #ec3;
}
body.activitychooser-enabled .activitychooser-modal-body .container.favourites a:hover {
text-decoration: none;
}
body.activitychooser-enabled .activitychooser-modal-body .toggle-favourite[class*="fa-star"] {
font-size: 1.35em;
font-weight: bold;
}
body.activitychooser-enabled .activitychooser-modal-body .toggle-favourite {
transition: all .1s ease-in-out;
}
body.activitychooser-enabled .activitychooser-modal-body .toggle-favourite:not(.spinning):hover {
transform: scale(1.5);
}
body.activitychooser-enabled .activitychooser-modal-body .toggle-favourite.fa-star-o {
color: #bfbfbf;
}
body.activitychooser-enabled .activitychooser-modal-body .toggle-favourite.fa-star {
color: #ffc107;
}
body.activitychooser-enabled .favourites .card {
border-radius: 2.5px;
}
body.activitychooser-enabled .activitychooser-modal-body .card.starred,
.favourites .card{
border-color: #ffe0a0;
}
@-moz-keyframes ajax-spin { 100% { -moz-transform: rotate(360deg); } }
@-webkit-keyframes ajax-spin { 100% { -webkit-transform: rotate(360deg); } }
@keyframes ajax-spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }
body.activitychooser-enabled .activitychooser-modal-body .toggle-favourite.spinning {
-webkit-animation:ajax-spin 3s linear infinite;
-moz-animation:ajax-spin 3s linear infinite;
animation:ajax-spin 3s linear infinite;
}
body.activitychooser-enabled .activitychooser-modal-body .full-help-text {
display: none;
}
body.activitychooser-enabled .activitychooser-modal-body .help-visible .short-help-text {
display: none;
}
body.activitychooser-enabled .activitychooser-modal-body .help-visible .full-help-text {
display: block;
}
body.activitychooser-enabled .activitychooser-modal-body .help-text:hover {
cursor: pointer;
}
body.activitychooser-enabled .activitychooser-modal-body .container h2 {
font-size: 1.2rem;
}
body.activitychooser-enabled span.expand-ico,
body.activitychooser-enabled span.collapse-ico {
min-width: 1.25rem;
}
/* Make sure toggles hide the appropriate icon according to state */
body.activitychooser-enabled .activitychooser-modal-body a[data-toggle="collapse"][aria-expanded="false"] span.collapse-ico {
display: none;
}
body.activitychooser-enabled .activitychooser-modal-body a[data-toggle="collapse"][aria-expanded="true"] span.expand-ico {
display: none;
}