2018-07-12 16:43:17 +00:00
|
|
|
@import (reference) "./colortheme-all.less";
|
2018-07-14 13:15:23 +00:00
|
|
|
@import (reference) "./font.less";
|
2017-08-01 12:17:02 +00:00
|
|
|
|
2018-07-14 13:15:23 +00:00
|
|
|
.infopages_link () {
|
|
|
|
text-decoration: none;
|
|
|
|
color: #0275D8;
|
|
|
|
cursor: pointer;
|
|
|
|
display: inline-flex;
|
|
|
|
&:hover {
|
|
|
|
transform: scale(1.05);
|
|
|
|
}
|
|
|
|
}
|
2020-10-27 12:07:45 +00:00
|
|
|
.cp-shadow() {
|
|
|
|
box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, 0.34);
|
|
|
|
}
|
2017-08-01 11:49:42 +00:00
|
|
|
|
2017-07-22 14:43:53 +00:00
|
|
|
.infopages_main () {
|
2018-07-14 13:15:23 +00:00
|
|
|
--LessLoader_require: LessLoader_currentFile();
|
|
|
|
}
|
|
|
|
body {
|
|
|
|
.font_main();
|
|
|
|
@infopages_infobar-height: 64px;
|
|
|
|
@infopages_padding: 32px;
|
|
|
|
|
|
|
|
// Basic setup for info pages, this should be used at the global level
|
2017-08-01 12:17:02 +00:00
|
|
|
background-color: @colortheme_info-background;
|
2020-10-23 17:05:52 +00:00
|
|
|
color: @cryptpad_text_col;
|
2017-07-22 14:43:53 +00:00
|
|
|
a {
|
2020-10-22 15:53:26 +00:00
|
|
|
color: @colortheme_logo-2;
|
|
|
|
&:visited { color: darken(@colortheme_logo-2, 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;
|
2021-01-19 16:43:54 +00:00
|
|
|
|
|
|
|
#cp-main {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: column;
|
|
|
|
min-height: 100vh;
|
|
|
|
& > .cp-container {
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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;
|
2020-12-29 11:38:48 +00:00
|
|
|
max-width: 950px;
|
2017-08-01 15:11:03 +00:00
|
|
|
h1 {
|
|
|
|
font-size: 3em;
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
}
|
2017-08-02 13:53:04 +00:00
|
|
|
h2 {
|
2020-10-27 09:52:06 +00:00
|
|
|
font-size: 1.8em;
|
2020-11-12 16:24:03 +00:00
|
|
|
margin-top: 20px;
|
2017-08-02 13:53:04 +00:00
|
|
|
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%;
|
2020-11-19 21:00:55 +00:00
|
|
|
margin-top: 20px;
|
2017-08-02 13:53:04 +00:00
|
|
|
}
|
2020-10-27 09:52:06 +00:00
|
|
|
.cp-page-title {
|
|
|
|
h1 {
|
|
|
|
font-family: "IBM Plex Mono";
|
|
|
|
color: @colortheme_logo-2;
|
|
|
|
margin: 50px auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.row.cp-page-section {
|
|
|
|
margin: 50px 0px;
|
|
|
|
}
|
|
|
|
img.cp-shadow {
|
2020-10-27 12:07:45 +00:00
|
|
|
.cp-shadow();
|
2020-10-27 09:52:06 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
button {
|
|
|
|
outline: none;
|
|
|
|
background-color: @colortheme_logo-2;
|
|
|
|
color: @colortheme_base;
|
|
|
|
border: none;
|
|
|
|
padding: 10px 20px;
|
2021-01-20 14:40:06 +00:00
|
|
|
margin-right: 10px;
|
2020-10-27 09:52:06 +00:00
|
|
|
border-radius: 0px;
|
|
|
|
cursor: pointer;
|
2020-11-05 11:59:15 +00:00
|
|
|
&:hover, &:focus {
|
|
|
|
background-color: darken(@colortheme_logo-2, 5%);
|
2020-10-27 09:52:06 +00:00
|
|
|
}
|
|
|
|
}
|
2020-10-27 14:11:12 +00:00
|
|
|
button.cp-secondary {
|
|
|
|
background-color: white;
|
|
|
|
color: @colortheme_logo-2;
|
|
|
|
border: 1px solid @colortheme_logo-2;
|
|
|
|
}
|
2020-10-27 09:52:06 +00:00
|
|
|
|
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 {
|
2021-01-21 12:18:26 +00:00
|
|
|
@footer-color: #d9d9d9; // FIXME use/make variable
|
2020-10-26 14:35:39 +00:00
|
|
|
|
|
|
|
background-color: @footer-color;
|
|
|
|
padding-top: 20px;
|
2021-01-19 16:43:54 +00:00
|
|
|
align-self: normal; // override align-items:center from parent in index.html
|
|
|
|
|
2017-08-02 09:00:42 +00:00
|
|
|
.container {
|
2020-10-26 14:35:39 +00:00
|
|
|
margin-bottom: 20px;
|
|
|
|
a {
|
|
|
|
color: @colortheme_logo-2;
|
|
|
|
&:visited {
|
|
|
|
color: @colortheme_logo-2;
|
|
|
|
};
|
2017-08-02 09:00:42 +00:00
|
|
|
}
|
2017-08-04 14:58:29 +00:00
|
|
|
}
|
2020-10-26 14:35:39 +00:00
|
|
|
.cp-logo-foot {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: column;
|
|
|
|
width: 100%;
|
|
|
|
align-items: center;
|
|
|
|
img {
|
|
|
|
max-width: 60px;
|
|
|
|
display: block;
|
2017-08-02 09:00:42 +00:00
|
|
|
}
|
2020-10-26 14:35:39 +00:00
|
|
|
.logo-font {
|
|
|
|
display: block;
|
|
|
|
font-family: "IBM Plex Mono";
|
|
|
|
font-size: 1.5rem;
|
|
|
|
color: @colortheme_logo-2;
|
|
|
|
margin-bottom: 10px;
|
2017-08-09 15:35:36 +00:00
|
|
|
}
|
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 {
|
2020-10-26 14:35:39 +00:00
|
|
|
background-color: @footer-color;
|
|
|
|
display: flex;
|
|
|
|
flex-flow: column;
|
|
|
|
align-items: center;
|
2017-08-02 09:00:42 +00:00
|
|
|
padding: 0.5em;
|
2020-10-26 14:35:39 +00:00
|
|
|
border-top: 1px solid #fff;
|
|
|
|
select {
|
|
|
|
min-width: 0;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
2017-08-02 09:00:42 +00:00
|
|
|
}
|
|
|
|
}
|
2017-07-22 14:43:53 +00:00
|
|
|
|
2018-07-14 13:15:23 +00:00
|
|
|
// Apply this to the top bar div
|
2017-07-22 14:43:53 +00:00
|
|
|
.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-04 14:58:29 +00:00
|
|
|
|
2018-07-14 13:15:23 +00:00
|
|
|
// navigation top bar
|
|
|
|
.navbar {
|
2020-10-22 15:53:26 +00:00
|
|
|
width: 100%;
|
|
|
|
color: @colortheme_logo-2;
|
2018-07-14 13:15:23 +00:00
|
|
|
.navbar-brand {
|
|
|
|
display: block;
|
|
|
|
height: 50px;
|
|
|
|
width: 250px;
|
2020-10-22 15:53:26 +00:00
|
|
|
font-family: "IBM Plex Mono";
|
|
|
|
font-size: 1.8em;
|
|
|
|
img {
|
|
|
|
max-width: 40px;
|
2020-12-29 11:38:48 +00:00
|
|
|
margin-right: 10px;
|
2020-10-22 15:53:26 +00:00
|
|
|
}
|
2018-07-14 13:15:23 +00:00
|
|
|
@media (max-width: 326px) {
|
|
|
|
width: 180px;
|
|
|
|
}
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
a {
|
|
|
|
border: 2px solid transparent;
|
|
|
|
white-space: nowrap;
|
2020-10-22 15:53:26 +00:00
|
|
|
&:visited {
|
|
|
|
color: @colortheme_logo-2;
|
|
|
|
}
|
2018-07-14 13:15:23 +00:00
|
|
|
}
|
|
|
|
.nav-link {
|
|
|
|
padding: 0.5em 0.7em;
|
|
|
|
&:hover {
|
2020-10-22 15:53:26 +00:00
|
|
|
color: @cryptpad_text_col;
|
2018-07-14 13:15:23 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.cp-register-btn {
|
2020-10-22 15:53:26 +00:00
|
|
|
border: 2px solid @colortheme_logo-2;
|
2018-07-14 13:15:23 +00:00
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
button:focus {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
.navbar-toggler {
|
|
|
|
margin-top: 10px;
|
2020-10-22 15:53:26 +00:00
|
|
|
color: @colortheme_logo-2;
|
2018-05-22 13:40:06 +00:00
|
|
|
}
|
2017-08-04 14:58:29 +00:00
|
|
|
}
|
2018-07-14 13:15:23 +00:00
|
|
|
@media (max-width: 1000px) {
|
|
|
|
#menuCollapse {
|
|
|
|
text-align: right;
|
|
|
|
/* @media (min-width: 576px) {
|
|
|
|
top: 100%;
|
|
|
|
background: rgba(255,255,255,0.8);
|
|
|
|
position: absolute;
|
|
|
|
right: 0px;
|
|
|
|
padding: 0 20px;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
*/
|
|
|
|
}
|
|
|
|
.navbar-nav a {
|
|
|
|
text-align: right !important;
|
|
|
|
}
|
|
|
|
.cp-register-btn {
|
|
|
|
margin-right: 13px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
2018-04-18 16:51:49 +00:00
|
|
|
}
|
2018-07-18 12:31:01 +00:00
|
|
|
}
|
|
|
|
|