memo/client/css/style.css
2023-03-05 10:19:34 +03:00

1025 lines
18 KiB
CSS

:root {
--primary-color: #195962;
--secondary-color: #f56f6c;
--board-background-color: #eee8;
--dark-color: #252932;
--light-color: #ffffff;
--post-it-pink: pink;
--post-it-yellow: #fbe991;
--post-it-green: #a5caa0;
--post-it-blue: #accfcb;
--post-it-white: #e7e8e9;
--text-color: var(--dark-color);
--background-color: var(--light-color);
}
body {
font-family: "Inter", Verdana, Geneva, Tahoma, sans-serif;
font-size: 16px;
color: var(--text-color);
padding: 0;
margin: 0;
user-select: none;
-o-user-select: none;
-moz-user-select: none;
-khtml-user-select: none;
-webkit-user-select: none;
background: var(--background-color) url("/images/backgrounds/yellow-bamboos.jpg") no-repeat scroll
center center / cover;
min-height: 100vh;
}
a,
a:visited {
color: var(--primary-color);
text-decoration: none;
}
a:hover,
a:focus,
a:active {
color: var(--secondary-color);
text-decoration: underline;
}
#header-bar {
position: absolute;
z-index: 0;
}
.main-header {
height: 60px;
width: 100%;
position: absolute;
display: flex;
align-content: space-around;
justify-content: space-between;
align-items: center;
z-index: 1;
position: relative;
}
.title {
display: flex;
align-content: space-around;
align-items: center;
}
.logo {
width: 120px;
}
.title a:hover {
text-decoration: none;
}
.logo-title {
font-size: 1.7em;
font-weight: bolder;
font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}
.base-line {
font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI",
Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
color: var(--text-color);
font-size: 16px;
margin-left: 1em;
}
.container {
max-width: 1140px;
margin: 0 auto;
}
.container-fluid {
margin: 1em;
}
.board-container {
margin: 1em auto;
width: 100%;
}
.actions {
width: 130px;
}
.actions a {
display: inline-block;
font-weight: bold;
text-transform: uppercase;
font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
margin-left: 1em;
transition: color ease-out 0.2s;
color: var(--primary-color);
}
.actions a:hover {
text-decoration: none;
color: var(--secondary-color);
}
/*
#smallify .fa-search-plus ~ .big {
display: inline-block;
}
#smallify .fa-search-plus ~ .big ~ .small {
display: none;
}
#smallify .fa-search-minus ~ .big {
display: none;
}
#smallify .fa-search-minus ~ .big ~ .small {
display: inline-block;
}
#full-page .fa-expand ~ .full-screen {
display: inline-block;
}
#full-page .fa-expand ~ .full-screen ~ .contain-screen {
display: none;
}
#full-page .fa-compress ~ .full-screen {
display: none;
}
#full-page .fa-compress ~ .full-screen ~ .contain-screen {
display: inline-block;
} */
.clearfix {
clear: both;
}
.btn {
display: block;
width: 100%;
padding: .5em 2em;
background: white;
border: 1px solid var(--primary-color);
border-radius: .5em;
color: var(--primary-color);
}
#board {
position: relative;
background-color: var(--board-background-color);
height: 100%;
box-shadow: inset 1px 1px 3px #999;
}
.board-outline {
border: solid #ddda 6px;
display: block;
height: 466px;
box-shadow: 1px 1px 1px #aaa;
margin: 0 auto;
}
.card-icon {
display: none;
position: absolute;
top: 0;
right: 0;
width: 16px;
height: 16px;
z-index: 100;
cursor: pointer;
}
.card:hover .card-icon {
display: block;
}
.card-edit-form,
.card-edit-form input,
.card-edit-form textarea {
border: none;
font-size: inherit;
font-weight: inherit;
background-color: inherit;
font-family: inherit;
text-align: center;
padding: 0;
margin: 0;
outline-width: 0;
overflow: hidden;
resize: none;
width: 100%;
color: var(--secondary-color);
}
.board-table {
position: absolute;
top: 0px;
left: 0px;
height: 100%;
width: 100%;
}
.board-table .col {
text-align: center;
vertical-align: top;
height: 100%;
background-image: url("../images/green-board-line.png");
background-repeat: repeat-y;
background-position: left top;
}
.board-table .first {
border-left: none;
text-align: center;
vertical-align: top;
height: 100%;
background-image: none;
}
h1,
h1 a {
color: #b6b6b6;
padding: 0px;
margin: 0px;
margin-left: 1px;
font-weight: normal;
font-size: 15px;
padding-top: 14px;
letter-spacing: +1px;
font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
text-decoration: none;
}
h2 {
font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
color: var(--text-color);
font-size: 18px;
}
.bottom-icon {
padding: 5px;
opacity: 0.4;
}
.bottom-icon:hover {
padding: 5px;
opacity: 0.6;
}
.faded-icon {
opacity: 0.4;
}
.faded-icon:hover {
opacity: 0.6;
}
#add-col {
position: absolute;
right: 3px;
top: 200px;
display: none;
opacity: 0.15;
}
#add-col:hover {
opacity: 0.5;
}
#delete-col {
position: absolute;
right: 3px;
top: 224px;
display: none;
opacity: 0.15;
}
#delete-col:hover {
opacity: 0.5;
}
#board-table:hover #add-col,
#board-table:hover #delete-col {
display: block;
}
#config-dropdown {
border: solid #666 5px;
width: 200px;
height: 34px;
border-radius: 15px;
background-color: #888;
box-shadow: 0px 0px 10px #444;
padding: 2px;
display: none;
}
.config-dropdown-icon {
padding: 5px;
opacity: 0.5;
}
.names {
color: var(--text-color);
letter-spacing: 4px;
font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
font-size: 13px;
}
.names p {
padding: 0;
margin: 0;
}
.names ul {
list-style: none;
margin-top: 4px;
margin-bottom: 4px;
}
#yourname-li {
color: #888;
}
.names input {
padding: 0;
border: none;
outline: 0;
width: 100px;
background: -webkit-gradient(
linear,
left top,
left 25,
from(#ffffff),
color-stop(4%, #eeeeee),
to(#ffffff)
);
background: -moz-linear-gradient(top, #ffffff, #eeeeee 1px, #ffffff 25px);
background: none;
border-radius: 10px;
color: #666;
text-align: right;
font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
font-size: 13px;
letter-spacing: 4px;
margin: 0;
position: relative;
}
.names input:hover {
outline: 0;
width: 100px;
background: -webkit-gradient(
linear,
left top,
left 25,
from(#ffffff),
color-stop(4%, #eeeeee),
to(#ffffff)
);
background: -moz-linear-gradient(top, #ffffff, #eeeeee 1px, #ffffff 25px);
background: none;
box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 8px;
border-radius: 10px;
color: #aaa;
text-align: right;
font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
font-size: 13px;
letter-spacing: 4px;
margin: 0;
}
.names .focused {
color: #444;
}
.you-text {
letter-spacing: 2px;
}
#user-icon {
vertical-align: text-top;
position: relative;
left: 0px;
}
.sticker {
padding-top: 0px;
padding-left: 2px;
display: inline-block;
width: 11px;
height: 11px;
background-repeat: no-repeat;
}
.stickers {
display: inline-block;
margin: 0 1em;
}
#sticker-red {
background-image: url("../images/stickers/sticker-red.png");
}
#sticker-blue {
background-image: url("../images/stickers/sticker-blue.png");
}
#sticker-yellow {
background-image: url("../images/stickers/sticker-yellow.png");
}
#sticker-green {
background-image: url("../images/stickers/sticker-green.png");
}
#sticker-pink {
background-image: url("../images/stickers/sticker-pink.png");
}
#sticker-lightblue {
background-image: url("../images/stickers/sticker-lightblue.png");
}
#sticker-orange {
background-image: url("../images/stickers/sticker-orange.png");
}
#sticker-purple {
background-image: url("../images/stickers/sticker-purple.png");
}
#sticker-gold {
background-image: url("../images/stickers/sticker-gold.png");
}
#sticker-silverstar {
background-image: url("../images/stickers/sticker-silverstar.png");
}
#sticker-bluestar {
background-image: url("../images/stickers/sticker-bluestar.png");
}
#sticker-redstar {
background-image: url("../images/stickers/sticker-redstar.png");
}
#addsticker {
background-image: url("../images/icons/iconic/raster/black/plus_8x8.png");
background-position: 2px 2px;
opacity: 0.3;
display: inline-block;
width: 11px;
height: 11px;
background-repeat: no-repeat;
}
#addsticker:hover {
opacity: 0.7;
}
#nosticker {
background-image: url("../images/stickers/sticker-deletestar.png");
}
#sticker-nostar {
position: relative;
top: 3px;
opacity: 0.5;
}
#sticker-redstar {
top: 1px;
}
/* Stuff for landing page */
h1.home {
font-size: 100px;
font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
color: var(--primary-color);
opacity: 0.8;
padding: 0;
margin: 0;
text-align: center;
}
.home {
font-size: 30px;
font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
color: var(--text-color);
opacity: 1;
padding: 0;
margin: 0;
text-align: center;
}
form.home {
margin-bottom: 2em;
}
p.home a {
color: var(--primary-color);
text-decoration: none;
}
p.small {
font-size: 22px;
}
#video {
height: 450px;
width: 1000px;
padding-top: 100px;
}
input.text {
width: 230px;
background: none;
padding: 6px;
margin-bottom: 10px;
border: none;
font-size: 30px;
font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
color: var(--primary-color);
text-align: center;
border-bottom: dashed 3px var(--primary-color);
}
#go:hover {
box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.2);
text-decoration: none;
background-color: var(--text-color);
color: var(--primary-color);
}
#go {
display: inline-block;
background-color: var(--primary-color);
margin-left: 30px;
box-shadow: unset;
border: none;
padding: 2px 10px;
border-radius: 5px;
margin-bottom: 0px;
font-size: 25px;
text-transform: uppercase;
font-weight: bold;
transition: all ease-out 0.1s;
font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
color: var(--text-color);
}
@media (max-width: 442px) {
#go {
margin-left: 0;
}
}
.notice-bar {
padding: 0;
margin: 1em 0 0 0;
text-align: center;
color: #e33d8a;
text-transform: uppercase;
font-weight: bold;
}
.notice-bar a {
color: #333;
}
#marker {
position: absolute;
bottom: 0;
right: 200px;
z-index: 1;
}
#eraser {
position: absolute;
bottom: 0;
right: 70px;
z-index: 1;
}
.card-hover-draggable {
box-shadow: inset 0 0 40px rgba(128, 128, 256, 0.2);
background-color: rgba(128, 128, 256, 0.1);
}
.config {
position: fixed;
right: 18px;
top: 4px;
}
.trash {
position: fixed;
right: 18px;
bottom: 4px;
}
.filler {
right: 0;
bottom: 0;
position: absolute;
text-align: right;
}
.active-connections {
color: #999;
margin: 1em 0;
}
/* states and images */
.ui-icon {
width: 16px;
height: 16px;
background-image: url(../images/ui-icons_222222_256x240.png);
}
.ui-widget-content .ui-icon {
background-image: url(../images/ui-icons_222222_256x240.png);
}
.ui-widget-header .ui-icon {
background-image: url(../images/ui-icons_222222_256x240.png);
}
.ui-state-default .ui-icon {
background-image: url(../images/ui-icons_888888_256x240.png);
}
.ui-state-hover .ui-icon,
.ui-state-focus .ui-icon {
background-image: url(../images/ui-icons_454545_256x240.png);
}
.ui-state-active .ui-icon {
background-image: url(../images/ui-icons_454545_256x240.png);
}
.ui-state-highlight .ui-icon {
background-image: url(../images/ui-icons_2e83ff_256x240.png);
}
.ui-state-error .ui-icon,
.ui-state-error-text .ui-icon {
background-image: url(../images/ui-icons_cd0a0a_256x240.png);
}
.ui-resizable {
position: relative;
}
.ui-resizable-handle {
position: absolute;
font-size: 0.1px;
z-index: 99999;
display: block;
}
.ui-resizable-disabled .ui-resizable-handle,
.ui-resizable-autohide .ui-resizable-handle {
display: none;
}
.ui-resizable-n {
cursor: n-resize;
height: 7px;
width: 100%;
top: -5px;
left: 0;
}
.ui-resizable-s {
cursor: s-resize;
height: 7px;
width: 100%;
bottom: -5px;
left: 0;
}
.ui-resizable-e {
cursor: e-resize;
width: 7px;
right: -5px;
top: 0;
height: 100%;
}
.ui-resizable-w {
cursor: w-resize;
width: 7px;
left: -5px;
top: 0;
height: 100%;
}
.ui-resizable-se {
cursor: se-resize;
width: 12px;
height: 12px;
right: 1px;
bottom: 1px;
}
.ui-resizable-sw {
cursor: sw-resize;
width: 9px;
height: 9px;
left: -5px;
bottom: -5px;
}
.ui-resizable-nw {
cursor: nw-resize;
width: 9px;
height: 9px;
left: -5px;
top: -5px;
}
.ui-resizable-ne {
cursor: ne-resize;
width: 9px;
height: 9px;
right: -5px;
top: -5px;
}
.ui-icon-gripsmall-diagonal-se {
background-position: -64px -224px;
}
.export button,
.import * {
margin-right: 15px;
}
.content h1 {
font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
color: var(--primary-color);
font-size: 22px;
}
.content * {
margin-top: 0;
margin-bottom: 0;
padding-top: 0;
padding-bottom: 0;
}
#revisions-list li > * {
cursor: pointer;
}
#revisions-list li img {
margin-left: 10px;
}
.active-connections {
float: left;
}
.credits {
text-align: center;
font-size: 0.9em;
margin: 2em 0;
}
/* Responsive Video */
.video {
position: relative;
padding-bottom: 56.25%;
padding-top: 30px;
height: 0;
overflow: hidden;
}
.video iframe,
.video object,
.video embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
/* Close Button */
.box3 {
width: 25px;
right: 0px;
position: absolute;
margin: 5px;
}
.close-x {
stroke: black;
fill: transparent;
stroke-linecap: round;
stroke-width: 5;
}
.pull-right {
float: right;
}
.post-it-actions {
display: flex;
}
.add-post-it {
display: inline-block;
transition: color ease-out 0.2s;
color: var(--primary-color);
position: relative;
margin: 0 2px;
}
.add-post-it:hover {
color: var(--secondary-color);
}
.add-post-it .bi {
position: absolute;
top: 3px;
left: 13px;
}
#site-wrapper {
position: relative;
width: 100%;
min-height: 100vh;
overflow-x: hidden;
background: linear-gradient(
180deg,
rgb(255, 255, 255) 0%,
rgba(255, 255, 255, 0.75) 50px,
rgb(255, 255, 255, 0) 75px
);
}
#site-canvas {
min-height: 100vh;
position: relative;
-webkit-transform: translateX(0);
transform: translateX(0);
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
-webkit-transition: 300ms ease all;
transition: 300ms ease all;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
}
.show-nav #site-canvas {
-webkit-transform: translateX(-295px);
transform: translateX(-300px);
-webkit-transform: translate3d(-295px, 0, 0);
transform: translate3d(-295px, 0, 0);
}
#site-menu {
width: 270px;
position: fixed;
top: 0;
bottom: 0;
right: -295px;
background: linear-gradient(
270deg,
rgb(255, 255, 255) 0%,
rgba(255, 255, 255, 0.7553221117548582) 98%,
rgba(255, 255, 255, 0) 100%
);
padding: 15px;
z-index: 1;
}
#site-menu .close-link {
color: var(--text-color);
font-weight: bold;
text-transform: uppercase;
font-size: 12px;
display: flex;
align-items: center;
}
#site-menu .close-link i {
font-size: 16px;
}
#site-menu .close-link:hover {
text-decoration: none;
}
.backgrounds {
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-gap: 5px;
}
.backgrounds .bg {
max-width: 100px;
width: 100%;
border: 1px solid transparent;
}
.backgrounds .bg:hover {
cursor: pointer;
}
.backgrounds .bg.selected {
border: 1px solid var(--primary-color);
}
/*** CARDS ***/
.card, .mini-card {
background-size: 10px 10px;
background-image: repeating-linear-gradient(
0deg,
#0001,
#0001 1px,
transparent 1px,
transparent
);
box-shadow: 1px 1px 3px #0006;
}
.card {
position: absolute;
}
.white {
background-color: var(--post-it-white);
}
.pink {
background-color: var(--post-it-pink);
}
.yellow {
background-color: var(--post-it-yellow);
}
.blue {
background-color: var(--post-it-blue);
}
.green {
background-color: var(--post-it-green);
}
#board .card {
width: 158px;
height: 88px;
font-size: 18px;
overflow: hidden;
position: absolute;
z-index: 10;
top: 460px;
left: 0px;
}
#board.bigcards .card {
width: 158px;
height: 88px;
font-size: 18px;
}
#board.smallcards .card {
width: 115px;
height: 76px;
font-size: 13px;
}
.mini-card {
width: 40px;
height: 22px;
background-size: 5px 5px;
}
.content {
overflow: hidden;
display: block;
width: 100%;
height: 100%;
font-family: "Inter", Verdana, Geneva, Tahoma, sans-serif;
letter-spacing: 0px;
opacity: 1;
color: var(--dark-color);
text-align: center;
padding-top: 1em;
}
.filler {
margin-right: 34px;
margin-bottom: 42px;
margin-left: 25px;
}
.stickertarget {
position: absolute;
}
/*** Responsive ***/
@media (max-width: 645px) {
.base-line {
display: none;
}
.logo-title {
font-size: 1.3em;
}
.actions {
width: 65px;
}
}