cryptpad/customize.dist/main.css

884 lines
19 KiB
CSS

.alertify-logs > * {
padding: 12px 48px;
color: #fafafa;
font-weight: bold;
font-size: large;
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.2);
border-radius: 1px;
}
.alertify-logs > *,
.alertify-logs > *.default {
background: rgba(0, 0, 0, 0.8);
}
.alertify-logs > *.error {
background: #FF0073;
}
.alertify-logs > *.success {
background: #46E981;
color: #302B28;
}
.alertify {
position: fixed;
background-color: rgba(0, 0, 0, 0.3);
left: 0;
right: 0;
top: 0;
bottom: 0;
width: 100%;
height: 100%;
z-index: 99999;
}
.alertify.hide {
opacity: 0;
pointer-events: none;
}
.alertify,
.alertify.show {
box-sizing: border-box;
transition: all 0.33s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.alertify,
.alertify * {
box-sizing: border-box;
}
.alertify .dialog {
padding: 12px;
}
.alertify .dialog,
.alertify .alert {
width: 100%;
margin: 0 auto;
position: relative;
top: 50%;
transform: translateY(-50%);
}
.alertify .dialog > div,
.alertify .alert > div {
background-color: #333;
border-radius: 5px;
}
.alertify .dialog > *,
.alertify .alert > * {
width: 400px;
max-width: 95%;
margin: 0 auto;
text-align: center;
padding: 12px;
background: #fff;
box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.14), 0 4px 5px 0 rgba(0, 0, 0, 0.098), 0 1px 10px 0 rgba(0, 0, 0, 0.084);
}
.alertify .dialog .msg,
.alertify .alert .msg {
padding: 12px;
margin-bottom: 12px;
margin: 0;
text-align: left;
}
.alertify .dialog input:not(.form-control),
.alertify .alert input:not(.form-control) {
background-color: #302B28;
color: #fafafa;
border: 0px;
border-radius: 5px;
margin-bottom: 15px;
width: 100%;
font-size: 100%;
padding: 12px;
}
.alertify .dialog nav,
.alertify .alert nav {
text-align: right;
}
.alertify .dialog nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button),
.alertify .alert nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button) {
background-color: rgba(200, 200, 200, 0.05);
box-sizing: border-box;
position: relative;
outline: 0;
border: 0;
display: inline-block;
align-items: center;
padding: 0 6px;
margin: 6px 8px;
line-height: 36px;
min-height: 36px;
white-space: nowrap;
min-width: 88px;
text-align: center;
text-transform: uppercase;
font-size: 14px;
text-decoration: none;
cursor: pointer;
color: #fafafa;
border: 1px solid #302B28;
border-radius: 5px;
}
.alertify .dialog nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button):hover,
.alertify .alert nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button):hover,
.alertify .dialog nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button):active,
.alertify .alert nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button):active {
background-color: rgba(200, 200, 200, 0.15);
}
.alertify .dialog nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button):focus,
.alertify .alert nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button):focus {
border: 1px dotted #302B28;
}
.alertify .dialog nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button)::-moz-focus-inner,
.alertify .alert nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button)::-moz-focus-inner {
border: 0;
}
.alertify .dialog nav button.btn,
.alertify .alert nav button.btn {
margin: 6px 4px;
}
.alertify-logs {
position: fixed;
z-index: 99999;
}
.alertify-logs.bottom,
.alertify-logs:not(.top) {
bottom: 16px;
}
.alertify-logs.left,
.alertify-logs:not(.right) {
left: 16px;
}
.alertify-logs.left > *,
.alertify-logs:not(.right) > * {
float: left;
transform: translate3d(0, 0, 0);
height: auto;
}
.alertify-logs.left > *.show,
.alertify-logs:not(.right) > *.show {
left: 0;
}
.alertify-logs.left > *,
.alertify-logs:not(.right) > *,
.alertify-logs.left > *.hide,
.alertify-logs:not(.right) > *.hide {
left: -110%;
}
.alertify-logs.right {
right: 16px;
}
.alertify-logs.right > * {
float: right;
transform: translate3d(0, 0, 0);
}
.alertify-logs.right > *.show {
right: 0;
opacity: 1;
}
.alertify-logs.right > *,
.alertify-logs.right > *.hide {
right: -110%;
opacity: 0;
}
.alertify-logs.top {
top: 0;
}
.alertify-logs > * {
box-sizing: border-box;
transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
position: relative;
clear: both;
backface-visibility: hidden;
perspective: 1000;
max-height: 0;
margin: 0;
padding: 0;
overflow: hidden;
opacity: 0;
pointer-events: none;
}
.alertify-logs > *.show {
margin-top: 12px;
opacity: 1;
max-height: 1000px;
padding: 12px;
pointer-events: auto;
}
html.cp {
font-size: .875em;
background-color: #302B28;
color: #fafafa;
}
.cp {
/* buttons */
/* Tables */
/* Bottom Bar */
}
.cp a.github-corner > svg {
fill: #46E981;
color: #302B28;
}
.cp .table-refresh > svg {
width: .9em;
height: .9em;
fill: #46E981;
-webkit-transform: translate(0, 15%);
-moz-transform: translate(0, 15%);
-o-transform: translate(0, 15%);
-ms-transform: translate(0, 15%);
transform: translate(0, 15%);
}
.cp .lato {
font-family: lato, Helvetica, sans-serif;
font-size: 1.02em;
}
.cp html,
.cp body {
font-family: Georgia,Cambria,serif;
height: 100%;
}
.cp body {
font-size: 1rem;
font-weight: 400;
line-height: 2rem;
}
.cp h1,
.cp h2,
.cp h3,
.cp h4,
.cp h5,
.cp h6 {
color: #fafafa;
font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
-webkit-font-feature-settings: 'dlig' 1, 'liga' 1, 'lnum' 1, 'kern' 1;
-moz-font-feature-settings: 'dlig' 1, 'liga' 1, 'lnum' 1, 'kern' 1;
font-feature-settings: 'dlig' 1, 'liga' 1, 'lnum' 1, 'kern' 1;
font-style: normal;
font-weight: 600;
margin-top: 0;
}
.cp h1 {
line-height: 3rem;
font-size: 2.05714rem;
margin-bottom: .21999rem;
padding-top: .78001rem;
}
.cp h2 {
font-size: 1.95312rem;
margin-bottom: .18358rem;
padding-top: .81642rem;
}
.cp h2,
.cp h3 {
line-height: 3rem;
}
.cp h3 {
font-size: 1.64571rem;
margin-bottom: .07599rem;
padding-top: .92401rem;
}
.cp h4 {
font-size: 1.5625rem;
margin-bottom: .54686rem;
padding-top: .45314rem;
}
.cp h5 {
font-size: 1.25rem;
margin-bottom: -0.56251rem;
padding-top: .56251rem;
}
.cp h6 {
font-size: 1rem;
margin-bottom: -0.65001rem;
padding-top: .65001rem;
}
.cp a {
cursor: pointer;
color: #46E981;
text-decoration: none;
}
.cp a:hover {
color: #a1f4bf;
}
.cp img {
height: auto;
max-width: 100%;
}
.cp p {
padding-top: .66001rem;
margin-top: 0;
}
.cp p,
.cp pre {
margin-bottom: 1.33999rem;
}
.cp p,
.cp pre,
.cp td,
.cp a,
.cp table,
.cp tr {
font-family: lato, Helvetica, sans-serif;
font-size: 1.02em;
}
.cp #loading {
position: fixed;
z-index: 9999;
top: 0px;
bottom: 0px;
left: 0px;
right: 0px;
background: #302B28;
text-align: center;
font-size: 1.5em;
}
.cp #loading .loadingContainer {
margin-top: 50vh;
transform: translateY(-50%);
}
.cp #loading .cryptofist {
margin-left: auto;
margin-right: auto;
}
@media screen and (max-height: 450px) {
.cp #loading .cryptofist {
display: none;
}
}
.cp #loading .spinnerContainer {
position: relative;
height: 100px;
}
.cp #loading .spinnerContainer > div {
height: 100px;
}
.cp #main {
width: 70vw;
margin: auto;
font-size: medium;
padding-bottom: 1em;
}
.cp #fileManagerIframe {
width: 100%;
height: 500px;
margin-top: 15px;
}
.cp .create,
.cp .action {
border: 2px solid #46E981;
border-radius: 10px;
background-color: #302B28;
color: #46E981;
font-weight: bold;
font-size: large;
margin-right: 5px;
margin-left: 5px;
}
.cp .create:hover,
.cp .action:hover {
border: 2px solid #a1f4bf;
color: #46E981;
}
.cp .create {
display: none;
}
.cp .action {
display: inline-block;
}
.cp .buttons {
margin-bottom: 50px;
margin-top: 20px;
line-height: 2.5em;
}
.cp .button {
padding: 4px 12px 4px 12px;
border-radius: 5px;
margin-top: 12px;
margin-bottom: 12px;
display: inline-block;
line-height: 1.5em;
}
.cp .alertify button {
margin: 3px 0px;
}
.cp table {
border-collapse: collapse;
border-spacing: 0;
margin: 20px;
}
.cp tbody {
border: 2px solid black;
}
.cp tbody tr {
text-align: center;
}
.cp tbody tr:first-of-type th {
font-size: 20px;
border-top: 0px;
font-weight: bold;
padding: 10px;
text-decoration: underline;
}
.cp tbody tr:first-of-type th.table-refresh {
color: #46E981;
text-decoration: none;
cursor: pointer;
}
.cp tbody tr:nth-child(odd) {
background-color: #685d56;
}
.cp tbody tr th:first-of-type {
border-left: 0px;
}
.cp tbody tr th {
box-sizing: border-box;
border: 1px solid black;
}
.cp tbody tr th,
.cp tbody tr td {
color: #fafafa;
}
.cp tbody tr th.remove,
.cp tbody tr td.remove {
cursor: pointer;
}
.cp tbody tr th:last-child {
border-right: 0px;
}
.cp tbody td {
border-right: 1px solid black;
padding: 12px;
padding-top: 0px;
padding-bottom: 0px;
}
.cp tbody td:last-child {
border-right: none;
}
.cp .top-bar,
.cp .bottom-bar {
position: fixed;
height: 4%;
height: 2.5em;
display: inline-block;
width: 100%;
background: #302B28;
border-top: 1px solid #444;
}
.cp .top-bar a,
.cp .bottom-bar a {
color: #46E981;
text-decoration: none;
}
.cp .top-bar p,
.cp .bottom-bar p {
margin: -1px;
font-family: Arial, Helvetica, Tahoma, Verdana, sans-serif;
font-size: 20px;
display: block;
margin-left: 10px;
padding-top: 3px;
color: #fafafa;
}
.cp .top-bar img,
.cp .bottom-bar img {
margin-right: 4px;
position: relative;
}
@media screen and (max-width: 800px) {
.cp .top-bar .big,
.cp .bottom-bar .big {
display: none;
}
}
@media screen and (min-width: 801px) {
.cp .top-bar .big,
.cp .bottom-bar .big {
display: inline-block;
}
}
@media screen and (max-width: 800px) {
.cp .top-bar .small,
.cp .bottom-bar .small {
display: inline-block;
}
}
@media screen and (min-width: 801px) {
.cp .top-bar .small,
.cp .bottom-bar .small {
display: none;
}
}
.cp .top-bar .small img,
.cp .bottom-bar .small img {
height: 1.25em;
}
.cp .bottom-bar {
bottom: 0px;
right: 0px;
}
.cp .top-bar {
top: 0px;
right: 0px;
}
.cp .bottom-bar-left {
display: block;
float: left;
padding-left: 10px;
}
.cp .bottom-bar-left p {
float: right;
}
.cp .bottom-bar-right {
display: block;
float: right;
padding-right: 20px;
}
.cp .bottom-bar-center {
width: 20%;
position: absolute;
left: 40%;
text-align: center;
}
.cp .bottom-bar-heart {
top: 2px;
}
.cp .bottom-bar-xwiki {
top: 3px;
}
.cp .bottom-bar-openpaas {
top: 3px;
max-width: 100px;
}
.cp .bottom-left {
border-bottom-left-radius: 5px;
}
.cp .top-left {
border-top-left-radius: 5px;
}
.cp .remove {
color: #FF0073;
cursor: pointer !important;
}
.cp form.realtime,
.cp div.realtime {
padding: 0px;
margin: 0px;
}
.cp form.realtime > textarea,
.cp div.realtime > textarea {
width: 50%;
height: 15vh;
}
.cp form.realtime table,
.cp div.realtime table {
border-collapse: collapse;
width: calc(100% - 1px);
}
.cp form.realtime table tr td:first-child,
.cp div.realtime table tr td:first-child {
position: absolute;
left: 29px;
top: auto;
width: calc(30% - 50px);
}
.cp form.realtime table tr td,
.cp div.realtime table tr td {
padding: 0px;
margin: 0px;
}
.cp form.realtime table tr td div.text-cell,
.cp div.realtime table tr td div.text-cell {
padding: 0px;
margin: 0px;
height: 100%;
}
.cp form.realtime table tr td div.text-cell input,
.cp div.realtime table tr td div.text-cell input {
width: 80%;
width: 90%;
height: 100%;
border: 0px;
}
.cp form.realtime table tr td div.text-cell input[disabled],
.cp div.realtime table tr td div.text-cell input[disabled] {
background-color: transparent;
color: #fafafa;
font-weight: bold;
}
.cp form.realtime table tr td.checkbox-cell,
.cp div.realtime table tr td.checkbox-cell {
margin: 0px;
padding: 0px;
height: 100%;
min-width: 150px;
}
.cp form.realtime table tr td.checkbox-cell div.checkbox-contain,
.cp div.realtime table tr td.checkbox-cell div.checkbox-contain {
display: inline-block;
height: 100%;
width: 100%;
position: relative;
}
.cp form.realtime table tr td.checkbox-cell div.checkbox-contain label,
.cp div.realtime table tr td.checkbox-cell div.checkbox-contain label {
background-color: transparent;
display: block;
position: absolute;
top: 0px;
left: 0px;
height: 100%;
width: 100%;
}
.cp form.realtime table tr td.checkbox-cell div.checkbox-contain input[type="checkbox"]:not(.editable),
.cp div.realtime table tr td.checkbox-cell div.checkbox-contain input[type="checkbox"]:not(.editable) {
display: none;
}
.cp form.realtime table tr td.checkbox-cell div.checkbox-contain input[type="checkbox"]:not(.editable) ~ .cover,
.cp div.realtime table tr td.checkbox-cell div.checkbox-contain input[type="checkbox"]:not(.editable) ~ .cover {
font-weight: bold;
background-color: #FF0073;
color: #302B28;
display: block;
}
.cp form.realtime table tr td.checkbox-cell div.checkbox-contain input[type="checkbox"]:not(.editable) ~ .cover:after,
.cp div.realtime table tr td.checkbox-cell div.checkbox-contain input[type="checkbox"]:not(.editable) ~ .cover:after {
height: 100%;
}
.cp form.realtime table tr td.checkbox-cell div.checkbox-contain input[type="checkbox"]:not(.editable) ~ .cover:after,
.cp div.realtime table tr td.checkbox-cell div.checkbox-contain input[type="checkbox"]:not(.editable) ~ .cover:after {
content: "✖";
}
.cp form.realtime table tr td.checkbox-cell div.checkbox-contain input[type="checkbox"]:not(.editable) ~ .cover.yes,
.cp div.realtime table tr td.checkbox-cell div.checkbox-contain input[type="checkbox"]:not(.editable) ~ .cover.yes {
background-color: #46E981;
}
.cp form.realtime table tr td.checkbox-cell div.checkbox-contain input[type="checkbox"]:not(.editable) ~ .cover.yes:after,
.cp div.realtime table tr td.checkbox-cell div.checkbox-contain input[type="checkbox"]:not(.editable) ~ .cover.yes:after {
content: "✔";
}
.cp form.realtime table tr td.checkbox-cell div.checkbox-contain input[type="checkbox"]:not(.editable) ~ .cover.uncommitted,
.cp div.realtime table tr td.checkbox-cell div.checkbox-contain input[type="checkbox"]:not(.editable) ~ .cover.uncommitted {
background: #ddd;
}
.cp form.realtime table tr td.checkbox-cell div.checkbox-contain input[type="checkbox"]:not(.editable) ~ .cover.mine,
.cp div.realtime table tr td.checkbox-cell div.checkbox-contain input[type="checkbox"]:not(.editable) ~ .cover.mine {
display: none;
}
.cp form.realtime table input[type="text"],
.cp div.realtime table input[type="text"] {
height: 100%;
border: 1px solid #302B28;
width: 80%;
}
.cp form.realtime table thead td,
.cp div.realtime table thead td {
padding: 0px 5px;
background: #4c443f;
border-radius: 20px 20px 0 0;
text-align: center;
}
.cp form.realtime table thead td input[type="text"],
.cp div.realtime table thead td input[type="text"] {
width: 100%;
box-sizing: border-box;
}
.cp form.realtime table thead td input[type="text"][disabled],
.cp div.realtime table thead td input[type="text"][disabled] {
color: white;
padding: 1px 5px;
border: none;
}
.cp form.realtime table tbody .text-cell,
.cp div.realtime table tbody .text-cell {
background: #4c443f;
}
.cp form.realtime table tbody .text-cell input[type="text"],
.cp div.realtime table tbody .text-cell input[type="text"] {
width: calc(100% - 50px);
}
.cp form.realtime table tbody .text-cell .edit,
.cp div.realtime table tbody .text-cell .edit {
float: right;
margin: 0 10px 0 0;
}
.cp form.realtime table tbody .text-cell .remove,
.cp div.realtime table tbody .text-cell .remove {
float: left;
margin: 0 0 0 10px;
}
.cp form.realtime table .edit,
.cp div.realtime table .edit {
color: #46E981;
cursor: pointer;
float: left;
margin-left: 10px;
/*&:after { content: '✐'; }*/
/*&.editable { display: none; }*/
}
.cp form.realtime table .remove,
.cp div.realtime table .remove {
float: right;
margin-right: 10px;
}
.cp form.realtime table thead tr th input[type="text"][disabled],
.cp div.realtime table thead tr th input[type="text"][disabled] {
background-color: transparent;
color: #fafafa;
font-weight: bold;
}
.cp form.realtime table thead tr th .remove,
.cp div.realtime table thead tr th .remove {
cursor: pointer;
font-size: 20px;
}
.cp form.realtime table tfoot tr,
.cp div.realtime table tfoot tr {
border: none;
}
.cp form.realtime table tfoot tr td,
.cp div.realtime table tfoot tr td {
border: none;
text-align: center;
}
.cp form.realtime table tfoot tr td .save,
.cp div.realtime table tfoot tr td .save {
padding: 15px;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
}
.cp form.realtime #adduser,
.cp div.realtime #adduser,
.cp form.realtime #addoption,
.cp div.realtime #addoption {
color: #46E981;
border: 1px solid #46E981;
padding: 15px;
cursor: pointer;
}
.cp form.realtime #adduser,
.cp div.realtime #adduser {
border-top-left-radius: 5px;
}
.cp form.realtime #addoption,
.cp div.realtime #addoption {
border-bottom-left-radius: 5px;
}
.cp div.modal,
.cp div#modal {
box-sizing: border-box;
z-index: 9001;
position: fixed;
top: 0px;
left: 0px;
width: 100%;
height: 100vh;
display: none;
background-color: #302B28;
}
.cp div.modal #content,
.cp div#modal #content {
box-sizing: border-box;
border: 1px solid white;
vertical-align: middle;
padding: 2.5vw;
width: 100vw;
height: 56.25vw;
max-height: 100vh;
max-width: 177.78vh;
margin: auto;
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
}
.cp div.modal #content p,
.cp div#modal #content p,
.cp div.modal #content li,
.cp div#modal #content li,
.cp div.modal #content pre,
.cp div#modal #content pre,
.cp div.modal #content code,
.cp div#modal #content code {
font-size: 2.75vw;
line-height: 3.025vw;
}
.cp div.modal #content h1,
.cp div#modal #content h1 {
font-size: 5vw;
line-height: 5.5vw;
}
.cp div.modal #content h2,
.cp div#modal #content h2 {
font-size: 4.2vw;
line-height: 4.62vw;
}
.cp div.modal #content h3,
.cp div#modal #content h3 {
font-size: 3.6vw;
line-height: 3.96vw;
}
.cp div.modal #content h4,
.cp div#modal #content h4 {
font-size: 3vw;
line-height: 3.3vw;
}
.cp div.modal #content h5,
.cp div#modal #content h5 {
font-size: 2.2vw;
line-height: 2.42vw;
}
.cp div.modal #content h6,
.cp div#modal #content h6 {
font-size: 1.6vw;
line-height: 1.76vw;
}
.cp div.modal #content pre > code,
.cp div#modal #content pre > code {
display: block;
position: relative;
border: 1px solid #333;
width: 90%;
margin: auto;
padding-left: .25vw;
}
.cp div.modal .center,
.cp div#modal .center {
position: relative;
width: 80%;
height: 80%;
margin: auto;
border: 1px solid #685d56;
text-align: center;
}
.cp div.modal.shown,
.cp div#modal.shown {
display: block;
}
.cp div.modal table,
.cp div#modal table {
margin: 30px;
border-collapse: collapse;
}
.cp div.modal table input,
.cp div#modal table input {
height: 100%;
width: 90%;
border: 3px solid #302B28;
}
.cp div.modal table tfoot tr td,
.cp div#modal table tfoot tr td {
z-index: 4000;
cursor: pointer;
}
.cp div.modal #addtime,
.cp div#modal #addtime,
.cp div.modal #adddate,
.cp div#modal #adddate {
color: #46E981;
border: 1px solid #46E981;
padding: 15px;
}
.cp div.modal #adddate,
.cp div#modal #adddate {
border-top-left-radius: 5px;
}
.cp div.modal #addtime,
.cp div#modal #addtime {
border-bottom-left-radius: 5px;
}