@import "../variables"; @import "./Card.module.scss"; @import "../mixins"; .ex_card--full:hover { transform: none; } .ex_card--full { background-color: $background-light; @include down(840) { height: 100%; } } .ex_card--full:not(.card-deleted):hover { transform: none; } .updating { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; & span { width: 30px; height: 30px; } } .ex_card--body { display: grid; grid-template-columns: 1fr; grid-template-rows: repeat(5, auto); background-color: $background-light; //width: max-content; min-width: 820px; max-width: 40vw; min-height: 1px; transition: 0.3s; max-height: 80vh; overflow: scroll; @include no-scroll(); @include down(840) { width: 100%; height: 100%; display: flex; max-width: 200%; min-width: 1px; padding: 8vmin; flex-direction: column; } } .ex_card--title { grid-column: 1 / 3; grid-row: 1; cursor: default; & a { font-size: 0.6em; font-weight: 300; //z-index: 1000; color: grey; cursor: pointer; transition: .3s; text-decoration: underline transparent; margin-left: 10px; &:hover { color: $contrast!important; font-weight: 600; text-decoration: underline; } } & p.author{ display: inline; font-size: 0.7em; font-weight: 400; margin-left: 10px; font-style:italic; &:hover{ color: inherit; } } } .icon-container { position: absolute; width: 100%; margin: 0; display: flex; justify-content: space-between; top: 0; right: 0; padding: 3%; z-index: 70; & > * > .icon:hover, & > .icon:hover { transform: scale(1.1); } & > div { display: flex; } } .icon { transition: 0.3s; width: 20px; height: 20px; margin: 0.5%; } .delete { color: red; } .edit { color: green; } .ex_card-fade { transition: 0.3s; opacity: 0; } .ex_card--big { width: 100vw; min-width: 100vw; min-height: 100vh; // height: 100vh; transition: 0.5s; padding: 1% 2% 3% 2%; display: block; } .edit-card { display: flex; flex-direction: column; }