2017-12-07 13:57:24 +00:00
|
|
|
@import (once) "./colortheme-all.less";
|
2017-08-01 12:17:02 +00:00
|
|
|
|
2017-08-01 11:49:42 +00:00
|
|
|
@infopages_infobar-height: 64px;
|
2017-08-01 15:11:03 +00:00
|
|
|
@infopages_padding: 32px;
|
2017-08-01 11:49:42 +00:00
|
|
|
|
2017-07-22 14:43:53 +00:00
|
|
|
// Basic setup for info pages, this should be used at the global level
|
|
|
|
.infopages_main () {
|
2017-08-01 12:17:02 +00:00
|
|
|
background-color: @colortheme_info-background;
|
2017-07-22 14:43:53 +00:00
|
|
|
a {
|
2017-08-04 14:58:29 +00:00
|
|
|
color: @cryptpad_color_blue;
|
2017-08-14 13:40:09 +00:00
|
|
|
&:visited { color: darken(@cryptpad_color_blue, 5%); }
|
2017-07-22 14:43:53 +00:00
|
|
|
}
|
|
|
|
a:hover {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
border: 0;
|
2017-08-02 13:53:04 +00:00
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
2017-08-04 15:15:45 +00:00
|
|
|
font-size: 16px;
|
|
|
|
font-family: @colortheme_font;
|
2017-08-01 11:49:42 +00:00
|
|
|
.cp-container {
|
2017-08-04 09:10:30 +00:00
|
|
|
font-size: 16px;
|
2017-08-01 15:11:03 +00:00
|
|
|
padding-top: @infopages_padding;
|
|
|
|
padding-bottom: @infopages_padding;
|
|
|
|
min-height: 75vh;
|
|
|
|
h1 {
|
|
|
|
font-size: 3em;
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
}
|
2017-08-02 13:53:04 +00:00
|
|
|
h2 {
|
|
|
|
font-size: 2em;
|
|
|
|
margin-top: 1em;
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
}
|
2017-08-03 13:58:51 +00:00
|
|
|
h3 {
|
|
|
|
font-size: 1.5em;
|
|
|
|
margin-top: 1em;
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
}
|
2017-08-02 13:53:04 +00:00
|
|
|
img {
|
|
|
|
&.left {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
2017-08-01 15:11:03 +00:00
|
|
|
.form-group {
|
|
|
|
& > * {
|
|
|
|
margin-top: 0.5em;
|
|
|
|
}
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
.checkbox-container {
|
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
label {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
input {
|
|
|
|
margin-right: 0.5em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-08-01 11:49:42 +00:00
|
|
|
}
|
2017-08-02 09:00:42 +00:00
|
|
|
footer {
|
2017-08-09 15:35:36 +00:00
|
|
|
background-color: @cryptpad_color_blue;
|
2017-08-02 09:00:42 +00:00
|
|
|
.container {
|
|
|
|
.col {
|
|
|
|
margin-top: 1em;
|
|
|
|
}
|
2017-08-04 14:58:29 +00:00
|
|
|
a {
|
|
|
|
color: #fff;
|
|
|
|
&:visited {
|
2017-08-14 13:40:09 +00:00
|
|
|
color: darken(#fff, 5%);
|
2017-08-04 14:58:29 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
margin-bottom: 1em;
|
|
|
|
ul.list-unstyled {
|
2017-08-09 15:35:36 +00:00
|
|
|
margin-top: 1em;
|
|
|
|
text-align: center;
|
2017-08-02 09:00:42 +00:00
|
|
|
}
|
|
|
|
}
|
2017-08-09 15:35:36 +00:00
|
|
|
.cp-bio-foot {
|
|
|
|
background-image: url(/customize/CryptPad-white-logo.svg);
|
|
|
|
background-size: 100%;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
p {
|
|
|
|
color: #fff;
|
|
|
|
padding-top: 30%;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2017-08-02 09:00:42 +00:00
|
|
|
|
2017-08-09 15:35:36 +00:00
|
|
|
}
|
2017-08-02 09:00:42 +00:00
|
|
|
.cp-version-footer {
|
2017-08-09 15:35:36 +00:00
|
|
|
background-color: @cryptpad_color_blue;
|
2017-08-04 14:58:29 +00:00
|
|
|
color: #fff;
|
2017-08-02 09:00:42 +00:00
|
|
|
text-align: center;
|
|
|
|
padding: 0.5em;
|
2017-08-09 15:35:36 +00:00
|
|
|
border-top: 2px solid #fff;
|
2017-08-02 09:00:42 +00:00
|
|
|
}
|
|
|
|
}
|
2017-07-22 14:43:53 +00:00
|
|
|
};
|
|
|
|
|
2017-07-26 13:53:10 +00:00
|
|
|
.infopages_link () {
|
|
|
|
text-decoration: none;
|
2017-08-01 12:17:02 +00:00
|
|
|
color: #0275D8;
|
2017-07-26 13:53:10 +00:00
|
|
|
cursor: pointer;
|
|
|
|
display: inline-flex;
|
|
|
|
&:hover {
|
|
|
|
transform: scale(1.05);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-07-22 14:43:53 +00:00
|
|
|
// Apply this to the top bar div
|
|
|
|
.infopages_topbar () {
|
|
|
|
.cp-topbar {
|
2017-08-01 11:49:42 +00:00
|
|
|
background: #fff;
|
2017-09-13 15:43:17 +00:00
|
|
|
z-index: 10000; //Z infopage toolbar
|
2017-07-22 14:43:53 +00:00
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
box-sizing: border-box;
|
|
|
|
width: 100%;
|
2017-08-01 11:49:42 +00:00
|
|
|
height: @infopages_infobar-height;
|
2017-07-22 14:43:53 +00:00
|
|
|
padding-left: 0.5em;
|
|
|
|
padding-right: 0.5em;
|
|
|
|
vertical-align: middle;
|
|
|
|
font-size: 1.25em;
|
|
|
|
line-height: 1.25em;
|
|
|
|
cursor: default;
|
|
|
|
user-select: none;
|
|
|
|
-moz-user-select: none;
|
|
|
|
-webkit-user-select: none;
|
|
|
|
-ms-user-select: none;
|
2017-08-02 10:37:56 +00:00
|
|
|
.navbar-nav {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
2017-07-22 14:43:53 +00:00
|
|
|
a {
|
|
|
|
font-weight: 500;
|
|
|
|
padding: 0.6em;
|
2017-07-26 13:53:10 +00:00
|
|
|
.infopages_link()
|
2017-07-22 14:43:53 +00:00
|
|
|
}
|
2017-08-02 10:37:56 +00:00
|
|
|
.cp-logo {
|
|
|
|
margin-right: 0.5em;
|
|
|
|
}
|
2017-07-22 14:43:53 +00:00
|
|
|
}
|
2017-08-01 15:11:03 +00:00
|
|
|
}
|
2017-08-04 14:58:29 +00:00
|
|
|
|
2017-12-08 16:30:45 +00:00
|
|
|
// navigation top bar
|
|
|
|
.navbar {
|
2017-08-04 14:58:29 +00:00
|
|
|
background: #fff;
|
|
|
|
.navbar-brand {
|
2017-08-04 15:44:02 +00:00
|
|
|
display: block;
|
|
|
|
background-image: url(/customize/CryptPad_logo_color.svg);
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-size: contain;
|
2017-08-04 14:58:29 +00:00
|
|
|
height: 50px;
|
2017-08-04 15:44:02 +00:00
|
|
|
width: 250px;
|
2017-08-04 14:58:29 +00:00
|
|
|
}
|
|
|
|
a {
|
|
|
|
border: 2px solid transparent;
|
2018-03-20 10:05:43 +00:00
|
|
|
white-space: nowrap;
|
2017-08-04 14:58:29 +00:00
|
|
|
}
|
|
|
|
.nav-link {
|
|
|
|
padding: 0.5em 0.7em;
|
|
|
|
&:hover {
|
|
|
|
transform: scale(1.05);
|
|
|
|
};
|
|
|
|
}
|
|
|
|
.cp-register-btn {
|
2017-09-11 09:22:41 +00:00
|
|
|
border: 2px solid #4591C4;
|
|
|
|
display: inline-block;
|
2017-08-04 14:58:29 +00:00
|
|
|
}
|
|
|
|
button:focus {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
.navbar-toggler {
|
|
|
|
margin-top: 10px;
|
|
|
|
color: #4591C4;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media (max-width: 991px) {
|
|
|
|
#menuCollapse {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
.navbar-nav a {
|
|
|
|
text-align: right !important;
|
|
|
|
}
|
|
|
|
.cp-register-btn {
|
|
|
|
margin-right: 13px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
//footer general styles
|
|
|
|
|
2017-08-04 15:44:02 +00:00
|
|
|
.footer-title {
|
2017-08-04 14:58:29 +00:00
|
|
|
font-weight: bold;
|
|
|
|
font-size: 1.2em;
|
|
|
|
color: #1E1F1F;
|
2017-08-04 15:44:02 +00:00
|
|
|
}
|