cryptpad/customize.dist/main.css

527 lines
9.5 KiB
CSS
Raw Normal View History

2016-07-04 15:08:54 +00:00
a.github-corner > svg {
fill: #46E981;
color: #302B28;
}
.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%);
}
2016-07-04 13:18:34 +00:00
.lato {
2016-07-04 14:34:29 +00:00
font-family: lato, Helvetica, sans-serif;
2016-07-04 13:18:34 +00:00
font-size: 1.02em;
}
html {
font-size: .875em;
background-color: #302B28;
color: #fafafa;
}
html,
body {
font-family: Georgia,Cambria,serif;
height: 100%;
}
body {
font-size: 1rem;
font-weight: 400;
line-height: 2rem;
}
h1,
h2,
h3,
h4,
h5,
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;
}
h1 {
line-height: 3rem;
font-size: 2.05714rem;
margin-bottom: .21999rem;
padding-top: .78001rem;
}
h2 {
font-size: 1.95312rem;
margin-bottom: .18358rem;
padding-top: .81642rem;
}
h2,
h3 {
line-height: 3rem;
}
h3 {
font-size: 1.64571rem;
margin-bottom: .07599rem;
padding-top: .92401rem;
}
h4 {
font-size: 1.5625rem;
margin-bottom: .54686rem;
padding-top: .45314rem;
}
h5 {
font-size: 1.25rem;
margin-bottom: -0.56251rem;
padding-top: .56251rem;
}
h6 {
font-size: 1rem;
margin-bottom: -0.65001rem;
padding-top: .65001rem;
}
a {
cursor: pointer;
color: #46E981;
text-decoration: none;
}
2016-07-04 14:34:29 +00:00
a:hover {
color: #a1f4bf;
}
2016-07-04 13:18:34 +00:00
img {
height: auto;
max-width: 100%;
}
img.cryptofist {
filter: invert(100%);
2016-07-04 14:34:29 +00:00
-webkit-filter: invert(100%);
2016-07-04 13:18:34 +00:00
}
p {
padding-top: .66001rem;
margin-top: 0;
}
p,
pre {
margin-bottom: 1.33999rem;
}
p,
pre,
td,
a,
table,
tr {
2016-07-04 14:34:29 +00:00
font-family: lato, Helvetica, sans-serif;
2016-07-04 13:18:34 +00:00
font-size: 1.02em;
}
#main {
width: 70vw;
margin: auto;
font-size: medium;
padding-bottom: 1em;
}
/* buttons */
.create,
.action {
2016-07-04 14:34:29 +00:00
border: 2px solid #46E981;
2016-07-04 13:18:34 +00:00
border-radius: 10px;
background-color: #302B28;
color: #46E981;
font-weight: bold;
font-size: large;
margin-right: 5px;
margin-left: 5px;
}
.create:hover,
.action:hover {
2016-07-04 14:34:29 +00:00
border: 2px solid #a1f4bf;
color: #46E981;
}
2016-09-26 15:35:27 +00:00
.create {
display: none;
}
.action {
display: inline-block;
}
2016-07-04 13:18:34 +00:00
.buttons {
margin-bottom: 50px;
margin-top: 20px;
}
.button {
padding: 4px 12px 4px 12px;
border-radius: 5px;
margin-top: 12px;
margin-bottom: 12px;
white-space: nowrap;
2016-09-15 16:35:09 +00:00
}
2016-07-04 13:18:34 +00:00
/* Tables */
table {
border-collapse: collapse;
border-spacing: 0;
margin: 20px;
}
tbody {
border: 2px solid black;
}
tbody tr {
text-align: center;
}
tbody tr:first-of-type th {
font-size: 20px;
2016-07-04 13:18:34 +00:00
border-top: 0px;
font-weight: bold;
padding: 10px;
text-decoration: underline;
}
tbody tr:first-of-type th.table-refresh {
color: #46E981;
text-decoration: none;
2016-08-03 09:37:58 +00:00
cursor: pointer;
}
2016-07-04 13:18:34 +00:00
tbody tr:nth-child(odd) {
background-color: #685d56;
}
tbody tr th:first-of-type {
border-left: 0px;
}
tbody tr th {
box-sizing: border-box;
border: 1px solid black;
}
tbody tr th,
tbody tr td {
color: #fafafa;
}
2016-08-18 13:46:29 +00:00
tbody tr th.remove,
tbody tr td.remove {
cursor: pointer;
2016-07-04 13:18:34 +00:00
}
tbody tr th:last-child {
border-right: 0px;
}
2016-07-04 13:18:34 +00:00
tbody td {
border-right: 1px solid black;
padding: 12px;
padding-top: 0px;
padding-bottom: 0px;
}
tbody td:last-child {
border-right: none;
}
/* Bottom Bar */
2016-09-27 16:33:03 +00:00
.top-bar,
2016-07-04 13:18:34 +00:00
.bottom-bar {
position: fixed;
height: 4%;
height: 2.5em;
display: inline-block;
width: 100%;
background: #302B28;
border-top: 1px solid #444;
}
2016-09-27 16:33:03 +00:00
.top-bar a,
2016-07-04 13:18:34 +00:00
.bottom-bar a {
color: #46E981;
text-decoration: none;
}
2016-09-27 16:33:03 +00:00
.top-bar p,
2016-07-04 13:18:34 +00:00
.bottom-bar p {
margin: -1px;
font-family: Arial, Helvetica, Tahoma, Verdana, sans-serif;
font-size: 20px;
display: block;
2016-09-27 16:33:03 +00:00
float: right;
margin-left: 10px;
2016-07-04 13:18:34 +00:00
padding-top: 3px;
color: #fafafa;
}
2016-09-27 16:33:03 +00:00
.top-bar img,
2016-07-04 13:18:34 +00:00
.bottom-bar img {
margin-right: 4px;
position: relative;
}
2016-09-27 16:33:03 +00:00
.bottom-bar {
bottom: 0px;
right: 0px;
}
.top-bar {
top: 0px;
right: 0px;
}
2016-07-04 13:18:34 +00:00
.bottom-bar-left {
display: block;
float: left;
padding-left: 10px;
}
.bottom-bar-right {
display: block;
float: right;
padding-right: 20px;
}
.bottom-bar-center {
margin-left: auto;
margin-right: auto;
width: 20%;
}
.bottom-bar-heart {
top: 2px;
}
.bottom-bar-xwiki {
top: 3px;
}
.bottom-bar-openpaas {
top: 3px;
max-width: 100px;
}
2016-07-19 14:25:14 +00:00
.bottom-left {
border-bottom-left-radius: 5px;
}
.top-left {
border-top-left-radius: 5px;
}
2016-08-18 14:18:17 +00:00
.remove {
color: #FF0073;
cursor: pointer !important;
2016-08-18 14:18:17 +00:00
}
form.realtime {
padding: 0px;
margin: 0px;
}
form.realtime > textarea {
width: 50%;
height: 15vh;
}
form.realtime table {
border-collapse: collapse;
}
2016-07-28 15:04:01 +00:00
form.realtime table tr td {
padding: 0px;
margin: 0px;
}
form.realtime table tr td div.text-cell {
padding: 0px;
margin: 0px;
height: 100%;
}
form.realtime table tr td div.text-cell input {
width: 80%;
2016-07-28 15:04:01 +00:00
height: 100%;
border: 0px;
}
form.realtime table tr td div.text-cell input[disabled] {
background-color: transparent;
color: #fafafa;
font-weight: bold;
}
2016-07-28 15:04:01 +00:00
form.realtime table tr td.checkbox-cell {
margin: 0px;
padding: 0px;
}
form.realtime table tr td.checkbox-cell div.checkbox-contain {
display: block;
height: 100%;
width: 100%;
position: relative;
}
form.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%;
2016-07-28 15:04:01 +00:00
}
form.realtime table tr td.checkbox-cell div.checkbox-contain input[type="checkbox"]:not(.editable) {
2016-07-28 15:04:01 +00:00
display: none;
}
form.realtime table tr td.checkbox-cell div.checkbox-contain input[type="checkbox"]:not(.editable) ~ .cover {
2016-07-28 15:04:01 +00:00
font-weight: bold;
background-color: #FF0073;
color: #302B28;
display: block;
}
form.realtime table tr td.checkbox-cell div.checkbox-contain input[type="checkbox"]:not(.editable) ~ .cover:after {
2016-07-28 15:04:01 +00:00
content: "✖";
}
form.realtime table tr td.checkbox-cell div.checkbox-contain input[type="checkbox"]:not(.editable) ~ .cover.yes {
2016-07-28 15:04:01 +00:00
background-color: #46E981;
}
form.realtime table tr td.checkbox-cell div.checkbox-contain input[type="checkbox"]:not(.editable) ~ .cover.yes:after {
2016-07-28 15:04:01 +00:00
content: "✔";
}
form.realtime table tr td.checkbox-cell div.checkbox-contain input[type="checkbox"]:not(.editable) ~ .cover.mine {
display: none;
}
2016-07-28 15:04:01 +00:00
form.realtime table input[type="text"] {
height: 100%;
width: 80%;
border: 3px solid #302B28;
2016-07-22 13:42:41 +00:00
}
form.realtime table .edit {
color: #46E981;
cursor: pointer;
width: 10%;
font-size: 20px;
}
form.realtime table .edit:after {
content: '✐';
}
form.realtime table .edit.editable {
display: none;
}
form.realtime table thead tr th input[type="text"][disabled] {
background-color: transparent;
color: #fafafa;
font-weight: bold;
}
form.realtime table thead tr th .remove {
cursor: pointer;
font-size: 20px;
}
form.realtime table tfoot tr td {
text-align: center;
}
form.realtime table tfoot tr td .save {
padding: 15px;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
}
form.realtime #adduser,
form.realtime #addoption {
color: #46E981;
border: 1px solid #46E981;
padding: 15px;
2016-08-18 13:24:56 +00:00
cursor: pointer;
}
2016-07-19 14:25:14 +00:00
form.realtime #adduser {
border-top-left-radius: 5px;
}
form.realtime #addoption {
border-bottom-left-radius: 5px;
}
div.modal,
div#modal {
2016-07-19 14:25:14 +00:00
box-sizing: border-box;
z-index: 9001;
position: fixed;
top: 0px;
left: 0px;
width: 100%;
height: 100vh;
display: none;
background-color: #302B28;
}
div.modal #content,
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;
}
div.modal #content p,
div#modal #content p,
div.modal #content li,
div#modal #content li,
div.modal #content pre,
div#modal #content pre,
div.modal #content code,
div#modal #content code {
2016-09-14 14:00:06 +00:00
font-size: 2.75vw;
line-height: 3.025vw;
}
div.modal #content h1,
div#modal #content h1 {
font-size: 5vw;
2016-09-14 14:00:06 +00:00
line-height: 5.5vw;
}
div.modal #content h2,
div#modal #content h2 {
font-size: 4.2vw;
2016-09-14 14:00:06 +00:00
line-height: 4.62vw;
}
div.modal #content h3,
div#modal #content h3 {
font-size: 3.6vw;
2016-09-14 14:00:06 +00:00
line-height: 3.96vw;
}
div.modal #content h4,
div#modal #content h4 {
font-size: 3vw;
2016-09-14 14:00:06 +00:00
line-height: 3.3vw;
}
div.modal #content h5,
div#modal #content h5 {
font-size: 2.2vw;
2016-09-14 14:00:06 +00:00
line-height: 2.42vw;
}
div.modal #content h6,
div#modal #content h6 {
font-size: 1.6vw;
2016-09-14 14:00:06 +00:00
line-height: 1.76vw;
}
div.modal #content pre > code,
div#modal #content pre > code {
display: block;
position: relative;
border: 1px solid #333;
width: 90%;
margin: auto;
padding-left: .25vw;
}
div.modal .center,
div#modal .center {
2016-07-19 14:25:14 +00:00
position: relative;
width: 80%;
height: 80%;
margin: auto;
border: 1px solid #685d56;
text-align: center;
}
div.modal.shown,
div#modal.shown {
2016-07-19 14:25:14 +00:00
display: block;
}
div.modal table,
div#modal table {
2016-07-19 14:25:14 +00:00
margin: 30px;
border-collapse: collapse;
}
div.modal table input,
div#modal table input {
2016-07-19 14:25:14 +00:00
height: 100%;
2016-07-22 13:42:41 +00:00
width: 90%;
2016-07-19 14:25:14 +00:00
border: 3px solid #302B28;
2016-07-22 13:42:41 +00:00
}
div.modal table tfoot tr td,
div#modal table tfoot tr td {
2016-07-19 14:25:14 +00:00
z-index: 4000;
cursor: pointer;
}
div.modal #addtime,
div#modal #addtime,
div.modal #adddate,
div#modal #adddate {
2016-07-19 14:25:14 +00:00
color: #46E981;
border: 1px solid #46E981;
padding: 15px;
}
div.modal #adddate,
div#modal #adddate {
border-top-left-radius: 5px;
}
div.modal #addtime,
div#modal #addtime {
2016-07-19 14:25:14 +00:00
border-bottom-left-radius: 5px;
}