gancio-upstream/assets/style.less

139 lines
2.3 KiB
Text
Raw Normal View History

2020-01-15 23:13:43 +01:00
:focus {outline:none;}
::-moz-focus-inner {border:0;}
blockquote {
border-left: 3px solid grey;
font-style: italic;
color: #666;
padding-left: 1em;
}
code {
font-family: sans-serif;
display: inline-block;
padding: 0 .4rem;
border-radius: 5px;
font-size: .8rem;
font-weight: 700;
background: rgba(0,0,0,.1);
color: rgba(0,0,0,.8);
}
html, body {
font-family: sans-serif;
scroll-behavior: smooth;
text-rendering: optimizeSpeed;
background-color: #333;
overflow-y: auto;
scrollbar-width: thin;
2020-01-21 00:40:26 +01:00
padding: 0 !important;
2019-10-20 14:22:55 +02:00
}
2020-01-15 23:13:43 +01:00
#__nuxt, #__layout {
min-height: 100vh;
display: flex;
flex-direction: column;
}
#main {
min-height: 200px;
2020-01-21 00:40:26 +01:00
overflow: hidden;
2020-01-15 23:13:43 +01:00
scrollbar-width: thin;
2020-01-21 00:40:26 +01:00
// transition: background-color 1s, opacity 1s, color 1s;
2020-01-15 23:13:43 +01:00
background-color: white;
&.dark {
background-color: #333;
color: white;
}
2019-10-20 14:22:55 +02:00
}
2019-06-06 23:54:32 +02:00
2020-01-15 23:13:43 +01:00
#content {
flex-grow: 1;
max-width: 1000px;
2019-05-30 12:04:14 +02:00
width: 100%;
2020-01-15 23:13:43 +01:00
margin: 0 auto;
}
#header, #footer {
color: white;
background-color: #222;
font-size: 18px;
// > *{
// max-width: 1200px;
// margin: 0 auto;
// }
}
#footer {
a {
color: orangered;
transition: color .4s;
&:hover {
text-decoration: none;
color: orange;
}
}
2019-05-30 12:04:14 +02:00
2020-01-15 23:13:43 +01:00
#links a {
margin-left: 15px;
}
min-height: 6em;
padding-top: 2em;
font-size: 1em;
}
#header .el-menu--horizontal {
background-color: #222;
color: white;
.el-menu-item, .el-submenu__title {
color: white;
}
2019-06-06 23:54:32 +02:00
2020-01-15 23:13:43 +01:00
.el-menu-item:not(.is-disabled):focus,
.el-menu-item.is-active,
.el-menu-item:not(.is-disabled):hover,
.el-submenu:focus > .el-submenu__title,
.el-submenu:hover > .el-submenu__title,
.el-submenu.is-active > .el-submenu__title,
.el-submenu.is-opened {
color: white;
background-color: #333
}
2019-05-30 12:04:14 +02:00
}
2020-01-21 00:40:26 +01:00
.page-enter-active {
transition: opacity .2s, transform .3s;
2019-05-30 12:04:14 +02:00
}
2020-01-21 00:40:26 +01:00
2019-05-30 12:04:14 +02:00
.page-enter, .page-leave-active {
2020-01-21 00:40:26 +01:00
transition: opacity .3s, transform .3s;
2019-05-30 12:04:14 +02:00
opacity: 0;
2019-10-20 14:22:55 +02:00
transform: translateX(30px);
2019-05-30 12:04:14 +02:00
}
2020-01-15 23:13:43 +01:00
.el-card {
max-width: 700px;
margin: 0 auto;
2019-05-30 12:04:14 +02:00
}
2020-01-15 23:13:43 +01:00
.el-menu-item {
a {
color: #303133;
display: block;
text-decoration: none;
text-overflow: ellipsis;
overflow: hidden;
2019-10-22 23:47:41 +02:00
}
2020-01-21 15:09:01 +01:00
}
.el-message-box {
max-width: 90%;
2020-01-21 22:13:05 +01:00
}
.el-button--success.is-plain {
color: #2c8600;
border-color: #9de27b;
background-color: #f9fff6;
2020-01-15 23:13:43 +01:00
}