mirror of
https://github.com/penpot/penpot.git
synced 2025-01-26 00:19:07 -05:00
326 lines
6.7 KiB
SCSS
326 lines
6.7 KiB
SCSS
// This Source Code Form is subject to the terms of the Mozilla Public
|
|
// License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
//
|
|
// Copyright (c) KALEIDOS INC
|
|
|
|
.af-form {
|
|
background-color: $color-white;
|
|
color: $color-gray-60 !important;
|
|
height: 710px;
|
|
max-width: 646px !important;
|
|
overflow-y: auto;
|
|
padding: 1.5rem 1rem;
|
|
position: relative;
|
|
width: 100% !important;
|
|
|
|
h1,
|
|
h3 {
|
|
font-family: "worksans", sans-serif !important;
|
|
margin-bottom: 0.8rem;
|
|
font-weight: 500 !important;
|
|
}
|
|
|
|
h1 {
|
|
font-size: $fs36 !important;
|
|
}
|
|
|
|
h3 {
|
|
font-size: $fs23 !important;
|
|
}
|
|
|
|
strong {
|
|
font-weight: 500;
|
|
}
|
|
|
|
p,
|
|
label {
|
|
font-family: "worksans", sans-serif !important;
|
|
font-size: $fs14;
|
|
}
|
|
|
|
form {
|
|
max-width: 760px;
|
|
width: 100%;
|
|
}
|
|
|
|
button {
|
|
font-family: "worksans", sans-serif !important;
|
|
}
|
|
|
|
.af-choice,
|
|
.af-choice-multiple {
|
|
color: $color-gray-40;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
margin: -0.5rem -0.75rem;
|
|
padding-top: 1rem;
|
|
}
|
|
|
|
.af-choice-option {
|
|
margin: 0.5rem 0.75rem;
|
|
max-width: 11.75rem;
|
|
width: 100%;
|
|
|
|
label {
|
|
font-family: "worksans", sans-serif !important;
|
|
font-size: $fs15;
|
|
padding-left: 0;
|
|
}
|
|
}
|
|
|
|
.af-choice-multiple {
|
|
.af-choice-option {
|
|
max-width: 50%;
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
.af-divider-block {
|
|
/* margin-bottom: 2rem; */
|
|
display: none;
|
|
p {
|
|
&::after,
|
|
&::before {
|
|
border-color: transparent;
|
|
}
|
|
}
|
|
}
|
|
|
|
.af-dropdown-text,
|
|
.text {
|
|
font-family: "worksans", sans-serif !important;
|
|
}
|
|
|
|
.af-dropdown-search-options {
|
|
max-height: none;
|
|
}
|
|
|
|
.af-dropdown-search-options div {
|
|
font-family: "worksans", sans-serif !important;
|
|
font-size: $fs16;
|
|
}
|
|
|
|
.step-header {
|
|
height: 2.5rem;
|
|
width: 100%;
|
|
}
|
|
|
|
.step-number {
|
|
background-color: $color-gray-10;
|
|
border: none;
|
|
border-radius: 1rem;
|
|
color: $color-gray-40;
|
|
float: right;
|
|
font-family: "worksans", sans-serif !important;
|
|
font-size: $fs12;
|
|
height: 1.5rem;
|
|
line-height: 1.5rem;
|
|
text-align: center;
|
|
width: 2.5rem !important;
|
|
}
|
|
|
|
.header-image {
|
|
width: 240px;
|
|
}
|
|
|
|
.af-step-next {
|
|
display: flex;
|
|
position: absolute;
|
|
right: 1rem;
|
|
bottom: 0.5rem;
|
|
width: 44rem;
|
|
}
|
|
|
|
.af-step-next button {
|
|
color: $color-black;
|
|
background-color: $color-primary;
|
|
max-width: 180px;
|
|
margin-left: auto;
|
|
}
|
|
|
|
.af-step-previous {
|
|
position: absolute;
|
|
left: 1rem;
|
|
bottom: 1.25rem;
|
|
}
|
|
|
|
.af-step-next span,
|
|
.af-step-previous span {
|
|
font-weight: normal !important;
|
|
}
|
|
|
|
.af-step-button {
|
|
text-align: left;
|
|
}
|
|
|
|
.af-field {
|
|
margin: 0;
|
|
}
|
|
|
|
.af-field-input {
|
|
margin: 0.5rem 0;
|
|
}
|
|
|
|
.af-dropdown {
|
|
height: 2.5rem;
|
|
}
|
|
|
|
.af-field-input input[type="text"],
|
|
.af-choice-option label:before,
|
|
.af-dropdown {
|
|
border-color: #c5c6c9 !important;
|
|
}
|
|
|
|
.af-choice-option input:checked + label:before,
|
|
.af-legal input:checked + label:before {
|
|
background-color: $color-primary;
|
|
}
|
|
|
|
.af-field-use_of_penpot .af-choice-option input:checked + label,
|
|
.af-field-previous_design_tool .af-choice-option input:checked + label {
|
|
&::before {
|
|
background-color: transparent;
|
|
border: 2px solid $color-primary !important;
|
|
}
|
|
}
|
|
|
|
.af-field-use_of_penpot .af-choice-option label {
|
|
padding-top: 6rem;
|
|
background-size: 120px;
|
|
min-height: 150px;
|
|
}
|
|
|
|
.af-field-use_of_penpot .af-choice-option:nth-child(1) label {
|
|
background-image: url("../images/form/use-for-1.jpg");
|
|
}
|
|
.af-field-use_of_penpot .af-choice-option:nth-child(2) label {
|
|
background-image: url("../images/form/use-for-2.jpg");
|
|
}
|
|
.af-field-use_of_penpot .af-choice-option:nth-child(3) label {
|
|
background-image: url("../images/form/use-for-3.jpg");
|
|
}
|
|
.af-field-use_of_penpot .af-choice-option:nth-child(4) label {
|
|
background-image: url("../images/form/use-for-4.jpg");
|
|
}
|
|
|
|
.af-field-label {
|
|
font-family: "worksans", sans-serif !important;
|
|
font-size: $fs18;
|
|
}
|
|
|
|
.af-field-use_of_penpot label,
|
|
.af-field-previous_design_tool label {
|
|
display: flex;
|
|
padding-top: 4rem;
|
|
justify-content: center;
|
|
background-size: 50px;
|
|
background-repeat: no-repeat;
|
|
background-position: center 0.75rem;
|
|
margin: 0 !important;
|
|
min-height: 108px;
|
|
position: relative;
|
|
text-align: center;
|
|
|
|
&:hover {
|
|
background-color: transparent;
|
|
box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
&::before {
|
|
background-color: transparent;
|
|
border-radius: 4px;
|
|
min-width: 100%;
|
|
min-height: 100%;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
&::after {
|
|
display: none !important;
|
|
}
|
|
}
|
|
|
|
.af-field-previous_design_tool label {
|
|
font-size: $fs13;
|
|
}
|
|
|
|
.af-field-previous_design_tool .af-choice-option:nth-child(1) label {
|
|
background-image: url("../images/form/figma.png");
|
|
}
|
|
|
|
.af-field-previous_design_tool .af-choice-option:nth-child(2) label {
|
|
background-image: url("../images/form/sketch.png");
|
|
}
|
|
|
|
.af-field-previous_design_tool .af-choice-option:nth-child(3) label {
|
|
background-image: url("../images/form/adobe-xd.png");
|
|
}
|
|
|
|
.af-field-previous_design_tool .af-choice-option:nth-child(4) label {
|
|
background-image: url("../images/form/canva.png");
|
|
}
|
|
|
|
.af-field-previous_design_tool .af-choice-option:nth-child(5) label {
|
|
background-image: url("../images/form/invision.png");
|
|
}
|
|
|
|
.af-field-previous_design_tool .af-choice-option:nth-child(6) label {
|
|
background-image: url("../images/form/never-used.png");
|
|
}
|
|
|
|
.af-field-previous_design_tool .af-choice-option:nth-child(7) label,
|
|
.af-field-use_of_penpot .af-choice-option:nth-child(5) label {
|
|
justify-content: flex-start;
|
|
min-height: auto;
|
|
padding-left: 1.4rem;
|
|
padding-top: 0;
|
|
|
|
&:hover {
|
|
box-shadow: none;
|
|
}
|
|
|
|
&::before {
|
|
content: "";
|
|
background-color: #fff;
|
|
border: 1px solid #e0e6f0;
|
|
border-width: 1px;
|
|
border-radius: 50%;
|
|
min-width: 20px;
|
|
min-height: 20px;
|
|
box-sizing: border-box;
|
|
margin-left: 4px;
|
|
}
|
|
|
|
&::after {
|
|
content: "";
|
|
position: absolute;
|
|
opacity: 0;
|
|
width: 5px;
|
|
height: 8px;
|
|
margin-top: -1px;
|
|
border: solid #fff;
|
|
border-width: 0 2px 2px 0;
|
|
transform: rotate(45deg);
|
|
}
|
|
}
|
|
|
|
.af-field-use_of_penpot .af-choice-option:nth-child(5) label {
|
|
&::before {
|
|
border-radius: 3px;
|
|
}
|
|
}
|
|
|
|
.af-field-previous_design_tool .af-choice-option:nth-child(7) input:checked + label,
|
|
.af-field-use_of_penpot .af-choice-option:nth-child(5) input:checked + label {
|
|
&::before {
|
|
background-color: $color-primary;
|
|
}
|
|
|
|
&::after {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
}
|