-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.scss
148 lines (119 loc) · 2.3 KB
/
app.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
/**
* This injects Tailwind's base styles, which is a combination of
* Normalize.css and some additional base styles.
*
* You can see the styles here:
* https://github.com/tailwindcss/tailwindcss/blob/master/css/preflight.css
*/
@tailwind preflight;
/**
* Here you would import any custom component classes; stuff that you'd
* want loaded *before* the utilities so that the utilities can still
* override them.
*
* @import "my-components/foo";
* @import "my-components/bar";
*/
@import "components/buttons";
/**
* This injects all of Tailwind's utility classes, generated based on your
* config file.
*/
@tailwind utilities;
/**
* Here you would add any custom utilities you need that don't come out of the
* box with Tailwind.
*
* @import "my-utilities/background-images";
* @import "my-utilities/skew-transforms";
*/
// Vendor
$fa-font-path: "/assets/fonts";
@import "~font-awesome/scss/font-awesome.scss";
// Font Imports
@import url("//fonts.googleapis.com/css?family=Roboto|Zilla+Slab");
// Base element styles
html {
overflow-y: scroll;
box-sizing: border-box;
}
*, *:before, *:after {
box-sizing: inherit;
}
body {
@apply .font-sans .text-base .leading-normal .text-dark .m-0 .pb-8;
}
button, [role=button] {
@apply .cursor-pointer;
}
img {
vertical-align: middle;
}
button, input {
@apply .font-sans;
}
a {
@apply .text-grey-darkest .no-underline;
}
h1, h2, h3 {
@apply .mb-2;
}
p {
@apply .mb-2;
}
ul {
list-style: disc;
@apply .my-3 .pl-8;
ul {
@apply .m-0;
}
> li {
@apply .mb-1;
}
}
.list-style-none {
@apply .list-reset;
}
label {
@apply .text-grey-dark .text-sm;
}
input[type="text"],
input[type="email"],
input[type="password"] {
@apply .py-2 .px-3 .mb-2 .block .w-full .border .border-grey .rounded-sm;
}
select {
@apply .block .p-2 .mb-2 .border .border-grey .rounded-sm;
}
textarea {
@apply .py-3 .px-2 .w-full .resize-y .rounded-sm .border-grey;
}
div:empty {
@apply .hidden;
}
.pagerfanta {
a[rel="prev"],
a[rel="next"] {
@apply .btn-sm .btn-brand;
}
.disabled {
@apply .btn-sm .btn-disabled;
}
a, span {
@apply .px-2;
}
.current {
@apply .font-bold;
}
}
//
// Login / SignUp
//
@responsive {
.opencfp-login,
.opencfp-signup {
@apply .text-white;
@apply .w-1/6;
min-width: 20rem;
}
}