heimdalljs/src/css/app.scss
2020-02-14 16:27:50 +00:00

366 lines
7.7 KiB
SCSS

// app global css in SCSS form
h1 {
font-size: 32px;
}
#q-app {
background: #ececec;
}
#app {
background-image: url('../statics/bg1.jpg');
background-repeat: no-repeat;
background-size: cover;
background-position: bottom;
}
.q-layout__section--marginal {
background: #19465073;
}
.q-item.q-router-link--active {
background:rgba(0,0,0,0.04);
}
.q-toolbar {
min-height: 75px;
padding: 0 30px;
}
.item-container {
//width: 340px;
//transition: width .35s ease-in-out;
position: relative;
.item-edit {
color: white;
position: absolute;
bottom: 20px;
left: 8px;
width: 30px;
height: 30px;
background: rgba(0,0,0,0.7);
border-radius: 50%;
text-align: center;
line-height: 30px;
display: none;
}
.item {
width: 280px;
height: 90px;
margin: 20px;
flex: 0 0 280px;
background-image:linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,.25));
border-radius: 6px;
padding: 15px;
padding-right: 55px;
//border: 2px solid rgba(0,0,0,0.4);
//box-shadow: 0 0 15px 1px rgba(35, 35, 35, 0.44);
color: white;
overflow: hidden;
position: relative;
transition: all .35s ease-in-out;
outline: 1px solid transparent;
display: flex;
align-items: center;
border: 1px solid #333333;
border: 1px solid rgb(74, 74, 74);
border: 1px solid rgba(76, 76, 76, 0.4);
-webkit-background-clip: padding-box;
background-clip: padding-box;
&:after {
content: "";
position: absolute;
width: 90px;
height: 90px;
border-radius: 50%;
position: absolute;
right: -48px;
top: 0px;
background: rgba(255,255,255,0.1);
box-shadow: 0 0 40px 0px rgba(0,0,0,0.2);
}
.link {
position: absolute;
right: 0;
top: 0;
height: 100%;
width: 100%;
text-align: right;
line-height: 90px;
color: white;
font-size: 24px;
z-index: 1;
padding-right: 10px;
}
.title {
font-size: 16px;
}
.details {
width: 100%;
}
.app-icon {
max-width: 60px;
margin-right: 15px;
}
}
}
.svg-inline--fa {
display: inline-block;
font-size: inherit;
height: 1em;
overflow: visible;
vertical-align: -.125em;
}
#app {
.q-page {
justify-content: center;
align-items: center;
flex: 1;
position: relative;
flex-wrap: wrap;
align-content: center;
}
}
.q-drawer {
.q-item__label--header {
font-size: 22px;
padding: 12px 20px;
border-bottom: 1px solid #00000014;
min-height: 77px;
align-items: center;
display: flex;
}
}
.q-item {
padding: 13px 16px;
border-bottom: 1px solid #0000000a;
}
.add-new {
display: flex;
width: 100%;
max-width: 800px;
margin: 50px auto 0;
border: 1px solid #00000014;
.item {
padding: 30px;
flex: 1;
}
}
.page-container {
width: 100%;
padding: 0 40px;
}
.alt-header {
background: #ececec;
color: #505050;
}
div.create {
display: flex;
flex-wrap: wrap;
.input {
width: 28%;
margin: 20px;
&.double {
width: calc(56% + 40px);
}
label:not(.switch) {
width: 100%;
font-size: 13px;
margin-bottom: 15px;
display: block;
font-weight: 300;
}
input, select {
width: 100%;
}
}
}
.list-items {
display: flex;
flex-direction: column;
width: 100%;
max-width: 900px;
margin: 50px auto;
.list-item {
align-items: center;
color: #000000b5;
font-weight: bold;
perspective: 1000px;
min-height: 92px;
transition: all 0.6s;
position: relative;
&.edit {
z-index: 5;
.list-item-inner {
transform: rotateX(180deg);
}
.list-item-back {
height: auto;
}
}
.icon {
padding:15px 30px;
.app-icon {
max-width: 60px;
display: block;
border-radius: 50%;
}
}
.name {
width: 100%;
max-width: 300px;
padding: 0 15px 0 0;
display: flex;
flex-direction: column;
.tags {
font-weight: normal;
font-size: 12px;
color: #9c9c9c;
}
a {
text-transform: uppercase;
color: #9c9c9c;
font-size: 10px;
}
}
.pinned {
display: flex;
flex-direction: column;
align-items: center;
font-size: 12px;
color: #9c9c9c;
font-weight: normal;
i {
font-size: 24px;
color: #505050;
}
}
.actions {
margin-left: auto;
display: flex;
flex-direction: column;
padding: 0 15px;
}
}
.list-item-inner {
position: absolute;
width: 100%;
height: 100%;
transition: transform 0.6s;
transform-style: preserve-3d;
}
.list-item-front, .list-item-back {
position: absolute;
left:0;
bottom: 0;
right: 0;
width: 100%;
height: 100%;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
display: flex;
border-bottom: 1px solid #0000000f;
}
.list-item-front {
background: #fcfcfc;
align-items: center;
min-height: 92px;
}
.list-item-back {
background-color: #eaeaea;
min-height: 92px;
color: #505050;
transform: rotateX(180deg);
padding: 5px 20px;
justify-content: center;
.confirmation {
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
}
.close {
position: absolute;
top: 10px;
right: 20px;
cursor: pointer;
}
.inner {
}
}
}
.q-field--filled .q-field__control {
border-radius: 4px!important;
}
.list-items {
.q-tab-panel {
padding: 0;
}
.q-tab__label {
line-height: 75px;
color: #505050;
&:last-child {
border-right: 0;
}
}
.q-tab {
border-right: 1px solid #e4e4e4;
&:last-child {
border-right: 0;
}
}
.q-tabs {
border-bottom: 1px solid #e4e4e4;
}
.q-tab__indicator {
height: 3px;
}
.q-tab-panels {
background: none;
}
}
.q-field--outlined .q-field__control:before {
border: 1px solid rgba(0, 0, 0, 0.1);
}
.q-field--outlined .q-field__control:hover:before {
border-color: #3d8ad8;
}
.q-field--outlined.q-field--focused .q-field__control:after {
border-color: #3d8ad8;
}
.q-field--outlined {
background: #f7f7f7;
}
.popup-header {
display: flex;
align-items: center;
justify-content: space-between;
height: 60px;
padding-left: 35px;
color: #505050;
background: #ececec;
.actions {
display: flex;
height: 100%;
.q-btn__content {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
font-size: 11px;
color: #5050509e;
line-height: 1.6;
i {
font-size: 24px;
color: #505050;
}
}
.q-btn {
border-left: 1px solid #ccc;
}
}
}