664 lines
10 KiB
SCSS
664 lines
10 KiB
SCSS
// Table of Contents
|
|
//
|
|
// 01. Dashboard global
|
|
// 02. Actions
|
|
// 04. Goals
|
|
// 05. Sidebar
|
|
// 06. Community
|
|
// 07. Graph
|
|
// 08. Polls
|
|
// 09. Email preview
|
|
// 10. Poster preview
|
|
// 11. Poster PDF
|
|
//
|
|
|
|
// 01. Dashboard global
|
|
// --------------------
|
|
|
|
.proposal-dashboard {
|
|
@include admin-layout;
|
|
}
|
|
|
|
.proposal-title {
|
|
display: inline-block;
|
|
|
|
.label {
|
|
display: inline-block;
|
|
margin-left: calc($line-height / 2);
|
|
vertical-align: top;
|
|
}
|
|
}
|
|
|
|
.dashboard-proposals-stats {
|
|
border: 2px solid $highlight;
|
|
border-radius: rem-calc(6);
|
|
margin-bottom: $line-height;
|
|
padding: calc($line-height / 2);
|
|
text-align: center;
|
|
|
|
@include breakpoint(medium only) {
|
|
.change-behaviour {
|
|
float: left;
|
|
margin-top: calc($line-height / 2);
|
|
padding: $line-height;
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
.counter-divider {
|
|
@include breakpoint(medium) {
|
|
border-left: 2px solid $highlight;
|
|
}
|
|
|
|
@include breakpoint(large) {
|
|
border-right: 2px solid $highlight;
|
|
}
|
|
}
|
|
|
|
.counter-value {
|
|
font-size: rem-calc(20);
|
|
font-weight: bold;
|
|
}
|
|
|
|
.counter-label {
|
|
color: $text-medium;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.progress {
|
|
background: #f0efea;
|
|
border-radius: rem-calc(6);
|
|
height: calc($line-height / 2);
|
|
}
|
|
|
|
.progress-meter {
|
|
background: #ffad33;
|
|
border-bottom-right-radius: rem-calc(3);
|
|
border-top-right-radius: rem-calc(3);
|
|
}
|
|
|
|
.next-goal-progress {
|
|
font-size: $small-font-size;
|
|
font-weight: bold;
|
|
text-align: right;
|
|
}
|
|
}
|
|
|
|
.title {
|
|
border-bottom: 1px solid $border;
|
|
margin: $line-height 0;
|
|
}
|
|
|
|
.dashboard-related-content {
|
|
|
|
.related-content {
|
|
border-top: 0;
|
|
|
|
.margin-bottom {
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
// 02. Actions
|
|
// -----------
|
|
|
|
.action {
|
|
margin-top: $line-height;
|
|
|
|
.action-content {
|
|
display: inline-block;
|
|
margin-left: calc($line-height / 4);
|
|
max-width: 90%;
|
|
word-break: break-all;
|
|
|
|
h4 {
|
|
display: inline-block;
|
|
}
|
|
|
|
.label {
|
|
margin-left: calc($line-height / 2);
|
|
}
|
|
|
|
a {
|
|
display: block;
|
|
}
|
|
|
|
h4,
|
|
p {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
p {
|
|
font-size: $small-font-size;
|
|
}
|
|
|
|
button {
|
|
@include link;
|
|
}
|
|
}
|
|
|
|
form {
|
|
display: inline;
|
|
vertical-align: top;
|
|
|
|
button {
|
|
font-size: 1.5em;
|
|
}
|
|
}
|
|
|
|
.checked-link {
|
|
@include has-fa-icon(check, solid);
|
|
color: $color-success;
|
|
}
|
|
|
|
.unchecked-link {
|
|
@include has-fa-icon(square, regular);
|
|
color: $dark-gray;
|
|
}
|
|
}
|
|
|
|
.proposed-actions {
|
|
button {
|
|
@include link;
|
|
}
|
|
}
|
|
|
|
// 04. Goals
|
|
// ---------
|
|
|
|
.next-goal {
|
|
border-left: 2px solid $border;
|
|
margin-left: $line-height;
|
|
margin-top: rem-calc(-24);
|
|
padding-left: $line-height;
|
|
padding-top: $line-height;
|
|
position: relative;
|
|
|
|
&::before {
|
|
background: $body-background;
|
|
border: 1px solid $border;
|
|
border-radius: rem-calc(36);
|
|
content: "\77";
|
|
font-family: "icons";
|
|
font-size: rem-calc(24);
|
|
height: rem-calc(36);
|
|
left: -18px;
|
|
padding: 0 rem-calc(6) rem-calc(6);
|
|
position: absolute;
|
|
top: 18px;
|
|
width: rem-calc(36);
|
|
}
|
|
|
|
.help-text {
|
|
color: $text-medium;
|
|
display: block;
|
|
padding-top: calc($line-height / 4);
|
|
}
|
|
}
|
|
|
|
.goal-supports,
|
|
.goal-resource,
|
|
.goal-days {
|
|
margin-bottom: $line-height;
|
|
padding-left: $line-height * 1.5;
|
|
position: relative;
|
|
|
|
&::before {
|
|
font-family: "icons";
|
|
font-size: rem-calc(24);
|
|
left: 6px;
|
|
position: absolute;
|
|
top: -6px;
|
|
}
|
|
}
|
|
|
|
.goal-supports {
|
|
|
|
&::before {
|
|
content: "\77";
|
|
}
|
|
}
|
|
|
|
.goal-resource {
|
|
|
|
&::before {
|
|
content: "\74";
|
|
}
|
|
}
|
|
|
|
.goal-days {
|
|
|
|
&::before {
|
|
content: "\67";
|
|
}
|
|
}
|
|
|
|
.goals-section {
|
|
button {
|
|
@include link;
|
|
}
|
|
}
|
|
|
|
// 05. Sidebar
|
|
// -----------
|
|
|
|
.dashboard-sidebar {
|
|
background: #fbfbfb;
|
|
border-right: 1px solid $border;
|
|
|
|
[class^="icon-"] {
|
|
display: inline-block;
|
|
font-size: rem-calc(24);
|
|
line-height: $line-height;
|
|
padding: calc($line-height / 2) calc($line-height / 4);
|
|
padding-left: 0;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
ul {
|
|
|
|
li {
|
|
line-height: $line-height * 2;
|
|
padding-left: $line-height;
|
|
}
|
|
|
|
&.resources {
|
|
border-left: 1px solid $border;
|
|
margin-left: calc($line-height / 2);
|
|
}
|
|
}
|
|
|
|
a {
|
|
color: inherit;
|
|
}
|
|
|
|
.is-active {
|
|
@include brand-color;
|
|
position: relative;
|
|
|
|
&::before {
|
|
background: linear-gradient(to right, rgba(231, 236, 240, 1) 0%, rgba(251, 251, 251, 1) 90%);
|
|
border-left: 4px solid;
|
|
content: "";
|
|
height: rem-calc(48);
|
|
left: 0;
|
|
padding-left: rem-calc(20);
|
|
position: absolute;
|
|
width: rem-calc(24);
|
|
}
|
|
|
|
a {
|
|
@include brand-color;
|
|
}
|
|
|
|
[class^="icon-"] {
|
|
@include brand-color;
|
|
}
|
|
}
|
|
|
|
.has-tip {
|
|
border-bottom: 0;
|
|
cursor: auto;
|
|
font-weight: normal;
|
|
}
|
|
|
|
.submenu-active {
|
|
border-bottom: 2px solid;
|
|
|
|
.has-tip {
|
|
@include brand-color;
|
|
font-weight: bold;
|
|
}
|
|
}
|
|
}
|
|
|
|
// 06. Community
|
|
// -------------
|
|
|
|
.dashboard-community {
|
|
|
|
.community-number {
|
|
font-size: rem-calc(24);
|
|
font-weight: bold;
|
|
}
|
|
|
|
[class^="icon-"] {
|
|
color: $text-medium;
|
|
display: inline-block;
|
|
font-size: rem-calc(24);
|
|
line-height: $line-height;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.community-info {
|
|
color: $text-medium;
|
|
}
|
|
|
|
.community-info {
|
|
font-size: $small-font-size;
|
|
}
|
|
}
|
|
|
|
// 07. Graph
|
|
// ---------
|
|
|
|
.proposal-graph {
|
|
|
|
.c3-ygrid-lines {
|
|
|
|
line {
|
|
stroke: #005c92;
|
|
}
|
|
|
|
text {
|
|
fill: #005c92;
|
|
}
|
|
}
|
|
}
|
|
|
|
// 08. Polls
|
|
// ---------
|
|
|
|
.question-fields {
|
|
border-bottom: 1px solid $border;
|
|
margin-bottom: $line-height;
|
|
}
|
|
|
|
.option-fields {
|
|
background: #fbfbfb;
|
|
border: 1px solid $border;
|
|
margin-bottom: $line-height;
|
|
padding: $line-height;
|
|
}
|
|
|
|
.community-poll {
|
|
border-bottom: 1px solid $border;
|
|
margin-bottom: $line-height;
|
|
padding-bottom: calc($line-height / 2);
|
|
}
|
|
|
|
// 09. Email preview
|
|
// -----------------
|
|
|
|
.dashboard-mail-preview {
|
|
|
|
max-width: rem-calc(600);
|
|
|
|
.mail-header {
|
|
@include background-with-text-contrast($pdf-primary);
|
|
padding: $line-height * 2;
|
|
|
|
img {
|
|
max-width: rem-calc(40);
|
|
vertical-align: top;
|
|
}
|
|
|
|
h1 {
|
|
font-size: rem-calc(60);
|
|
}
|
|
|
|
h2 {
|
|
margin-top: $line-height;
|
|
}
|
|
}
|
|
|
|
.margin-bottom {
|
|
img {
|
|
box-shadow: -16px 61px 49px -19px rgba(0, 0, 0, 0.1);
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
.mail-body {
|
|
color: $text-medium;
|
|
padding: $line-height * 2;
|
|
text-align: left;
|
|
|
|
.button {
|
|
background: #064c86;
|
|
box-shadow: -4px 18px 45px -19px rgba(0, 0, 0, 0.75);
|
|
margin-bottom: $line-height * 2;
|
|
margin-top: $line-height;
|
|
}
|
|
|
|
img {
|
|
margin-top: $line-height;
|
|
max-width: rem-calc(120);
|
|
}
|
|
|
|
p {
|
|
font-size: rem-calc(24);
|
|
line-height: rem-calc(30);
|
|
}
|
|
}
|
|
}
|
|
|
|
// 10. Poster preview
|
|
// ------------------
|
|
|
|
.dashboard-poster-preview,
|
|
.dashboard-poster-pdf {
|
|
.poster-header {
|
|
@include background-with-text-contrast($pdf-primary);
|
|
|
|
h1 {
|
|
text-align: left;
|
|
}
|
|
}
|
|
|
|
.proposal-image {
|
|
margin: 0 auto;
|
|
position: relative;
|
|
|
|
&::before {
|
|
background: $pdf-secondary;
|
|
content: "";
|
|
position: absolute;
|
|
}
|
|
|
|
.overflow-image {
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
background-size: cover;
|
|
overflow: hidden;
|
|
position: relative;
|
|
}
|
|
}
|
|
|
|
.proposal-code {
|
|
text-align: center;
|
|
}
|
|
|
|
.poster-content {
|
|
margin: 0 auto;
|
|
max-width: 90%;
|
|
|
|
h2 {
|
|
color: $text-medium;
|
|
text-align: left;
|
|
}
|
|
|
|
h3 {
|
|
color: $pdf-primary;
|
|
display: inline;
|
|
}
|
|
|
|
.poster-footer {
|
|
border-left: 2px solid $border;
|
|
color: $text-medium;
|
|
}
|
|
}
|
|
}
|
|
|
|
.dashboard-poster-preview {
|
|
|
|
.preview-width {
|
|
width: rem-calc(661);
|
|
}
|
|
|
|
.poster-header {
|
|
height: rem-calc(600);
|
|
padding: $line-height * 2 $line-height;
|
|
|
|
h1 {
|
|
font-size: rem-calc(60);
|
|
line-height: rem-calc(80);
|
|
|
|
img {
|
|
max-width: rem-calc(50);
|
|
}
|
|
}
|
|
|
|
p {
|
|
font-size: rem-calc(18);
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.intro {
|
|
margin: $line-height * 2 auto;
|
|
max-width: 60%;
|
|
text-align: justify;
|
|
}
|
|
}
|
|
|
|
.proposal-image {
|
|
margin: 0 auto;
|
|
max-width: 90%;
|
|
position: relative;
|
|
|
|
.overflow-image {
|
|
height: 400px;
|
|
}
|
|
|
|
&::before {
|
|
height: rem-calc(120);
|
|
left: -30px;
|
|
top: -20px;
|
|
width: rem-calc(120);
|
|
}
|
|
|
|
img {
|
|
box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
|
|
margin-top: rem-calc(10);
|
|
position: relative;
|
|
width: 100%;
|
|
}
|
|
|
|
h2 {
|
|
margin: $line-height 0;
|
|
}
|
|
}
|
|
|
|
.poster-content {
|
|
|
|
img {
|
|
max-width: rem-calc(40);
|
|
vertical-align: top;
|
|
}
|
|
|
|
h2 {
|
|
font-size: rem-calc(28);
|
|
margin: $line-height 0;
|
|
}
|
|
|
|
h3 {
|
|
font-size: rem-calc(45);
|
|
margin-bottom: $line-height * 2;
|
|
}
|
|
}
|
|
|
|
.poster-footer {
|
|
font-size: rem-calc(19);
|
|
margin-top: rem-calc(50);
|
|
padding-left: rem-calc(40);
|
|
width: 75%;
|
|
}
|
|
}
|
|
|
|
// 11. Poster PDF
|
|
// --------------
|
|
|
|
.dashboard-poster-pdf {
|
|
|
|
.poster-header {
|
|
font-weight: normal;
|
|
height: 60cm;
|
|
padding: 5cm;
|
|
|
|
h1 {
|
|
font-size: 6cm;
|
|
font-weight: bold;
|
|
line-height: rem-calc(250);
|
|
|
|
img {
|
|
max-width: rem-calc(150);
|
|
}
|
|
}
|
|
|
|
p {
|
|
font-size: rem-calc(80);
|
|
line-height: rem-calc(100);
|
|
|
|
&.intro {
|
|
margin: rem-calc(160) auto;
|
|
max-width: 70%;
|
|
text-align: justify;
|
|
}
|
|
|
|
&.proposal-code {
|
|
font-size: 1.7cm;
|
|
}
|
|
}
|
|
}
|
|
|
|
.proposal-image {
|
|
margin: 0 auto;
|
|
max-width: 90%;
|
|
position: relative;
|
|
|
|
&::before {
|
|
height: rem-calc(420);
|
|
left: rem-calc(-130);
|
|
top: rem-calc(-130);
|
|
width: rem-calc(420);
|
|
}
|
|
|
|
.overflow-image {
|
|
height: 37cm;
|
|
}
|
|
|
|
h2 {
|
|
margin: $line-height 0;
|
|
}
|
|
}
|
|
|
|
.poster-content {
|
|
img {
|
|
height: 3cm;
|
|
vertical-align: top;
|
|
width: 3cm;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 3cm;
|
|
margin: $line-height 0;
|
|
}
|
|
|
|
h3 {
|
|
font-size: 4.7cm;
|
|
line-height: 5.5cm;
|
|
margin-top: $line-height;
|
|
max-width: 80%;
|
|
}
|
|
}
|
|
|
|
.poster-footer {
|
|
display: block;
|
|
margin-left: 10cm;
|
|
margin-top: 2cm;
|
|
max-width: 75%;
|
|
padding-left: 4cm;
|
|
}
|
|
}
|