Lexiconga/src/styles/_structure.scss

133 lines
1.9 KiB
SCSS
Raw Normal View History

#top {
#title {
display: inline-block;
margin: 3px 20px 3px 0;
}
2019-05-03 21:59:52 +02:00
#openSearchModal {
cursor: pointer;
}
2019-05-03 21:59:52 +02:00
#searchModal {
min-height: $header-height;
bottom: unset;
z-index: 10;
.modal-content {
position: relative;
top: 0;
left: 0;
right: 0;
bottom: 0;
margin: 0 auto;
width: 90%;
padding: 20px;
}
#searchBox {
width: 60%;
}
.category {
text-align: right;
* {
margin: 0;
}
}
.options {
* {
margin-right: 5px;
}
}
}
}
#wordForm {
position: fixed;
2019-05-03 21:59:52 +02:00
top: auto;
width: 24%;
padding: 10px;
background-color: $light;
border: $border;
border-radius: 5px;
label {
display: block;
font-weight: bold;
&:not(:last-child) {
margin-bottom: 20px;
}
input, select, textarea {
font-weight: normal;
width: 100%;
}
.label-button {
font-size: 80%;
float: right;
cursor: pointer;
}
}
}
#detailsSection {
padding: 20px;
background-color: $white;
border: $border;
border-radius: 5px;
nav li {
display: inline-block;
list-style: none;
margin: 0;
padding: 10px 20px;
border: $border;
background-color: $light;
cursor: pointer;
&:first-child {
border-radius: 5px 0 0 5px;
}
&:last-child {
border-radius: 0 5px 5px 0;
}
&:not(:first-child) {
border-left: none;
}
&.active {
background-color: #bababa;
}
}
#detailsPanel {
background-color: $white;
padding: 20px;
2019-05-03 00:51:41 +02:00
max-height: 400px;
overflow-y: auto;
}
}
.entry {
background-color: $light;
.word {
display: inline-block;
margin: 3px 0;
}
.pronunciation {
margin: 0 20px;
}
.part-of-speech {
font-weight: bold;
font-style: italic;
font-size: 70%;
}
}