-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.css
126 lines (116 loc) · 2.56 KB
/
App.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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
@media (min-width: 510px) {
.edit-form, .add-form {
width: 500px !important; } }
body {
margin: 0;
padding: 0; }
.App {
text-align: center;
min-height: 100vh;
background-color: #4ABDAC; }
.App-header {
background-color: #F7B733;
height: 70px;
padding: 20px;
color: #FC4A1A;
margin: 0; }
.App-intro {
font-size: large; }
.recipe-list {
margin: 0 auto;
color: #DFDCE3;
padding: 10px; }
.recipe-list h2 {
margin: 0;
padding: 10px; }
.recipe-list .recipe-list-item {
border: 2px solid #F7B733;
margin-top: 10px;
text-align: left; }
.recipe-list .recipe-list-item ul {
padding: 10px;
color: #FC4A1A;
font-size: 1.2em;
list-style-type: none; }
.recipe-list .recipe-list-item .recipe-ingredients-item {
background-color: #DFDCE3;
width: 100%;
margin: auto;
border-top: 1px solid #F7B733; }
.recipe-list .recipe-list-item .edit-btn {
background-color: #4ABDAC;
color: #DFDCE3;
font-size: 1em;
font-weight: bold;
margin: 10px;
padding: 10px;
border-radius: 10px;
width: 150px; }
.recipe-list .recipe-list-item .delete-btn {
background-color: #FC4A1A;
color: #DFDCE3;
font-size: 1em;
font-weight: bold;
margin: 10px;
padding: 10px;
border-radius: 10px;
width: 150px; }
.add-btn {
background-color: #DFDCE3;
color: #4ABDAC;
font-size: 1em;
font-weight: bold;
margin: 10px;
padding: 10px;
border-radius: 10px;
width: 200px; }
.hidden {
display: none; }
.dialog {
position: fixed;
height: 100vh;
width: 100vw;
left: 0;
top: 0;
background-color: rgba(0, 0, 0, 0.4);
z-index: 3; }
.form-wrapper {
position: absolute;
max-height: 230px;
width: 100%;
top: 0;
bottom: 0;
left: 0;
right: 0;
margin: auto; }
.edit-form, .add-form {
margin: auto;
padding-top: 20px;
background-color: #4ABDAC;
border-radius: 10px;
clear: both;
overflow: auto; }
.edit-form label, .add-form label {
display: inline-block;
font-weight: bold;
width: 150px;
padding: 10px; }
.edit-form input[type=submit], .add-form input[type=submit] {
background-color: #DFDCE3;
color: #4ABDAC;
font-size: 1em;
font-weight: bold;
margin: 20px;
padding: 10px;
border-radius: 10px;
width: 200px; }
.edit-form button, .add-form button {
background-color: #DFDCE3;
color: #FC4A1A;
border: 1px solid #FC4A1A;
font-size: 1em;
font-weight: bold;
margin: 20px;
padding: 10px;
border-radius: 10px;
width: 200px; }