gancio/assets/style.less
2019-10-20 14:22:55 +02:00

101 lines
1.6 KiB
Text

@home_background: #222C32;
@background: white;
@success: #c7ffbc;
#__nuxt, #__layout {
height: 100%;
}
#home {
background-color: @home_background;
min-height: 100%;
}
a, a:hover {
text-decoration: none;
}
html, body {
margin: 0px;
background-color: @background;
width: 100%;
height: 100%;
overflow-x: hidden;
box-sizing: border-box;
font-family: BlinkMacSystemFont,-apple-system,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,Helvetica,Arial,sans-serif !important;
font-size: 15px;
}
* {
box-sizing: border-box;
}
.el-form-item {
margin-bottom: 5px;
}
.el-main,
.el-card {
max-width: 1000px;
border-radius: 0px;
margin: 30px auto;
}
#admin.el-card {
max-width: 870px;
}
.el-dialog {
margin-top: 0px !important;
border-radius: 0px;
width: 100%;
.el-dialog__body {
word-break: break-word;
}
}
.el-select-dropdown {
max-width: 100%;
left: 0px;
}
.page-enter-active, .page-leave-active {
transition: opacity .2s, transform .3s;
}
.page-enter, .page-leave-active {
transition: opacity .3s, transform .2s;
opacity: 0;
transform: translateX(30px);
}
pre {
font-family: BlinkMacSystemFont,-apple-system,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,Helvetica,Arial,sans-serif !important;
margin-bottom: 0px;
white-space: pre-line;
font-family: unset;
}
.el-popover {
word-break: normal;
}
@media only screen and (max-width: 768px) {
html {
font-size: 10px;
}
.el-card {
margin-top: 0px !important;
border-radius: 0px;
padding: 0px;
}
.el-main{
padding: 5px 0px;
}
.el-menu-item {
padding: 0px 17px;
}
}