2017-08-01 12:17:02 +00:00
|
|
|
@import (once) "./colortheme.less";
|
|
|
|
|
2017-08-01 11:49:42 +00:00
|
|
|
@infopages_infobar-height: 64px;
|
|
|
|
|
2017-07-22 14:43:53 +00:00
|
|
|
// Basic setup for info pages, this should be used at the global level
|
|
|
|
.infopages_main () {
|
|
|
|
min-height: 100vh;
|
2017-08-01 12:17:02 +00:00
|
|
|
background-color: @colortheme_info-background;
|
2017-07-22 14:43:53 +00:00
|
|
|
|
|
|
|
a {
|
2017-08-01 12:17:02 +00:00
|
|
|
color: @colortheme_link-color;
|
|
|
|
&:visited {
|
|
|
|
color: @colortheme_link-color-visited;
|
|
|
|
}
|
2017-07-24 12:10:40 +00:00
|
|
|
//opacity: 0.8;
|
|
|
|
//transition: opacity 0.2s;
|
2017-07-22 14:43:53 +00:00
|
|
|
}
|
|
|
|
a:hover {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
border: 0;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
|
|
|
|
font-size: 14px;
|
2017-08-01 11:49:42 +00:00
|
|
|
font-family: 'Open Sans', 'Helvetica Neue', sans-serif;
|
|
|
|
|
|
|
|
.cp-container {
|
|
|
|
padding-top: @infopages_infobar-height;
|
|
|
|
}
|
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;
|
|
|
|
z-index: 9001;
|
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;
|
|
|
|
|
|
|
|
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
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|