forked from benmvp/react-workshop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Page.css
66 lines (60 loc) · 1.08 KB
/
Page.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
.page {
background: #f2f2f2;
box-sizing: border-box;
}
.page__page {
box-sizing: border-box;
display: flex;
height: 100vh;
margin: 0 auto;
/* max-width: 1080px; */
overflow: hidden;
padding: 20px 50px 20px 20px;
position: relative;
}
.page__list {
overflow-x: hidden;
overflow-y: auto;
}
.page__view {
background: white;
border: 1px solid #222;
border-radius: 10px;
box-sizing: border-box;
flex-basis: 55%;
flex-grow: 0;
flex-shrink: 0;
margin-left: 20px;
max-height: 100%;
overflow-x: hidden;
overflow-y: auto;
padding: 10px;
}
.page__form-modal {
align-items: center;
background: rgba(255, 255, 255, .75);
display: flex;
flex-direction: column;
left: 0;
justify-content: center;
height: 100%;
position: absolute;
top: 0;
width: 100%;
}
.page__form {
background: white;
border: 1px solid #000;
box-shadow: 0 4px 16px rgba(0, 0, 0, .2);
box-sizing: border-box;
min-width: 300px;
padding: 20px;
width: 50%;
}
.page__new-email {
bottom: 10px;
cursor: pointer;
font-size: 1.5em;
position: absolute;
right: 10px;
}