-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.scss
153 lines (128 loc) · 2.76 KB
/
style.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
149
150
151
152
153
@mixin mt {margin-top: 10px}
@mixin hfcolor {background-color: #1e7145;}
@mixin white {color: white}
@mixin center {text-align: center}
@mixin cursor {cursor: pointer}
@mixin mr {margin-right: 10px}
$w70: 70px;
.head{
@include hfcolor;
display: center;
height: $w70;
}
.maintitle{
display: inline-block;
margin: 17px 0 17px 30px;
font-size: 25px;
@include white;
}
.addButtonArea{
text-align: right;
margin-top: -50px;
margin-right: 30px;
}
.area{
text-align: center;
}
.title {
@include cursor;
background-color: #cbe86b;
padding-top: 15px;
padding-bottom: 15px;
margin-left: 25%;
color: black;
width: 50%;
}
.list{
background-color: #f2e9e1;
padding-top: 12px;
padding-bottom: 12px;
margin-left: 25%;
width: 50%;
}
#delBtn{
@include mt;
@include mr;
margin-left: 37%;
}
#myBtn{
@include mt;
}
.ing, .editarea, .addarea{
display: none;
}
.tetitle, .teingredients {
width: 100%;
}
.teingredients{
margin-bottom: 7px;
}
.editsave{
@include mr;
}
.addrecipe, .recip, .ingre{
text-align: left;
}
/* The Modal (background) */
.modal1 {
display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 1; /* Sit on top */
padding-top: 100px; /* Location of the box */
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
overflow: auto; /* Enable scroll if needed */
background-color: rgb(0,0,0); /* Fallback color */
background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
text-align: left;
}
/* Modal Content */
.modal-content1 {
position: relative;
background-color: #fefefe;
margin: auto;
padding: 0;
border: 1px solid #888;
width: 50%;
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
-webkit-animation-name: animatetop;
-webkit-animation-duration: 0.4s;
animation-name: animatetop;
animation-duration: 0.4s;
}
/* Add Animation */
@-webkit-keyframes animatetop {
from {top:-300px; opacity:0}
to {top:0; opacity:1}
}
@keyframes animatetop {
from {top:-300px; opacity:0}
to {top:0; opacity:1}
}
/* The Close Button */
.close1 {
color: white;
float: right;
font-size: 28px;
font-weight: bold;
}
.close1:hover,
.close1:focus {
color: #000;
text-decoration: none;
cursor: pointer;
}
.modal-header1{
padding: 2px 16px;
background-color: #5cb85c;
color: white;
}
.modal-body1 {padding: 2px 16px;}
.modal-footer1{
text-align: right;
padding: 12px 16px;
background-color: #5cb85c;
color: white;
}