Lexiconga/src/scss/mobile/_structure.scss

116 lines
1.7 KiB
SCSS
Raw Normal View History

2019-05-08 01:34:07 +02:00
@media (max-width: 750px) {
#top {
2019-05-09 23:03:10 +02:00
#title {
2019-07-02 20:02:51 +02:00
width: 150px;
2019-05-09 23:03:10 +02:00
margin-right: 10px;
}
2019-05-08 01:34:07 +02:00
#openSearchModal {
width: 40%;
2019-05-13 22:01:25 +02:00
margin-bottom: 10px;
2019-05-08 01:34:07 +02:00
}
#searchModal {
.modal-content {
width: 100%;
padding: $general-padding calc($general-padding / 2) calc($general-padding / 4);
2019-05-08 01:34:07 +02:00
#searchBox {
margin-bottom: 5px;
}
section+footer {
padding: calc($general-padding / 2) 0;
2019-05-08 01:34:07 +02:00
}
}
}
}
2019-07-02 20:02:51 +02:00
$mobile-word-form-size: 32px;
2019-05-08 01:34:07 +02:00
#mobileWordFormShow {
position: fixed;
top: $header-height - calc($mobile-word-form-size / 2);
2019-05-08 01:34:07 +02:00
left: 0;
2019-07-02 20:02:51 +02:00
width: $mobile-word-form-size;
height: $mobile-word-form-size;
2019-05-08 01:34:07 +02:00
display: block;
border-radius: 0 3px 3px 0;
font-size: 30px;
line-height: 24px;
font-weight: bold;
text-align: center;
cursor: pointer;
z-index: 1;
user-select: none;
}
#wordForm {
display: none;
width: 95%;
max-width: unset;
2019-07-02 20:02:51 +02:00
max-height: 85%;
top: $header-height + calc($mobile-word-form-size / 2);
2019-05-08 01:34:07 +02:00
left: 0;
right: 3%;
2019-07-02 20:02:51 +02:00
label:not(:last-child) {
margin-bottom: 10px;
}
2019-05-08 01:34:07 +02:00
}
#detailsSection {
nav ul li {
padding: 5px 10px;
}
#detailsPanel {
2019-07-02 20:02:51 +02:00
width: 100%;
2019-05-08 01:34:07 +02:00
max-height: 300px;
2019-07-02 20:02:51 +02:00
padding: 10px 5px;
2019-05-08 01:34:07 +02:00
}
}
.entry {
.pronunciation {
margin: 0 calc($general-padding / 2);
2019-05-08 01:34:07 +02:00
}
}
#editModal {
$nav-font-height: 16px;
footer {
.button {
font-size: $nav-font-height - 2px;
line-height: $nav-font-height;
}
}
#editDescription {
width: 100%;
height: 220px;
2019-05-08 01:34:07 +02:00
}
}
2019-05-30 22:59:38 +02:00
#bottom {
position: relative;
bottom: unset;
.separator {
display: block;
visibility: hidden;
2019-05-08 01:34:07 +02:00
}
}
2019-05-30 22:59:38 +02:00
#bottom {
position: relative;
bottom: unset;
.separator {
display: block;
visibility: hidden;
}
}
2019-05-08 01:34:07 +02:00
}