-
-
Notifications
You must be signed in to change notification settings - Fork 708
/
Copy path_widgets.scss
143 lines (124 loc) · 2.25 KB
/
_widgets.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
.button-primary {
@extend %button-base;
@extend %button-primary;
}
.button-secondary {
@extend %button-base;
@extend %button-secondary;
}
.button-danger {
@extend %button-base;
@extend %button-danger;
}
.button-link {
background: none;
border: none;
display: inline;
font-weight: normal;
font-size: inherit;
cursor: pointer;
text-decoration: underline;
padding: 0;
}
.flash-message {
border-radius: 5px;
padding: 16px;
}
.error-message {
background-color: $error-background-color;
}
.warning-message {
background-color: $warning-background-color;
}
.success-message {
background-color: $success-background-color;
}
.info-message {
background-color: $info-background-color;
}
.standard-form {
@extend %standard-form;
}
.modal-backdrop {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 1000;
background-color: #000;
opacity: .5;
}
.modal {
position: fixed;
left: 0;
right: 0;
top: 0;
bottom: 0;
opacity: 1;
z-index: 1010;
display: block;
overflow-y: auto;
&.signin {
// Used by the sign-in overlay, which would prefer to be minimally wide, have no background, but
// retain the close button.
.modal {
display: flex;
flex-direction: row;
align-items: center;
}
.modal-dialog {
display: inline-block;
}
.modal-content {
background-color: transparent;
padding: 0px;
}
}
}
.modal-dialog {
position: relative;
max-width: 600px;
margin-top: 36px;
margin-bottom: auto;
margin-left: auto;
margin-right: auto;
}
.modal-close-button {
display: block;
position: absolute;
top: 0;
right: 0;
width: 32px;
height: 32px;
color: transparent;
overflow: hidden;
background-image: url("/close-m.svg");
background-size: 20px 20px;
background-repeat: no-repeat;
background-position: center;
border: none;
border-radius: 16px;
background-color: transparent;
margin: 0;
&:hover {
background-color: #eee;
cursor: pointer;
}
}
.modal-content {
min-height: 32px;
background-color: #fff;
opacity: 1;
padding: 24px;
>h2 {
font-weight: normal;
margin: 0;
margin-bottom: 24px;
border-bottom: 1px solid #ddd;
}
}
button.upgrade-plan-now {
float: right;
margin: 6px;
}