Skip to content

Commit d77a19c

Browse files
author
Donovan Vernon
committed
Added new style for the modal card and table formating
1 parent be567d7 commit d77a19c

1 file changed

Lines changed: 46 additions & 3 deletions

File tree

_sass/components/_projects-page.scss

Lines changed: 46 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,19 @@
123123
border-top: solid 1px #cccccc;
124124
}
125125

126-
// page
126+
// Modal Card
127+
.search-tip-modal-card {
128+
background: $color-white;
129+
border: 0 solid rgba($color-black, 0.06);
130+
border-radius: 16px;
131+
box-shadow: 0 0 8px 0 rgba($color-black, 0.2);
132+
margin-bottom: 24px;
133+
overflow: hidden;
134+
135+
@media #{$bp-tablet-up} {
136+
margin-bottom: 0;
137+
}
138+
}
127139
.search-tip-card{
128140
padding: 45px;
129141
display: flex;
@@ -146,10 +158,10 @@
146158
line-height: 22px;
147159
}
148160

149-
// modal overlay
161+
// Modal Overlay
150162
.search-tip-overlay {
151163
display: none;
152-
z-index: 1000;
164+
z-index: 120;
153165
position: fixed;
154166
left: 0px;
155167
top: 0px;
@@ -171,6 +183,7 @@
171183
position: absolute;
172184
width: 60%;
173185
left: 20%;
186+
z-index: 121;
174187
}
175188

176189
.overlay-close-icon {
@@ -190,4 +203,34 @@
190203
width: 90%;
191204
left: 5%;
192205
}
206+
}
207+
208+
// Search Tip Table Styling
209+
.search-tip-table {
210+
width: 100%;
211+
border-collapse: collapse;
212+
margin-top: 20px;
213+
214+
th, td {
215+
padding: 12px;
216+
text-align: left;
217+
border-bottom: 1px solid #ddd;
218+
}
219+
220+
th {
221+
background-color: #f4f4f4;
222+
font-weight: bold;
223+
}
224+
225+
td {
226+
vertical-align: top;
227+
}
228+
229+
tr:last-child td {
230+
border-bottom: none;
231+
}
232+
233+
@media screen and (max-width: 768px) {
234+
font-size: 14px;
235+
}
193236
}

0 commit comments

Comments
 (0)