gancio-upstream/assets/style.less

215 lines
3.4 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);
2020-02-10 00:41:18 +01:00
color: #888;
2020-01-15 23:13:43 +01:00
}
2020-05-22 00:28:42 +02:00
2020-01-15 23:13:43 +01:00
html, body {
font-family: sans-serif;
scroll-behavior: smooth;
text-rendering: optimizeSpeed;
2020-02-09 18:15:07 +01:00
background-color: #111;
2020-01-15 23:13:43 +01:00
overflow-y: auto;
scrollbar-width: thin;
2020-06-14 20:56:19 +02:00
scrollbar-color: #555 #111;
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;
}
2020-05-22 00:28:42 +02:00
2020-01-15 23:13:43 +01:00
#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-02-09 18:15:07 +01:00
transition: background-color .5s, opacity .5s; //, color 1s;
2020-01-15 23:13:43 +01:00
background-color: white;
&.dark {
2020-02-09 18:15:07 +01:00
background-color: #111;
2020-01-15 23:13:43 +01:00
}
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 {
2020-06-14 20:56:19 +02:00
max-width: 1400px;
2020-01-15 23:13:43 +01:00
flex-grow: 1;
2019-05-30 12:04:14 +02:00
width: 100%;
2020-01-15 23:13:43 +01:00
margin: 0 auto;
}
2020-05-22 00:28:42 +02:00
2020-01-15 23:13:43 +01:00
#header, #footer {
color: white;
background-color: #222;
font-size: 18px;
2020-06-04 23:33:45 +02:00
padding: 0 15px;
2020-01-15 23:13:43 +01:00
}
2020-05-22 00:28:42 +02:00
2020-01-15 23:13:43 +01:00
#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;
}
2020-05-22 00:28:42 +02:00
2020-01-15 23:13:43 +01:00
#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-06-04 23:33:45 +02:00
.el-submenu .el-submenu__icon-arrow {
margin-left: 0px;
}
.el-submenu .el-submenu__title {
padding: 0 15px;
}
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;
2020-02-09 18:15:07 +01:00
background-color: #111;
2020-01-15 23:13:43 +01:00
}
2019-05-30 12:04:14 +02:00
}
2020-01-21 00:40:26 +01:00
.page-enter-active {
2020-02-09 18:15:07 +01:00
transition: opacity .05s;
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-02-09 18:15:07 +01:00
transition: opacity .3s; //, transform .3s;
2019-05-30 12:04:14 +02:00
opacity: 0;
2020-02-09 18:15:07 +01: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 {
2020-02-11 15:39:57 +01:00
height: 40px;
line-height: 40px;
2020-01-15 23:13:43 +01:00
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
}
2020-07-09 02:27:17 +02:00
//TODO: refactoring
.el-button.is-plain,
.el-button.is-plain:focus,
.el-button.is-plain {
border-color: #ff450075;
background-color: transparent;
color: orangered;
&:hover {
border-color: #ff450075;
background-color: transparent;
color: orange;
}
}
// TODO: this should be a link
.event .p-location {
transition: color .2s;
&:hover {
cursor: pointer;
color: orangered !important;
}
}
.el-button--text {
color: orangered !important;
&:hover {
color: orange !important;
}
}
2020-01-21 22:13:05 +01:00
.el-button--success.is-plain {
color: #2c8600;
border-color: #9de27b;
background-color: #f9fff6;
2020-02-05 00:37:23 +01:00
}
2020-02-09 18:15:07 +01:00
.el-button--mini, .el-button--mini.is-round {
padding: 6px 12px;
font-size: 0.8rem;
}
.bg-dark {
background-color: #292929 !important;
}
2020-02-10 00:41:18 +01:00
.el-dialog {
min-height: 300px;
max-width: 600px;
width: 100%;
.el-dialog__body {
word-break: normal !important;
}
}
2020-02-29 00:06:03 +01:00
.el-switch__label span {
position: absolute;
}
2020-03-14 18:41:27 +01:00
2020-03-14 21:26:00 +01:00
// .el-input {
// max-width: 350px;
// }
2020-03-14 18:41:27 +01:00
2020-02-09 18:15:07 +01:00
// @media only screen and (max-width: 768px) {
// .el-card {
// padding: 0px !important;
// border-radius: 0px;
// }
2020-06-22 19:15:32 +02:00
// }
@import './event.less';
@import './editor.less';