Initial commit: Atomaste website
This commit is contained in:
@@ -0,0 +1,105 @@
|
||||
.cmplz {
|
||||
font-variant-numeric: tabular-nums; // https://css-tricks.com/almanac/properties/f/font-variant-numeric/
|
||||
margin: 0;
|
||||
margin-left: -20px;
|
||||
font-size: var(--rsp-fs-300);
|
||||
box-sizing: border-box;
|
||||
color: var(--rsp-text-color);
|
||||
font-weight: 400;
|
||||
line-height: 1.5;
|
||||
@media only screen and ( max-width: $rsp-break-xs) {
|
||||
margin-left: -9px;
|
||||
}
|
||||
*, *:before, *:after {
|
||||
box-sizing: inherit;
|
||||
}
|
||||
|
||||
body, h1, h2, h3, h4, h5, h6, p, ol, ul {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
color: var(--rsp-text-color);
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.cmplz-h0 {
|
||||
font-size: var(--rsp-fs-900);
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.025rem;
|
||||
}
|
||||
|
||||
h1, .cmplz-h1 {
|
||||
font-size: var(--rsp-fs-800);
|
||||
line-height: 1.5;
|
||||
font-weight: 500;
|
||||
letter-spacing: 0.025rem;
|
||||
}
|
||||
|
||||
h2, .cmplz-h2 {
|
||||
font-size: var(--rsp-fs-700);
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.025rem;
|
||||
}
|
||||
|
||||
h3, .cmplz-h3 {
|
||||
font-size: var(--rsp-fs-600);
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.0125rem;
|
||||
}
|
||||
|
||||
h4, .cmplz-h4 {
|
||||
font-size: var(--rsp-fs-500);
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.0125rem;
|
||||
|
||||
}
|
||||
|
||||
h5, .cmplz-h5 {
|
||||
font-size: var(--rsp-fs-400);
|
||||
font-weight: 500;
|
||||
letter-spacing: 0.1px;
|
||||
}
|
||||
|
||||
h6, .cmplz-h6 {
|
||||
font-size: var(--rsp-fs-300);
|
||||
letter-spacing: 0.1px;
|
||||
}
|
||||
|
||||
p {
|
||||
color: var(--rsp-text-color);
|
||||
font-weight: 400;
|
||||
font-size: var(--rsp-fs-300);
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.cmplz-small-text {
|
||||
font-size: var(--rsp-fs-200);
|
||||
line-height: 1.5;
|
||||
color: var(--rsp-text-color-light);
|
||||
}
|
||||
|
||||
a {
|
||||
font-size: var(--rsp-fs-300);;
|
||||
}
|
||||
|
||||
//wordpress inserts notices after the first h1 or h2. To prevent breaking layout we insert an empty h1 tag at the start of our page, where WP can insert the notice.
|
||||
.cmplz-notice-hook-element {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
// Hide nags from other plugins
|
||||
.error, .notice, .update-nag, .notice-info {
|
||||
&:not(.really-simple-plugins) {
|
||||
display: none !important;
|
||||
}
|
||||
&.really-simple-plugins{
|
||||
margin: var(--rsp-grid-gap);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
<?php
|
||||
// Silence is golden.
|
||||
@@ -0,0 +1,209 @@
|
||||
.cmplz {
|
||||
.cmplz-grid, .cmplz-settings-header {
|
||||
max-width: clamp(300px, calc(100% - var(--rsp-grid-gap) * 2), 1600px);
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.cmplz-header-container {
|
||||
background: var(--rsp-background-block-color);
|
||||
}
|
||||
|
||||
.cmplz-settings-header {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
min-height: 70px;
|
||||
box-sizing: border-box;
|
||||
|
||||
img {
|
||||
margin: auto 0;
|
||||
height: 26px;
|
||||
}
|
||||
|
||||
.cmplz-header-left {
|
||||
display: flex;
|
||||
font-size: var(--rsp-fs-400);
|
||||
|
||||
@media(max-width: $rsp-break-s) {
|
||||
justify-content: center;
|
||||
margin: var(--rsp-spacing-xs) 0;
|
||||
order: 3;
|
||||
width: 100%;
|
||||
background-color: var(--rsp-background-block-color);
|
||||
}
|
||||
|
||||
.cmplz-header-menu {
|
||||
margin: auto 15px;
|
||||
|
||||
ul {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
li {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
a {
|
||||
padding: 23px 15px;
|
||||
text-decoration: none;
|
||||
color: var(--rsp-text-color);
|
||||
height: 100%;
|
||||
border-bottom: 4px solid transparent;
|
||||
transition: border 0.3s ease-out;
|
||||
box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
|
||||
@media(max-width: $rsp-break-s) {
|
||||
padding: 10px 15px;
|
||||
}
|
||||
|
||||
&:focus {
|
||||
outline: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
&.active {
|
||||
border-bottom: 4px solid var(--rsp-brand-primary);
|
||||
}
|
||||
|
||||
&:hover {
|
||||
color: var(--rsp-brand-primary);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.cmplz-header-right {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
margin-left: auto;
|
||||
gap: var(--rsp-spacing-s);
|
||||
min-height: 52px;
|
||||
}
|
||||
}
|
||||
|
||||
.cmplz-grid.cmplz-dashboard {
|
||||
grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
|
||||
}
|
||||
|
||||
.cmplz-grid {
|
||||
display: grid;
|
||||
gap: var(--rsp-grid-gap);
|
||||
grid-template-columns: 28ch 1fr 1fr 1fr;
|
||||
margin-top: var(--rsp-grid-gap);
|
||||
}
|
||||
|
||||
.cmplz-grid-item {
|
||||
@include cmplz-block;
|
||||
transition: all 1s ease;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: flex-start;
|
||||
flex-direction: column;
|
||||
flex-basis: 100%;
|
||||
grid-column: span 1;
|
||||
grid-row: span 1;
|
||||
overflow: hidden;
|
||||
|
||||
&.cmplz-column-2 {
|
||||
grid-column: span 2;
|
||||
}
|
||||
|
||||
&.cmplz-row-2 {
|
||||
grid-row: span 2;
|
||||
}
|
||||
|
||||
&.cmplz-disabled {
|
||||
min-height: 200px; //add min height on disabled so the settings is visible behind the locked div.
|
||||
}
|
||||
|
||||
&.no-background {
|
||||
background: none;
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
&.cmplz-column-2 {
|
||||
grid-column: span 2;
|
||||
}
|
||||
|
||||
&.cmplz-row-2 {
|
||||
grid-row: span 2;
|
||||
min-height: 400px;
|
||||
}
|
||||
|
||||
&-header {
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
min-height: calc(30px + var(--rsp-spacing-s) * 2);
|
||||
@include cmplz-inline-block-padding;
|
||||
|
||||
&:empty {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
&-title {
|
||||
margin: 4px 0 4px 0;
|
||||
}
|
||||
|
||||
&-controls {
|
||||
font-size: var(--rsp-fs-200);
|
||||
display: flex;
|
||||
gap: var(--rsp-spacing-s);
|
||||
}
|
||||
|
||||
&-content {
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
@include cmplz-inline-block-padding;
|
||||
flex-grow: 100;
|
||||
|
||||
&:empty {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
&-footer {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
align-self: flex-end;
|
||||
gap: var(--rsp-grid-margin);
|
||||
width: 100%;
|
||||
min-height: calc(30px + var(--rsp-spacing-s) * 2);
|
||||
box-sizing: border-box;
|
||||
@include cmplz-inline-block-padding;
|
||||
|
||||
.cmplz-legend {
|
||||
display: flex;
|
||||
line-height: var(--rsp-fs-100);
|
||||
font-size: var(--rsp-fs-100);
|
||||
width: max-content;
|
||||
color: var(--rsp-text-color-light);
|
||||
align-items: center;
|
||||
min-width: 0;
|
||||
gap: var(--rsp-spacing-xxs);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
&:empty {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.cmplz-flex-push-right {
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.cmplz-flex-push-left {
|
||||
margin-right: auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,161 @@
|
||||
|
||||
#complianz {
|
||||
.cmplz-grid.cmplz-banner {
|
||||
margin-bottom:200px;//ensure that there's some space for the bottom banner, so the save button is visible above it.
|
||||
}
|
||||
.cmplz-cookiebanner-preview-controls {
|
||||
.cmplz-hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.cmplz-logo-container {
|
||||
display: flex;
|
||||
gap: 40px;
|
||||
}
|
||||
|
||||
.cmplz-select-group {
|
||||
//min 250px or 100%
|
||||
min-width: max(250px, 100%);
|
||||
}
|
||||
|
||||
margin-left: 10px;
|
||||
|
||||
ul {
|
||||
margin-bottom: 15px;
|
||||
|
||||
li {
|
||||
display: flex;
|
||||
cursor: pointer;
|
||||
margin: 5px;
|
||||
|
||||
.cmplz-icon {
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
&.inactive {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
&.loading {
|
||||
color: var(--rsp-grey-400);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.cmplz-banner-reset-button {
|
||||
button.button.button-default {
|
||||
display: flex;
|
||||
|
||||
.cmplz-icon {
|
||||
margin: auto auto auto 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.cmplz-logo-preview {
|
||||
|
||||
&.cmplz-clickable {
|
||||
cursor: pointer;
|
||||
max-width: 90px;
|
||||
height: inherit;
|
||||
}
|
||||
|
||||
&.cmplz-complianz-logo {
|
||||
padding: 5px;
|
||||
|
||||
svg {
|
||||
height: 90px;
|
||||
width: 90px;
|
||||
}
|
||||
}
|
||||
|
||||
margin-top: 10px;
|
||||
border: 1px black dashed;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
float: right;
|
||||
|
||||
&.cmplz-clickable {
|
||||
cursor: pointer;
|
||||
max-width: 90px;
|
||||
height: inherit;
|
||||
}
|
||||
|
||||
&.cmplz-complianz-logo {
|
||||
padding: 5px;
|
||||
|
||||
svg {
|
||||
height: 90px;
|
||||
width: 90px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
Preview to the right
|
||||
*/
|
||||
|
||||
|
||||
#cmplz-cookiebanner-container {
|
||||
.cmplz-cookiebanner.reloading {
|
||||
//opacity: 0.7;
|
||||
}
|
||||
|
||||
.cmplz-cookiebanner.cmplz-bottom {
|
||||
margin-right: 20px;
|
||||
width: calc(100% - 50px);
|
||||
left:20px;
|
||||
}
|
||||
|
||||
.cmplz-cookiebanner.cmplz-bottom-left, .cmplz-cookiebanner.cmplz-bottom-right {
|
||||
left: initial;
|
||||
right: 0;
|
||||
|
||||
@media (max-width: 1800px) {
|
||||
transform: translateX(calc(0.3 * var(--cmplz_banner_width)));
|
||||
|
||||
&:hover {
|
||||
animation: slideBannerIn 1s forwards;
|
||||
animation-delay: 0s;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.cmplz-cookiebanner.cmplz-center {
|
||||
right: 0;
|
||||
left: initial;
|
||||
transform: initial;
|
||||
//this causes issues with the fade in center variant
|
||||
top: initial;
|
||||
bottom: 50px;
|
||||
@media (max-width: 1800px) {
|
||||
transform: translateX(calc(0.3 * var(--cmplz_banner_width)));
|
||||
|
||||
&:hover {
|
||||
animation: slideBannerIn 1s forwards;
|
||||
animation-delay: 0s;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@-webkit-keyframes slideBannerIn {
|
||||
100% {
|
||||
transform: inherit;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes slideBannerIn {
|
||||
100% {
|
||||
transform: inherit;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
#complianz{
|
||||
// rsssl bullets
|
||||
.cmplz-bullet {
|
||||
height: 13px;
|
||||
width: 13px;
|
||||
flex: 0 0 13px;
|
||||
border-radius: 50%;
|
||||
display: inline-block;
|
||||
background-color: var(--rsp-grey-300);
|
||||
&.rsp-yellow {
|
||||
background-color: var(--rsp-yellow);
|
||||
}
|
||||
|
||||
&.rsp-blue {
|
||||
background-color: var(--rsp-blue);
|
||||
}
|
||||
|
||||
&.rsp-pink {
|
||||
background-color: var(--rsp-pink);
|
||||
}
|
||||
|
||||
&.rsp-red, &.cmplz-bullet-error {
|
||||
background-color: var(--rsp-red);
|
||||
}
|
||||
|
||||
&.rsp-green, &.cmplz-bullet-success {
|
||||
background-color: var(--rsp-green);
|
||||
}
|
||||
&.rsp-blue-yellow {
|
||||
background: var(--rsp-blue);
|
||||
background: linear-gradient(77deg, rgba(41, 182, 246, 1) 0%, rgba(41, 182, 246, 1) 30%, rgba(244, 191, 62, 1) 70%, rgba(244, 191, 62, 1) 100%);
|
||||
animation: gradient 2s ease infinite;
|
||||
background-size: 200% 200%;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@keyframes gradient {
|
||||
0% {
|
||||
background-position: 0% 50%;
|
||||
}
|
||||
50% {
|
||||
background-position: 100% 50%;
|
||||
}
|
||||
100% {
|
||||
background-position: 0% 50%;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
#complianz {
|
||||
/* progress bar */
|
||||
#cmplz-scan-progress, #cmplz-sync-progress {
|
||||
background-color: #F1F1F1;
|
||||
border-radius: 5px;
|
||||
|
||||
.cmplz-progress-bar, .cmplz-sync-progress-bar {
|
||||
height: 20px;
|
||||
background-color: var(--rsp-wp-blue);
|
||||
transition: width 0.5s;
|
||||
-webkit-transition: width 0.5s;
|
||||
font-weight: bold;
|
||||
border-radius: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
.cmplz-cookie-scan {
|
||||
button.button, select {
|
||||
margin-bottom: 10px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
details summary {
|
||||
grid-template-columns: 1fr auto auto;
|
||||
}
|
||||
}
|
||||
|
||||
button.button {
|
||||
&.cmplz-reset-button {
|
||||
background-color: var(--rsp-color-error);
|
||||
border-color: var(--rsp-color-error);
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
|
||||
.cmplz-cookiedatabase-controls {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
margin-bottom: 10px;
|
||||
.cmplz-checkbox-group {
|
||||
margin-top:4px;
|
||||
}
|
||||
|
||||
details summary {
|
||||
grid-template-columns: 1fr auto auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
.border-to-border {
|
||||
.cmplz-grid-item-content {
|
||||
padding: 0;
|
||||
|
||||
& > * {
|
||||
padding-inline: var(--rsp-spacing-l);
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//hide our preloaded settings fields
|
||||
.cmplz-hidden {
|
||||
display:none;
|
||||
}
|
||||
.cmplz-dashboard{
|
||||
.cmplz-statistics {
|
||||
padding: 0 !important;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
.cmplz-grid-item.cmplz-documents {
|
||||
h3.cmplz-h4{
|
||||
margin-top: var(--rsp-spacing-xs);
|
||||
}
|
||||
.cmplz-document-header{
|
||||
margin-top: var(--rsp-spacing-l);
|
||||
margin-bottom: var(--rsp-spacing-s);
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
&> a{
|
||||
color: var(--rsp-text-color-light);
|
||||
font-size: var(--rsp-fs-300);
|
||||
}
|
||||
}
|
||||
|
||||
.cmplz-single-document{
|
||||
display: grid;
|
||||
grid-template-columns: 2fr auto auto auto;
|
||||
grid-gap: var(--rsp-spacing-xs);
|
||||
margin: 0;
|
||||
padding: 8px var(--rsp-spacing-l);
|
||||
align-items: center;
|
||||
&-title {
|
||||
flex:1;
|
||||
}
|
||||
.cmplz-tooltip-icon {
|
||||
flex:0;
|
||||
}
|
||||
&-generated {
|
||||
margin-left:auto;
|
||||
}
|
||||
|
||||
}
|
||||
.cmplz-single-document-other-regions{
|
||||
display: grid;
|
||||
grid-template-columns: 2fr auto auto auto auto auto auto auto;
|
||||
margin: var(--rsp-spacing-xs) 0;
|
||||
align-items: center;
|
||||
.cmplz-region-indicator {
|
||||
margin-left:5px;
|
||||
}
|
||||
}
|
||||
.cmplz-single-document-other-documents {
|
||||
display: grid;
|
||||
grid-template-columns: 2fr auto auto;
|
||||
margin: var(--rsp-spacing-xs) 0;
|
||||
align-items: center;
|
||||
.cmplz-tooltip-icon {
|
||||
margin-left:15px;
|
||||
}
|
||||
.cmplz-icon-file-download{
|
||||
cursor:pointer;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,186 @@
|
||||
//.cmplz-tools {
|
||||
// .cmplz-placeholder {
|
||||
// @include cmplz-block-padding;
|
||||
// }
|
||||
// .cmplz-tools-statistics {
|
||||
// padding:0;
|
||||
// display:block;
|
||||
// }
|
||||
//
|
||||
// .cmplz-inactive {
|
||||
// .cmplz-score-snippet {
|
||||
// color: var(--rsp-color-disabled)
|
||||
// }
|
||||
// .cmplz-main-consent > div {
|
||||
// background: var(--rsp-grey-300);
|
||||
// }
|
||||
// .cmplz-details {
|
||||
// &:last-of-type {
|
||||
// opacity: 0.2;
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// .cmplz-statistics-container {
|
||||
// background: var(--rsp-green-faded);
|
||||
// padding: 20px 25px;
|
||||
//
|
||||
// @media only screen and (max-width: $rsp-break-xxl) and (min-width: $rsp-break-m) {
|
||||
// padding: 5px;
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// .cmplz-main-consent {
|
||||
// display: flex;
|
||||
// gap: 15px;
|
||||
//
|
||||
// > div {
|
||||
// flex: 1;
|
||||
// background-color: #fff;
|
||||
// @media only screen and (max-width: $rsp-break-xxl) and (min-width: $rsp-break-m) {
|
||||
// background-color:transparent
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// &-count {
|
||||
// text-align: center;
|
||||
// align-items: center;
|
||||
// justify-content: center;
|
||||
// font-size: var(--rsp-fs-700);
|
||||
// font-weight: 700;
|
||||
// border-radius: 8px;
|
||||
// padding:30px;
|
||||
//
|
||||
// div {
|
||||
// font-size: var(--rsp-fs-90);
|
||||
// font-weight: normal;
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
//
|
||||
//
|
||||
// .cmplz-details {
|
||||
// padding: var(--rsp-spacing-s) 0;
|
||||
// display: flex;
|
||||
// &:nth-child(even) {
|
||||
// background-color: #fff; /* grey */
|
||||
// }
|
||||
//
|
||||
// &:nth-child(odd) {
|
||||
// background-color: var(--rsp-grey-200); /* white */
|
||||
// }
|
||||
//
|
||||
// .cmplz-detail {
|
||||
// display:flex;
|
||||
// width:100%;
|
||||
// margin-right: var(--rsp-spacing-l);
|
||||
// &-name {
|
||||
//
|
||||
// }
|
||||
// &-data {
|
||||
// margin-left:auto;
|
||||
// }
|
||||
// }
|
||||
// .cmplz-detail-icon {
|
||||
// width: 30px;
|
||||
// margin: 0 var(--rsp-spacing-l);
|
||||
// .cmplz-icon {
|
||||
// margin-top: 2px;
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
//}
|
||||
|
||||
.cmplz-tools .cmplz-statistics{
|
||||
padding-inline: var(--rsp-spacing-l);
|
||||
}
|
||||
.cmplz-statistics {
|
||||
&-select {
|
||||
padding-inline: var(--rsp-spacing-l);
|
||||
padding-block: var(--rsp-spacing-m);
|
||||
display: grid;
|
||||
width: 100%;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: var(--rsp-spacing-s);
|
||||
background: var(--rsp-green-faded);
|
||||
|
||||
&-item {
|
||||
border-radius: var(--rsp-border-radius-input);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
text-align: center;
|
||||
padding-block: var(--rsp-spacing-s);
|
||||
justify-items: center;
|
||||
flex-wrap: wrap;
|
||||
background: var(--rsp-white);
|
||||
|
||||
&.active {
|
||||
box-shadow: inset 0 0 3px 2px var(--rsp-green-faded);
|
||||
border: 2px solid var(--rsp-green);
|
||||
}
|
||||
|
||||
h2 {
|
||||
margin-top: var(--rsp-spacing-xxs);
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
span {
|
||||
display: flex;
|
||||
gap: 3px;
|
||||
justify-content: center;
|
||||
font-size: var(--rsp-fs-100);
|
||||
|
||||
.burst-icon-live {
|
||||
animation-name: pulse;
|
||||
animation-duration: 1.5s;
|
||||
animation-timing-function: ease-in;
|
||||
animation-direction: alternate;
|
||||
animation-iteration-count: infinite;
|
||||
animation-play-state: running;
|
||||
|
||||
@keyframes pulse {
|
||||
0% {
|
||||
transform: scale(0.9);
|
||||
opacity: 0.2;
|
||||
}
|
||||
|
||||
100% {
|
||||
transform: scale(1.0);
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&-list {
|
||||
width: 100%;
|
||||
|
||||
&-item {
|
||||
width: 100%;
|
||||
display: grid;
|
||||
justify-items: flex-start;
|
||||
grid-template-columns: auto 1fr auto;
|
||||
gap: var(--rsp-spacing-s);
|
||||
padding-block: var(--rsp-spacing-xs);
|
||||
padding-inline: var(--rsp-spacing-l);
|
||||
|
||||
&:nth-of-type(even) {
|
||||
background: var(--rsp-grey-200);
|
||||
}
|
||||
|
||||
&-text {
|
||||
width: 100%;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
&-number {
|
||||
font-weight: 600;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
.cmplz-tools {
|
||||
.cmplz-grid-item-content {
|
||||
.cmplz-tool {
|
||||
display: flex;
|
||||
padding: 8px var(--rsp-spacing-l);
|
||||
&:nth-child(odd) {
|
||||
background-color: var(--rsp-grey-200)
|
||||
}
|
||||
|
||||
.cmplz-plusone {
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
&-link {
|
||||
margin-left: auto;
|
||||
|
||||
a {
|
||||
display: flex;
|
||||
|
||||
.cmplz-icon {
|
||||
margin-left: 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,122 @@
|
||||
.cmplz-datatable-search {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.cmplz-no-documents {
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.cmplz-processing-agreements, .cmplz-data-breach-reports, .cmplz-records-of-consent, .cmplz-proof-of-consent, .cmplz-datarequests {
|
||||
.rdt_TableHeadRow, .rdt_TableRow {
|
||||
.rdt_TableCell {
|
||||
line-height:unset;
|
||||
}
|
||||
input[type="checkbox"] {
|
||||
margin-left: 10px;
|
||||
//prevent cutoff of checkbox because of overflow hidden
|
||||
height: 14px;
|
||||
width: 14px;
|
||||
min-width: initial;
|
||||
|
||||
&:checked::before {
|
||||
margin: -0.25rem 0 0 -0.33rem;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.rdt_TableCol, .rdt_TableCell {
|
||||
&:first-child {
|
||||
width: 35px;
|
||||
min-width: 35px !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.cmplz-field-wrap {
|
||||
.rdt_TableRow {
|
||||
&:nth-child(odd) {
|
||||
background-color: var(--rsp-grey-200)
|
||||
}
|
||||
|
||||
padding: var(--rsp-spacing-xs) 0;
|
||||
}
|
||||
|
||||
.cmplz-csp-revoked > div:nth-child(-n+3) {
|
||||
opacity: 0.3;
|
||||
}
|
||||
}
|
||||
|
||||
.cmplz-field-wrap {
|
||||
.rdt_TableCol, .rdt_TableCell {
|
||||
min-width: 50px;
|
||||
}
|
||||
|
||||
.rdt_TableHeadRow {
|
||||
//.rdt_TableCol:last-child {
|
||||
// flex-grow: 1;
|
||||
// flex-direction: row-reverse;
|
||||
// //margin-right: 20px;
|
||||
//}
|
||||
}
|
||||
|
||||
.rdt_TableRow {
|
||||
&:nth-child(odd) {
|
||||
background-color: var(--rsp-grey-200)
|
||||
}
|
||||
|
||||
padding: var(--rsp-spacing-xs) 0;
|
||||
|
||||
.cmplz-status-allowed, .cmplz-status-revoked {
|
||||
min-width: 110px;
|
||||
margin-right: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
.cmplz-csp-revoked > div:nth-child(-n+3) {
|
||||
opacity: 0.3;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//wp-core also adds an svg for the select dropdown, so we hide the one from the react datatables component
|
||||
nav.rdt_Pagination > div > svg {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.cmplz-field-wrap {
|
||||
&.cmplz-integrations-services,
|
||||
&.cmplz-integrations-plugins,
|
||||
&.cmplz-datarequests,
|
||||
&.cmplz-processing-agreements,
|
||||
&.cmplz-data-breach-reports,
|
||||
&.cmplz-records-of-consent,
|
||||
&.cmplz-proof-of-consent {
|
||||
gap: 0 !important;
|
||||
margin-left: CALC(-1 * var(--rsp-spacing-l));
|
||||
margin-right: CALC(-1 * var(--rsp-spacing-l));
|
||||
@media(max-width: $rsp-break-m) { // 1280px
|
||||
margin-left: CALC(-1 * var(--rsp-spacing-m));
|
||||
margin-right: CALC(-1 * var(--rsp-spacing-m));
|
||||
}
|
||||
@media(max-width: $rsp-break-s) { // 1280px
|
||||
margin-left: CALC(-1 * var(--rsp-spacing-s));
|
||||
margin-right: CALC(-1 * var(--rsp-spacing-s));
|
||||
}
|
||||
//should be s on <1280px
|
||||
> p,
|
||||
> div.cmplz-table-header {
|
||||
margin: var(--rsp-spacing-xs) var(--rsp-spacing-l);
|
||||
}
|
||||
}
|
||||
|
||||
.rdt_TableCell, .rdt_TableCol {
|
||||
&:first-child {
|
||||
padding-left: var(--rsp-spacing-l);
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
padding-right: var(--rsp-spacing-l);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,615 @@
|
||||
//ensure the datepicker hovers over the wp menu.
|
||||
#wpwrap .MuiPopover-root {
|
||||
z-index:999999;
|
||||
}
|
||||
#cmplz-date-range-picker-container {
|
||||
flex: 1 1 auto;
|
||||
flex-wrap: wrap;
|
||||
gap: var(--rsp-spacing-xs);
|
||||
background-color: var(--rsp-background-block-color);
|
||||
box-shadow: var(--rsp-box-shadow);
|
||||
z-index: 1;
|
||||
border-radius: var(--rsp-border-radius-input);
|
||||
&.cmplz-date-range-picker-open {
|
||||
display: flex;
|
||||
}
|
||||
}
|
||||
|
||||
#cmplz-date-range-picker-open-button{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: var(--rsp-filter-padding);
|
||||
box-shadow: var(--rsp-box-shadow);
|
||||
cursor: pointer;
|
||||
gap: var(--rsp-spacing-xs);
|
||||
color: var(--rsp-text-color);
|
||||
background-color: var(--rsp-input-background-color);
|
||||
background: var(--rsp-grey-200);
|
||||
border: 1px solid var(--rsp-input-border-color);
|
||||
border-radius: var(--rsp-border-radius-input);
|
||||
.cmplz-icon{
|
||||
height: max-content;
|
||||
}
|
||||
}
|
||||
|
||||
.rdrCalendarWrapper{
|
||||
color: #000000;
|
||||
font-size: var(--rsp-fs-400);
|
||||
}
|
||||
|
||||
.rdrDateDisplayWrapper{
|
||||
background-color: var(--rsp-green-faded);
|
||||
}
|
||||
|
||||
.rdrDateDisplay{
|
||||
margin: 0.833em;
|
||||
}
|
||||
|
||||
.rdrDateDisplayItem{
|
||||
border-radius: 4px;
|
||||
background-color: rgb(255, 255, 255);
|
||||
box-shadow: 0 1px 2px 0 rgba(35, 57, 66, 0.21);
|
||||
border: 1px solid transparent;
|
||||
input{
|
||||
cursor: pointer;
|
||||
height: 2.5em;
|
||||
line-height: 2.5em;
|
||||
border: 0;
|
||||
background: transparent;
|
||||
width: 100%;
|
||||
color: #849095;
|
||||
}
|
||||
}
|
||||
|
||||
.rdrDateDisplayItemActive{
|
||||
border-color: currentColor;
|
||||
}
|
||||
|
||||
.rdrDateDisplayItemActive{
|
||||
input{
|
||||
color: #7d888d
|
||||
}
|
||||
}
|
||||
|
||||
.rdrMonthAndYearWrapper {
|
||||
align-items: center;
|
||||
height: 60px;
|
||||
padding-top: var(--rsp-spacing-xxs);
|
||||
}
|
||||
|
||||
.rdrMonthAndYearPickers{
|
||||
font-weight: 600;
|
||||
select{
|
||||
appearance: none;
|
||||
-webkit-appearance: none;
|
||||
border: 0;
|
||||
background: transparent;
|
||||
border-radius: 4px;
|
||||
outline: 0;
|
||||
color: #3e484f;
|
||||
background: url("data:image/svg+xml;utf8,<svg width='9px' height='6px' viewBox='0 0 9 6' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'><g id='Artboard' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd' transform='translate(-636.000000, -171.000000)' fill-opacity='0.368716033'><g id='input' transform='translate(172.000000, 37.000000)' fill='%230E242F' fill-rule='nonzero'><g id='Group-9' transform='translate(323.000000, 127.000000)'><path d='M142.280245,7.23952813 C141.987305,6.92353472 141.512432,6.92361662 141.219585,7.23971106 C140.926739,7.5558055 140.926815,8.06821394 141.219755,8.38420735 L145.498801,13 L149.780245,8.38162071 C150.073185,8.0656273 150.073261,7.55321886 149.780415,7.23712442 C149.487568,6.92102998 149.012695,6.92094808 148.719755,7.23694149 L145.498801,10.7113732 L142.280245,7.23952813 Z' id='arrow'></path></g></g></g></svg>") no-repeat;
|
||||
background-position: right 8px center;
|
||||
cursor: pointer;
|
||||
text-align: center;
|
||||
&:hover{
|
||||
background-color: rgba(0,0,0,0.07);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.rdrMonthPicker, .rdrYearPicker{
|
||||
margin: 0 5px
|
||||
}
|
||||
|
||||
.rdrNextPrevButton {
|
||||
display: block;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
margin: 0 0.833em;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
border-radius: 5px;
|
||||
background: #EFF2F7;
|
||||
&:hover{
|
||||
background: #E1E7F0;
|
||||
}
|
||||
i {
|
||||
display: block;
|
||||
width: 0;
|
||||
height: 0;
|
||||
padding: 0;
|
||||
text-align: center;
|
||||
border-style: solid;
|
||||
margin: auto;
|
||||
transform: translate(-3px, 0);
|
||||
}
|
||||
}
|
||||
|
||||
.rdrPprevButton {
|
||||
i {
|
||||
border-width: 4px 6px 4px 4px;
|
||||
border-color: transparent rgb(52, 73, 94) transparent transparent;
|
||||
transform: translate(-3px, 0);
|
||||
}
|
||||
}
|
||||
|
||||
.rdrNextButton {
|
||||
i {
|
||||
margin: 0 0 0 7px;
|
||||
border-width: 4px 4px 4px 6px;
|
||||
border-color: transparent transparent transparent rgb(52, 73, 94);
|
||||
transform: translate(3px, 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.rdrWeekDays {
|
||||
padding: 0 0.833em;
|
||||
}
|
||||
|
||||
.rdrMonth{
|
||||
padding: 0 0.833em 1.666em 0.833em;
|
||||
.rdrWeekDays {
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.rdrMonths.rdrMonthsVertical .rdrMonth:first-child .rdrMonthName{
|
||||
display: none;
|
||||
}
|
||||
|
||||
.rdrWeekDay {
|
||||
font-weight: 400;
|
||||
line-height: 2.667em;
|
||||
color: rgb(132, 144, 149);
|
||||
}
|
||||
|
||||
.rdrDay {
|
||||
background: transparent;
|
||||
user-select: none;
|
||||
border: 0;
|
||||
padding: 0;
|
||||
aspect-ratio: 1.2 / 1;
|
||||
//line-height: 3.000em;
|
||||
//height: 3.000em;
|
||||
text-align: center;
|
||||
color: var(--rsp-text-color);
|
||||
&:focus {
|
||||
outline: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.rdrDayNumber {
|
||||
outline: 0;
|
||||
font-weight: 300;
|
||||
position: absolute;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.rdrDayToday .rdrDayNumber span{
|
||||
font-weight: 500;
|
||||
&:after{
|
||||
content: '';
|
||||
position: absolute;
|
||||
bottom: -2px;
|
||||
left: 50%;
|
||||
transform: translate(-50%, 0);
|
||||
width: 4px;
|
||||
height: 4px;
|
||||
border-radius: 100%;
|
||||
background: var(--rsp-green);
|
||||
}
|
||||
}
|
||||
|
||||
.rdrDayToday:not(.rdrDayPassive) {
|
||||
.rdrInRange, .rdrStartEdge, .rdrEndEdge, .rdrSelected{
|
||||
& ~ .rdrDayNumber span:after{
|
||||
background: #fff;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.rdrDay:not(.rdrDayPassive){
|
||||
.rdrInRange, .rdrStartEdge, .rdrEndEdge, .rdrSelected{
|
||||
& ~ .rdrDayNumber{
|
||||
span{
|
||||
color: rgba(255, 255, 255, 0.85);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.rdrSelected, .rdrInRange, .rdrStartEdge, .rdrEndEdge{
|
||||
background: currentColor;
|
||||
position: absolute;
|
||||
top: 5px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 5px;
|
||||
}
|
||||
|
||||
.rdrSelected{
|
||||
left: 2px;
|
||||
right: 2px;
|
||||
}
|
||||
|
||||
.rdrInRange{}
|
||||
|
||||
.rdrStartEdge{
|
||||
border-top-left-radius: var(--rsp-border-radius-input);
|
||||
border-bottom-left-radius: var(--rsp-border-radius-input);
|
||||
left: 2px;
|
||||
}
|
||||
|
||||
.rdrEndEdge{
|
||||
border-top-right-radius: var(--rsp-border-radius-input);
|
||||
border-bottom-right-radius: var(--rsp-border-radius-input);
|
||||
right: 2px;
|
||||
}
|
||||
|
||||
.rdrSelected{
|
||||
border-radius: var(--rsp-border-radius-input);
|
||||
}
|
||||
|
||||
.rdrDayStartOfMonth, .rdrDayStartOfWeek{
|
||||
.rdrInRange, .rdrEndEdge{
|
||||
border-top-left-radius: var(--rsp-border-radius-input);
|
||||
border-bottom-left-radius: var(--rsp-border-radius-input);
|
||||
left: 2px;
|
||||
}
|
||||
}
|
||||
|
||||
.rdrDayEndOfMonth, .rdrDayEndOfWeek{
|
||||
.rdrInRange, .rdrStartEdge{
|
||||
border-top-right-radius: var(--rsp-border-radius-input);
|
||||
border-bottom-right-radius: var(--rsp-border-radius-input);
|
||||
right: 2px;
|
||||
}
|
||||
}
|
||||
|
||||
.rdrDayStartOfMonth, .rdrDayStartOfWeek{
|
||||
.rdrDayInPreview, .rdrDayEndPreview{
|
||||
border-top-left-radius: var(--rsp-border-radius-input);
|
||||
border-bottom-left-radius: var(--rsp-border-radius-input);
|
||||
border-left-width: 2px;
|
||||
left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.rdrDayEndOfMonth, .rdrDayEndOfWeek{
|
||||
.rdrDayInPreview, .rdrDayStartPreview{
|
||||
border-top-right-radius: var(--rsp-border-radius-input);
|
||||
border-bottom-right-radius: var(--rsp-border-radius-input);
|
||||
border-right-width: 2px;
|
||||
right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.rdrDayStartPreview, .rdrDayInPreview, .rdrDayEndPreview{
|
||||
background: rgba(255, 255, 255, 0.09);
|
||||
position: absolute;
|
||||
top: 3px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 3px;
|
||||
pointer-events: none;
|
||||
border: 0 solid currentColor;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
|
||||
.rdrDayStartPreview{
|
||||
border-top-width: 2px;
|
||||
border-left-width: 2px;
|
||||
border-bottom-width: 2px;
|
||||
border-top-left-radius: var(--rsp-border-radius-input);
|
||||
border-bottom-left-radius: var(--rsp-border-radius-input);
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.rdrDayInPreview{
|
||||
border-top-width: 2px;
|
||||
border-bottom-width: 2px;
|
||||
}
|
||||
|
||||
.rdrDayEndPreview{
|
||||
border-top-width: 2px;
|
||||
border-right-width: 2px;
|
||||
border-bottom-width: 2px;
|
||||
border-top-right-radius: var(--rsp-border-radius-input);
|
||||
border-bottom-right-radius: var(--rsp-border-radius-input);
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.rdrDefinedRangesWrapper{
|
||||
font-size: 12px;
|
||||
min-width: 160px;
|
||||
width: max-content;
|
||||
border-right: solid 1px #eff2f7;
|
||||
background: #fff;
|
||||
.rdrStaticRangeSelected{
|
||||
color: currentColor;
|
||||
font-weight: 600;
|
||||
}
|
||||
}
|
||||
|
||||
.rdrStaticRange{
|
||||
border: 0;
|
||||
cursor: pointer;
|
||||
display: block;
|
||||
outline: 0;
|
||||
border-bottom: 1px solid #eff2f7;
|
||||
padding: 0;
|
||||
background: #fff;
|
||||
&:hover, &:focus{
|
||||
.rdrStaticRangeLabel{
|
||||
background: #eff2f7;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.rdrStaticRangeLabel{
|
||||
overflow: hidden;
|
||||
display: block;
|
||||
outline: 0;
|
||||
line-height: 18px;
|
||||
padding: 10px 20px;
|
||||
text-align: left;
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
.rdrInputRanges{
|
||||
padding: 10px 0;
|
||||
}
|
||||
|
||||
.rdrInputRange{
|
||||
align-items: center;
|
||||
padding: 5px 20px;
|
||||
}
|
||||
|
||||
.rdrInputRangeInput{
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
border-radius: 4px;
|
||||
text-align: center;
|
||||
border: solid 1px rgb(222, 231, 235);
|
||||
margin-right: 10px;
|
||||
color: rgb(108, 118, 122);
|
||||
&:focus, &:hover{
|
||||
border-color: rgb(180, 191, 196);
|
||||
outline: 0;
|
||||
color: #333;
|
||||
}
|
||||
}
|
||||
|
||||
.rdrCalendarWrapper:not(.rdrDateRangeWrapper) .rdrDayHovered .rdrDayNumber:after{
|
||||
content: '';
|
||||
border: 1px solid currentColor;
|
||||
border-radius: 1.333em;
|
||||
position: absolute;
|
||||
top: -2px;
|
||||
bottom: -2px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.rdrDayPassive{
|
||||
pointer-events: none;
|
||||
.rdrDayNumber span{
|
||||
color: #d5dce0;
|
||||
}
|
||||
.rdrInRange, .rdrStartEdge, .rdrEndEdge, .rdrSelected, .rdrDayStartPreview, .rdrDayInPreview, .rdrDayEndPreview{
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.rdrDayDisabled {
|
||||
background-color: rgb(248, 248, 248);
|
||||
.rdrDayNumber span{
|
||||
color: #aeb9bf;
|
||||
}
|
||||
.rdrInRange, .rdrStartEdge, .rdrEndEdge, .rdrSelected, .rdrDayStartPreview, .rdrDayInPreview, .rdrDayEndPreview{
|
||||
filter: grayscale(100%) opacity(60%);
|
||||
}
|
||||
}
|
||||
|
||||
.rdrMonthName{
|
||||
text-align: left;
|
||||
font-weight: 600;
|
||||
color: #849095;
|
||||
padding: var(--rsp-spacing-xxs);
|
||||
}
|
||||
// Calendar
|
||||
.rdrCalendarWrapper {
|
||||
box-sizing: border-box;
|
||||
background: #ffffff;
|
||||
display: inline-flex;
|
||||
flex-direction: column;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.rdrDateDisplay{
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.rdrDateDisplayItem{
|
||||
flex: 1 1;
|
||||
width: 0;
|
||||
text-align: center;
|
||||
color: inherit;
|
||||
& + &{
|
||||
margin-left: 0.833em;
|
||||
}
|
||||
input{
|
||||
color: var(--rsp-text-color);
|
||||
text-align: inherit;
|
||||
&:disabled{
|
||||
cursor: default;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.rdrDateDisplayItemActive{}
|
||||
|
||||
.rdrMonthAndYearWrapper {
|
||||
box-sizing: inherit;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.rdrMonthAndYearPickers{
|
||||
flex: 1 1 auto;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.rdrMonthPicker{}
|
||||
|
||||
.rdrYearPicker{}
|
||||
|
||||
.rdrNextPrevButton {
|
||||
box-sizing: inherit;
|
||||
cursor: pointer;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.rdrPprevButton {}
|
||||
|
||||
.rdrNextButton {}
|
||||
|
||||
.rdrMonths{
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.rdrMonthsVertical{
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.rdrMonthsHorizontal > div > div > div{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
.rdrMonth{
|
||||
width: 300px;
|
||||
}
|
||||
|
||||
.rdrWeekDays{
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.rdrWeekDay {
|
||||
flex-basis: calc(100% / 7);
|
||||
box-sizing: inherit;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.rdrDays{
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.rdrDateDisplayWrapper{}
|
||||
|
||||
.rdrMonthName{}
|
||||
|
||||
.rdrInfiniteMonths{
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
// DateRangePicker
|
||||
.rdrDateRangeWrapper{
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
// DateInput
|
||||
.rdrDateInput {
|
||||
position: relative;
|
||||
|
||||
input {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.rdrWarning {
|
||||
position: absolute;
|
||||
font-size: 1.6em;
|
||||
line-height: 1.6em;
|
||||
top: 0;
|
||||
right: .25em;
|
||||
color: #FF0000;
|
||||
}
|
||||
}
|
||||
|
||||
// DayCell
|
||||
.rdrDay {
|
||||
box-sizing: inherit;
|
||||
width: calc(100% / 7);
|
||||
position: relative;
|
||||
font: inherit;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.rdrDayNumber {
|
||||
display: block;
|
||||
position: relative;
|
||||
span{
|
||||
color: #1d2429;
|
||||
}
|
||||
}
|
||||
|
||||
.rdrDayDisabled {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
@supports (-ms-ime-align: auto) {
|
||||
.rdrDay {
|
||||
flex-basis: 14.285% !important;
|
||||
}
|
||||
}
|
||||
|
||||
.rdrSelected, .rdrInRange, .rdrStartEdge, .rdrEndEdge{
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.rdrInRange{}
|
||||
|
||||
.rdrDayStartPreview, .rdrDayInPreview, .rdrDayEndPreview{
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.rdrDayHovered{}
|
||||
|
||||
.rdrDayActive{}
|
||||
|
||||
// DateRangePicker
|
||||
.rdrDateRangePickerWrapper{
|
||||
display: inline-flex;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
// DefinedRange
|
||||
.rdrDefinedRangesWrapper{}
|
||||
|
||||
.rdrStaticRanges{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.rdrStaticRange{
|
||||
font-size: inherit;
|
||||
}
|
||||
|
||||
.rdrStaticRangeLabel{}
|
||||
|
||||
.rdrInputRanges{}
|
||||
|
||||
.rdrInputRange{
|
||||
display: flex;
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
.cmplz-selected-document{
|
||||
margin-top:10px;
|
||||
margin-bottom:10px;
|
||||
display:flex;
|
||||
background-color:var(--rsp-blue-faded);
|
||||
padding:10px;
|
||||
align-items: center;
|
||||
&-controls{
|
||||
margin-left:auto;
|
||||
display:flex;
|
||||
}
|
||||
button.button + button.button {
|
||||
margin-left:20px;
|
||||
}
|
||||
}
|
||||
|
||||
.cmplz-create-processing-agreements, .cmplz-create-data-breach-reports {
|
||||
.cmplz-table-header {
|
||||
align-items:baseline;
|
||||
}
|
||||
.components-select-control {
|
||||
flex-direction:row;
|
||||
}
|
||||
scroll-margin-top: 150px;
|
||||
}
|
||||
.cmplz-conclusion {
|
||||
&__check {
|
||||
display:flex;
|
||||
.cmplz-icon{
|
||||
margin-right:10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
.cmplz-error-boundary{
|
||||
padding: var(--rsp-spacing-l);
|
||||
}
|
||||
@@ -0,0 +1,53 @@
|
||||
//#complianz {
|
||||
// .cmplz-header-container .cmplz-settings-header {
|
||||
// display: flex;
|
||||
// justify-content: space-between;
|
||||
// height: 70px;
|
||||
// box-sizing: border-box;
|
||||
//
|
||||
// img {
|
||||
// margin: auto 0;
|
||||
// height: 26px;
|
||||
// }
|
||||
//
|
||||
// .cmplz-header-menu {
|
||||
// display: flex;
|
||||
// align-items: center;
|
||||
// height: 100%;
|
||||
// padding: 0 20px;
|
||||
// box-sizing: border-box;
|
||||
//
|
||||
// .cmplz-header-menu-item {
|
||||
// display: flex;
|
||||
// align-items: center;
|
||||
// height: 100%;
|
||||
// padding: 0 20px;
|
||||
// box-sizing: border-box;
|
||||
//
|
||||
// &:first-child {
|
||||
// margin-left: 0;
|
||||
// }
|
||||
//
|
||||
// &:last-child {
|
||||
// margin-right: 0;
|
||||
// }
|
||||
//
|
||||
// &.cmplz-header-menu-item-active {
|
||||
// background-color: #f5f5f5;
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// .cmplz-header-actions {
|
||||
// display: flex;
|
||||
// align-items: center;
|
||||
// margin-left: auto;
|
||||
// gap: var(--rsp-spacing-s);
|
||||
//
|
||||
// select {
|
||||
// max-width: 60ch;
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// }
|
||||
//}
|
||||
@@ -0,0 +1,33 @@
|
||||
.cmplz-icon{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
svg{
|
||||
fill: currentColor;
|
||||
}
|
||||
&-loading svg{
|
||||
animation: spin 2s linear infinite;
|
||||
}
|
||||
|
||||
@keyframes spin {
|
||||
0% { transform: rotate(0deg); }
|
||||
100% { transform: rotate(360deg); }
|
||||
}
|
||||
|
||||
&.cmplz-click-animation{
|
||||
animation: beat 0.4s ease-out;
|
||||
}
|
||||
}
|
||||
|
||||
.cmplz-icon-shortcode{
|
||||
cursor:pointer;
|
||||
}
|
||||
|
||||
//loaders in buttons
|
||||
button.button .cmplz-icon.cmplz-icon-loading {
|
||||
padding-top: 6px;
|
||||
>div {line-height: inherit;}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,114 @@
|
||||
.cmplz{
|
||||
.cmplz {
|
||||
&-border-input {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, min-content) 3rem;
|
||||
grid-template-rows: auto auto;
|
||||
grid-template-areas:
|
||||
"input1 input2 input3 input4 button" /* first row */
|
||||
"label1 label2 label3 label4 ."; /* second row */
|
||||
row-gap: var(--rsp-spacing-xxs);
|
||||
}
|
||||
|
||||
&-border-input {
|
||||
input {
|
||||
width: 8ch;
|
||||
border: 1px solid var(--rsp-input-border-color);
|
||||
margin-right: -1px;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
&-side {
|
||||
&:nth-child(1) {
|
||||
grid-area: input1;
|
||||
border-radius: var(--rsp-border-radius-xs) 0 0 var(--rsp-border-radius-xs);
|
||||
}
|
||||
|
||||
&:nth-child(3) {
|
||||
grid-area: input2;
|
||||
}
|
||||
|
||||
&:nth-child(5) {
|
||||
grid-area: input3;
|
||||
}
|
||||
|
||||
&:nth-child(7) {
|
||||
grid-area: input4;
|
||||
}
|
||||
}
|
||||
|
||||
&-link {
|
||||
background-color: var(--rsp-white);
|
||||
grid-area: button;
|
||||
border: 1px solid var(--rsp-input-border-color);
|
||||
border-radius: 0 var(--rsp-border-radius-xs) var(--rsp-border-radius-xs) 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
line-height: 1;
|
||||
|
||||
svg path {
|
||||
fill: var(--rsp-text-color-light);
|
||||
}
|
||||
|
||||
&.linked {
|
||||
background-color: var(--rsp-blue-faded);
|
||||
}
|
||||
}
|
||||
|
||||
&-side-label {
|
||||
color: var(--rsp-text-color-light);
|
||||
font-size: var(--rsp-fs-100);
|
||||
text-align: center;
|
||||
|
||||
&:nth-child(2) {
|
||||
grid-area: label1;
|
||||
}
|
||||
|
||||
&:nth-child(4) {
|
||||
grid-area: label2;
|
||||
}
|
||||
|
||||
&:nth-child(6) {
|
||||
grid-area: label3;
|
||||
}
|
||||
|
||||
&:nth-child(8) {
|
||||
grid-area: label4;
|
||||
}
|
||||
}
|
||||
|
||||
&-unit{
|
||||
font-size: var(--rsp-fs-100);
|
||||
color: var(--rsp-text-color-light);
|
||||
text-align: center;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-content: center;
|
||||
select{
|
||||
// unset all except for background
|
||||
background:
|
||||
#fff
|
||||
url(data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E)
|
||||
no-repeat
|
||||
right 0px
|
||||
top 55%;
|
||||
font-size: var(--rsp-fs-100);
|
||||
line-height: 1.5;
|
||||
color: var(--rsp-text-color-light);
|
||||
border-color: unset;
|
||||
border: unset;
|
||||
box-shadow: none;
|
||||
border-radius: unset;
|
||||
padding: 0 16px 0 0;
|
||||
min-height: var(--rsp-fs-100);
|
||||
max-width: 25rem;
|
||||
-webkit-appearance: none;
|
||||
background-size: 16px 16px;
|
||||
cursor: pointer;
|
||||
vertical-align: middle;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,119 @@
|
||||
/* reset */
|
||||
button {
|
||||
all: unset;
|
||||
}
|
||||
/* Global Variables */
|
||||
:root {
|
||||
--button-font-size: var(--rsp-fs-300);
|
||||
--button-font-weight: 300;
|
||||
--button-line-height: 2;
|
||||
--button-letter-spacing: 0.5px;
|
||||
--button-transition: all 0.3s ease;
|
||||
--button-min-height: 30px;
|
||||
--button-padding: 0 10px;
|
||||
--button-border-radius: 4px;
|
||||
--button-accent-color: #2271b1;
|
||||
--button-contrast-color: #000;
|
||||
--button-secondary-bg: #fff;
|
||||
}
|
||||
|
||||
/* Button Base Styles */
|
||||
a.button, button.button, input.button {
|
||||
transition: var(--button-transition);
|
||||
margin: 0;
|
||||
padding: var(--button-padding);
|
||||
border-radius: var(--button-border-radius);
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
text-decoration: none;
|
||||
|
||||
&--primary {
|
||||
background: var(--button-accent-color);
|
||||
color: var(--button-secondary-bg);
|
||||
border: 1px solid var(--button-accent-color);
|
||||
|
||||
&:hover {
|
||||
background: var(--button-accent-color);
|
||||
color: var(--button-secondary-bg);
|
||||
border-color: var(--button-accent-color);
|
||||
box-shadow: 0 0 0 3px rgba(34, 113, 177, 0.3);
|
||||
}
|
||||
}
|
||||
|
||||
&--secondary {
|
||||
background: var(--button-secondary-bg);
|
||||
color: var(--button-accent-color);
|
||||
border: 1px solid var(--button-accent-color);
|
||||
|
||||
&:hover {
|
||||
background: var(--rsp-grey-200);
|
||||
color: var(--button-accent-color);
|
||||
border-color: var(--button-accent-color);
|
||||
}
|
||||
}
|
||||
|
||||
&--tertiary {
|
||||
background: var(--rsp-grey-200);
|
||||
color: var(--button-accent-color);
|
||||
border: 1px solid var(--rsp-grey-300);
|
||||
|
||||
&:hover {
|
||||
background: var(--rsp-grey-100);
|
||||
color: var(--button-accent-color);
|
||||
border-color: var(--rsp-grey-400);
|
||||
}
|
||||
|
||||
}
|
||||
&--error {
|
||||
// red button
|
||||
background: var(--rsp-red);
|
||||
color: var(--rsp-text-color-white);
|
||||
border: 1px solid var(--rsp-red);
|
||||
&:hover {
|
||||
background: var(--rsp-red-faded);
|
||||
color: var(--rsp-red);
|
||||
border-color: var(--rsp-red);
|
||||
box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.3);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.cmplz-field-wrap {
|
||||
.cmplz-button{
|
||||
margin-left: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.cmplz-button-icon {
|
||||
background: transparent;
|
||||
background: var(--rsp-grey-300);
|
||||
color: #2271b1;
|
||||
border: 1px solid transparent;
|
||||
border-radius: 50%;
|
||||
width: 1em;
|
||||
height: 1em;
|
||||
padding: 10px;
|
||||
margin: 5px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
transition: all 0.3s ease;
|
||||
cursor: pointer;
|
||||
.cmplz-tooltip-icon {
|
||||
padding-top:3px;
|
||||
}
|
||||
&:hover {
|
||||
padding: 15px;
|
||||
margin: 0;
|
||||
}
|
||||
&--delete{
|
||||
&:hover{
|
||||
background: var(--rsp-red-faded);
|
||||
svg path{
|
||||
fill: var(--rsp-red);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,64 @@
|
||||
.cmplz {
|
||||
.cmplz-checkbox-group {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--rsp-spacing-xs);
|
||||
|
||||
&__item {
|
||||
display: flex;
|
||||
gap: var(--rsp-spacing-xs);
|
||||
background-color: transparent;
|
||||
align-items: flex-start;
|
||||
.cmplz-icon-check {
|
||||
margin-top:5px;
|
||||
}
|
||||
|
||||
&.cmplz-hidden {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
&__checkbox {
|
||||
display: flex;
|
||||
align-content: center;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 3px;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
aspect-ratio: 1 / 1;
|
||||
outline: 1px solid var(--rsp-input-border-color);
|
||||
transition: background-color 0.2s ease-in-out;
|
||||
margin-top: 2px;
|
||||
|
||||
&:hover {
|
||||
background-color: var(--rsp-blue-faded);
|
||||
}
|
||||
|
||||
&:focus {
|
||||
box-shadow: 0 0 0 3px var(--rsp-background-color), 0 0 0 5px var(--rsp-dark-blue);
|
||||
}
|
||||
&:disabled {
|
||||
background-color: var(--rsp-grey-300);
|
||||
cursor: not-allowed;
|
||||
& + label {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&__label {
|
||||
font-size: var(--rsp-fs-300);
|
||||
color: var(--rsp-text-color-light);
|
||||
margin: 0 !important;
|
||||
}
|
||||
|
||||
.cmplz-button{
|
||||
margin-right: auto;
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
.rdt_Table .cmplz-checkbox-group__item{
|
||||
padding: 5px;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
.cmplz {
|
||||
&-input-group {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--rsp-spacing-xs);
|
||||
}
|
||||
//we don't want the border radius of radio buttons to change.
|
||||
input:not([type="radio"]) {
|
||||
border-radius: var(--rsp-border-radius-xs);
|
||||
}
|
||||
input {
|
||||
//all: unset;
|
||||
border: 1px solid var(--rsp-input-border-color);
|
||||
padding: var(--rsp-spacing-xxs) var(--rsp-spacing-xs);
|
||||
font-size: var(--rsp-fs-300);
|
||||
line-height: 1.5;
|
||||
color: var(--rsp-text-color-light);
|
||||
background-color: var(--rsp-white);
|
||||
outline: none;
|
||||
|
||||
&:focus {
|
||||
border-color: var(--rsp-dark-blue);
|
||||
box-shadow: 0 0 0 2px var(--rsp-dark-blue);
|
||||
}
|
||||
|
||||
&:disabled {
|
||||
background-color: var(--rsp-grey-200);
|
||||
color: var(--rsp-grey-400);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
.cmplz-password-input-group {
|
||||
position:relative;
|
||||
.cmplz-icon {
|
||||
position: absolute;
|
||||
right: 15px;
|
||||
top: 8px;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
.cmplz {
|
||||
.cmplz {
|
||||
&-radio-group {
|
||||
&__item {
|
||||
display: flex;
|
||||
gap: var(--rsp-spacing-xs);
|
||||
background-color: transparent;
|
||||
align-items: center;
|
||||
|
||||
button {
|
||||
all: unset;
|
||||
display: flex;
|
||||
align-content: center;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 50%;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
aspect-ratio: 1 / 1;
|
||||
border: 1px solid var(--rsp-input-border-color);
|
||||
transition: background-color 0.2s ease-in-out;
|
||||
|
||||
&:hover {
|
||||
background-color: var(--rsp-blue-faded);
|
||||
}
|
||||
|
||||
&:focus {
|
||||
box-shadow: 0 0 0 3px var(--rsp-background-color), 0 0 0 5px var(--rsp-dark-blue);
|
||||
}
|
||||
&:disabled {
|
||||
background-color: var(--rsp-grey-300);
|
||||
cursor: not-allowed;
|
||||
& + label {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&__indicator {
|
||||
background: var(--rsp-dark-blue);
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
aspect-ratio: 1 / 1;
|
||||
border-radius: 50%;
|
||||
}
|
||||
}
|
||||
|
||||
&-radio-label {
|
||||
font-size: var(--rsp-fs-300);
|
||||
color: var(--rsp-text-color-light);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,89 @@
|
||||
|
||||
|
||||
.cmplz {
|
||||
.cmplz {
|
||||
&-select-group {
|
||||
.cmplz-icon > div {
|
||||
margin-top: 2px;
|
||||
margin-bottom: -2px;
|
||||
}
|
||||
&__trigger {
|
||||
padding: var(--rsp-spacing-xxs) var(--rsp-spacing-xs);
|
||||
font-size: var(--rsp-fs-300);
|
||||
color: var(--rsp-text-color-light);
|
||||
line-height: 1.5;
|
||||
background-color: var(--rsp-white);
|
||||
border-radius: var(--rsp-border-radius-xs);
|
||||
border: 1px solid var(--rsp-input-border-color);
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: var(--rsp-spacing-xxs);
|
||||
|
||||
&:hover:not([disabled]) {
|
||||
background-color: var(--rsp-blue-faded);
|
||||
}
|
||||
|
||||
&:focus {
|
||||
box-shadow: 0 0 0 2px var(--rsp-dark-blue);
|
||||
}
|
||||
|
||||
&[data-placeholder] {
|
||||
color: var(--rsp-grey-400);
|
||||
}
|
||||
&[disabled] {
|
||||
background-color: var(--rsp-grey-200);
|
||||
color: var(--rsp-grey-400);
|
||||
}
|
||||
}
|
||||
|
||||
&__content {
|
||||
width: var(--radix-select-trigger-width);
|
||||
max-height: calc(var(--radix-select-content-available-height) - 32px - var(--rsp-spacing-s));
|
||||
overflow: hidden;
|
||||
background-color: var(--rsp-white);
|
||||
border-radius: 0 0 var(--rsp-border-radius-xs) var(--rsp-border-radius-xs);
|
||||
border: 1px solid var(--rsp-input-border-color);
|
||||
border-top: none;
|
||||
box-shadow: 0px 10px 38px -10px rgba(22, 23, 24, 0.35), 0px 10px 20px -15px rgba(22, 23, 24, 0.2);
|
||||
z-index: 14; //should be above 12, which is the footer, and above 10, which is the text editor.
|
||||
}
|
||||
|
||||
&__viewport {
|
||||
}
|
||||
|
||||
&__item {
|
||||
line-height: 1;
|
||||
padding: var(--rsp-spacing-xs) var(--rsp-spacing-xs);
|
||||
font-size: var(--rsp-fs-300);
|
||||
color: var(--rsp-text-color-light);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
position: relative;
|
||||
user-select: none;
|
||||
|
||||
&[data-disabled] {
|
||||
background: var(--rsp-grey-300);
|
||||
color: var(--rsp-grey-500);
|
||||
pointer-events: none;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
&[data-highlighted] {
|
||||
outline: none;
|
||||
background-color: var(--rsp-blue-faded);
|
||||
color: var(--rsp-text-color);
|
||||
}
|
||||
}
|
||||
|
||||
&__scroll-button {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
height: 25px;
|
||||
background-color: white;
|
||||
cursor: default;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,68 @@
|
||||
/* reset */
|
||||
button {
|
||||
all: unset;
|
||||
}
|
||||
.cmplz-field-wrap.cmplz-checkbox .cmplz-comment{
|
||||
width: 100%;
|
||||
}
|
||||
.cmplz-input-group.cmplz-switch-group{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: row;
|
||||
}
|
||||
.cmplz-switch-root {
|
||||
width: 42px;
|
||||
height: 25px;
|
||||
background-color: var(--rsp-blue-faded);
|
||||
border-radius: 9999px;
|
||||
position: relative;
|
||||
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
||||
margin: 5px;
|
||||
border: 1px solid #a4b1d2;
|
||||
&:disabled {
|
||||
opacity: 0.5;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
}
|
||||
.cmplz-switch-root:focus {
|
||||
box-shadow: 0 0 0 3px var(--rsp-white), 0 0 0 5px var(--rsp-dark-blue);
|
||||
}
|
||||
.cmplz-switch-root[data-state='checked'] {
|
||||
background-color: var(--rsp-dark-blue);
|
||||
}
|
||||
|
||||
.cmplz-switch-thumb {
|
||||
display: block;
|
||||
width: 21px;
|
||||
height: 21px;
|
||||
background-color: var(--rsp-white);
|
||||
border-radius: 9999px;
|
||||
box-shadow: 0 2px 2px var(--rsp-dark-blue);
|
||||
transition: transform 100ms;
|
||||
transform: translateX(2px);
|
||||
will-change: transform;
|
||||
}
|
||||
.cmplz-switch-thumb[data-state='checked'] {
|
||||
transform: translateX(19px);
|
||||
}
|
||||
|
||||
// tiny switch
|
||||
.cmplz-switch-root.cmplz-switch-input-tiny{
|
||||
width: 35px;
|
||||
height: 20px;
|
||||
margin: 3px;
|
||||
.cmplz-switch-thumb {
|
||||
width: 15px;
|
||||
height: 15px;
|
||||
box-shadow: 0 1px 1px var(--rsp-dark-blue);
|
||||
transform: translateX(2px) translateY(-1px);
|
||||
&[data-state='checked'] {
|
||||
transform: translateX(16px) translateY(-1px)
|
||||
}
|
||||
}
|
||||
&:focus{
|
||||
box-shadow: 0 0 0 1px var(--rsp-white), 0 0 0 2px var(--rsp-dark-blue);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
.cmplz-text-area-input-group {
|
||||
position: relative;
|
||||
|
||||
&__input {
|
||||
width: 100%;
|
||||
min-height: 50px;
|
||||
resize: none;
|
||||
padding: 8px;
|
||||
font-size: var(--rsp-fs-300);
|
||||
color: var(--rsp-text-color-light);
|
||||
border: 1px solid var(--rsp-input-border-color);
|
||||
border-radius: 4px;
|
||||
outline: none;
|
||||
transition: border-color 0.2s ease-in-out;
|
||||
overflow: hidden;
|
||||
|
||||
&:focus {
|
||||
border-color: var(--rsp-dark-blue);
|
||||
box-shadow: 0 0 0 2px var(--rsp-dark-blue);
|
||||
}
|
||||
|
||||
&:disabled {
|
||||
background-color: var(--rsp-grey-200);
|
||||
color: var(--rsp-grey-400);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
.cmplz-text-checkbox-input{
|
||||
display: grid;
|
||||
grid-template-columns: 1fr auto;
|
||||
gap: var(--rsp-spacing-xs);
|
||||
align-content: center;
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
.cmplz-integrations-placeholder {
|
||||
height:150px;
|
||||
div {
|
||||
background-color:var(--rsp-grey-200);
|
||||
margin:10px 0;
|
||||
height:30px;
|
||||
}
|
||||
}
|
||||
.cmplz-table-header {
|
||||
display:flex;
|
||||
}
|
||||
//needs to be outside table header, so we can use the table-header controls class without the parent
|
||||
.cmplz-table-header-controls {
|
||||
display:flex;
|
||||
margin-left:auto;
|
||||
gap:20px;
|
||||
select {
|
||||
height: 20px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
}
|
||||
.cmplz-settings-overlay {
|
||||
z-index:99;
|
||||
display: grid;
|
||||
grid-template-columns: 680px auto;
|
||||
position: absolute;
|
||||
top:0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
background: rgba(255, 255, 255, 0.8);
|
||||
|
||||
.cmplz-settings-overlay-message{
|
||||
position:absolute;
|
||||
width: calc(100% - 70px);
|
||||
bottom: 0;
|
||||
background-color: #fff;
|
||||
padding: 15px;
|
||||
margin:20px;
|
||||
box-shadow: var(--rsp-box-shadow);
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 960px) {
|
||||
.cmplz-settings-overlay {
|
||||
right: 0;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,89 @@
|
||||
.cmplz-modal-backdrop {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
background-color: grey;
|
||||
opacity: 0.45;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
z-index: 15;
|
||||
}
|
||||
|
||||
.cmplz-modal {
|
||||
max-width: 526px;
|
||||
min-width:526px;
|
||||
position: fixed;
|
||||
z-index: 20;
|
||||
border-radius: 12px;
|
||||
background-color: white;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
margin: 25px;
|
||||
|
||||
.cmplz-modal-header {
|
||||
background-color: white;
|
||||
padding: 20px 20px 10px 20px;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
border-radius: 12px;
|
||||
.cmplz-modal-header-branding {
|
||||
display:flex;
|
||||
.cmplz-header-logo {
|
||||
width:100%;
|
||||
}
|
||||
|
||||
}
|
||||
.modal-title {
|
||||
font-size: 20px;
|
||||
margin: 0;
|
||||
background-color: white;
|
||||
}
|
||||
.cmplz-modal-close {
|
||||
cursor: pointer;
|
||||
background: none;
|
||||
border: none;
|
||||
font-size: 1.5em;
|
||||
font-weight: 700;
|
||||
}
|
||||
button {
|
||||
img {
|
||||
height: 16px;
|
||||
width: 16px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.cmplz-modal-content {
|
||||
position: relative;
|
||||
padding: 10px 20px 10px 20px;
|
||||
font-size: 12px;
|
||||
.cmplz-modal-subtitle {
|
||||
font-weight: 600;
|
||||
font-size: 15px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.cmplz-modal-description {
|
||||
overflow-wrap: anywhere;
|
||||
margin-top: 0;
|
||||
font-weight: 500;
|
||||
}
|
||||
}
|
||||
.cmplz-modal-footer {
|
||||
background: var(--rsp-grey-100);
|
||||
padding: var(--rsp-spacing-m) var(--rsp-spacing-l);
|
||||
bottom: 0;
|
||||
box-shadow: var(--rsp-box-shadow);
|
||||
border-radius: 0 0 var(--rsp-border-radius) var(--rsp-border-radius);
|
||||
border-top: 1px solid var(--rsp-grey-300);
|
||||
box-sizing: border-box;
|
||||
display: grid;
|
||||
grid-template-columns: auto auto auto 1fr;
|
||||
align-items: center;
|
||||
gap: var(--rsp-grid-margin);
|
||||
width: 100%;
|
||||
min-height: 20px;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
#complianz{
|
||||
.cmplz-new-features-block{
|
||||
.cmplz-grid-item-content{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
}
|
||||
}
|
||||
.cmplz-new-features{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
gap: var(--rsp-spacing-xs);
|
||||
@media only screen and (max-width: $rsp-break-xxl) and (min-width: $rsp-break-m) {
|
||||
gap: var(--rsp-spacing-xxs);
|
||||
}
|
||||
}
|
||||
.cmplz-new-feature{
|
||||
width: 100%;
|
||||
color: var(--rsp-text-color-light);
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
min-width: 0;
|
||||
gap: var(--rsp-spacing-xs);
|
||||
text-decoration: none;
|
||||
.cmplz-icon{
|
||||
margin-top: 2px;
|
||||
}
|
||||
.cmplz-new-feature-desc {
|
||||
p {
|
||||
font-size:var(--rsp-fs-300);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
/**
|
||||
Admin notice
|
||||
*/
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
#complianz .cmplz-modal.cmplz-onboarding {
|
||||
.cmplz-header-logo {
|
||||
height: 26px;
|
||||
}
|
||||
.cmplz-modal-content{
|
||||
padding-top: var(--rsp-spacing-xs);
|
||||
line-height: 2.2;
|
||||
&.cmplz-processing {
|
||||
opacity:0.5;
|
||||
}
|
||||
.cmplz-onboarding-item {
|
||||
display:flex;
|
||||
align-items:flex-start;
|
||||
.cmplz-icon{
|
||||
margin-top:3px;
|
||||
margin-right:7px;
|
||||
}
|
||||
a {
|
||||
margin-top:-2px;
|
||||
}
|
||||
}
|
||||
input[type="email"]{
|
||||
width: 100%;
|
||||
margin-bottom: var(--rsp-spacing-m);
|
||||
border: 2px solid;
|
||||
height: 50px;
|
||||
border-color: var(--rsp-grey-300);
|
||||
&.cmplz-invalid {
|
||||
background-color:var(--rsp-red-faded);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,93 @@
|
||||
#complianz {
|
||||
.cmplz-other-plugins {
|
||||
.cmplz-placeholder {
|
||||
background-color:transparent;
|
||||
}
|
||||
.rsp-logo img {
|
||||
height: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
.cmplz-other-plugins-container {
|
||||
display: flex !important;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
margin-bottom: 10px;
|
||||
font-size: var(--rsp-fs-300);
|
||||
line-height: 1.7;
|
||||
gap: var(--rsp-spacing-xxs);
|
||||
|
||||
@media screen and (max-width: 992px) {
|
||||
flex-direction: row;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.cmplz-other-plugins-element {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-content: space-between;
|
||||
justify-content: space-between;
|
||||
gap: 10px;
|
||||
--rsp-other-plugins-color: var(---rsp-brand-primary);
|
||||
|
||||
&.cmplz-zip-recipes {
|
||||
--rsp-other-plugins-color: var(--rsp-pink);
|
||||
}
|
||||
|
||||
&.cmplz-burst-statistics {
|
||||
--rsp-other-plugins-color: var(--rsp-green);
|
||||
}
|
||||
|
||||
&.cmplz-complianz-gdpr {
|
||||
--rsp-other-plugins-color: var(--rsp-blue);
|
||||
}
|
||||
|
||||
&.cmplz-complianz-terms-conditions {
|
||||
--rsp-other-plugins-color: var(--rsp-black);
|
||||
}
|
||||
|
||||
&.cmplz-really-simple-ssl {
|
||||
--rsp-other-plugins-color: var(--rsp-yellow);
|
||||
}
|
||||
|
||||
a {
|
||||
width: max-content;
|
||||
color: var(--rsp-text-color-light);
|
||||
transition: color 0.3s ease;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
min-width: 0;
|
||||
gap: var(--rsp-spacing-xs);
|
||||
text-decoration: none;
|
||||
|
||||
&:hover {
|
||||
color: var(--rsp-other-plugins-color);
|
||||
text-decoration: underline;
|
||||
|
||||
.cmplz-bullet {
|
||||
background-color: var(--rsp-other-plugins-color);
|
||||
}
|
||||
|
||||
.cmplz-other-plugins-content {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.cmplz-bullet {
|
||||
transition: background-color 0.3s ease;
|
||||
background-color: var(--rsp-other-plugins-color);
|
||||
}
|
||||
|
||||
.cmplz-other-plugins-content {
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.cmplz-other-plugin-status {
|
||||
min-width: fit-content;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,115 @@
|
||||
@function randomNum($min, $max) {
|
||||
$rand: random();
|
||||
$randomNum: $min + floor($rand * (($max - $min) + 1));
|
||||
|
||||
@return $randomNum;
|
||||
}
|
||||
|
||||
$base-color: #ddd;
|
||||
$shine-color: #e8e8e8;
|
||||
$animation-duration: 1.6s;
|
||||
@mixin background-gradient {
|
||||
background-image: linear-gradient(90deg, $base-color 0, $shine-color 40px, $base-color 80px);
|
||||
background-size: 600px;
|
||||
}
|
||||
|
||||
.cmplz-placeholder {
|
||||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
text-align: left;
|
||||
margin: 0;
|
||||
padding-bottom: 24px;
|
||||
color: #1e1e1e;
|
||||
-webkit-font-smoothing: subpixel-antialiased;
|
||||
border-radius: 2px;
|
||||
background-color: #fff;
|
||||
flex-grow: 100;
|
||||
.cmplz-placeholder-line {
|
||||
float: left;
|
||||
width: 100%;
|
||||
height: 16px;
|
||||
margin-top: 12px;
|
||||
border-radius: 7px;
|
||||
|
||||
&:last-of-type {
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
@include background-gradient;
|
||||
animation: shine-lines $animation-duration infinite linear;
|
||||
@for $i from 1 through 20 {
|
||||
&:nth-of-type( #{$i} ) {
|
||||
width: ( random(40) + 60 ) * 1%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.cmplz-placeholder-line ~ .cmplz-placeholder-line {
|
||||
background-color: #ddd;
|
||||
}
|
||||
|
||||
//placeholder css for field component loading placeholder.
|
||||
&-count-1 {
|
||||
padding-bottom:0;
|
||||
.cmplz-placeholder-line {
|
||||
margin:0;
|
||||
background-image: linear-gradient(90deg, #f9f9f9 0, #f9f9f9 40px, #f9f9f9 80px);
|
||||
&:last-of-type{
|
||||
margin-bottom:0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@keyframes shine-lines {
|
||||
0% {
|
||||
background-position: - 400px;
|
||||
}
|
||||
100% {
|
||||
background-position: 220px;
|
||||
}
|
||||
}
|
||||
|
||||
.cmplz-page-placeholder .cmplz-grid-item, .cmplz-grid-item-placeholder {
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
|
||||
&:after {
|
||||
content: '';
|
||||
top: 0;
|
||||
overflow: hidden;
|
||||
transform: translateX(100%);
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position: absolute;
|
||||
display: inline-block;
|
||||
z-index: 1;
|
||||
animation: slide 1s infinite;
|
||||
background: linear-gradient(103deg, rgba(228, 229, 232, 0) 25%, rgba(228, 229, 232, 0.35) 50%, rgba(128, 186, 232, 0) 99%, rgba(125, 185, 232, 0) 75%); /* W3C */
|
||||
}
|
||||
}
|
||||
.cmplz-grid-item-placeholder{
|
||||
min-height: 300px;
|
||||
}
|
||||
|
||||
/* animation */
|
||||
|
||||
@keyframes slide {
|
||||
0% {
|
||||
transform: translateX(-100%);
|
||||
}
|
||||
100% {
|
||||
transform: translateX(100%);
|
||||
}
|
||||
}
|
||||
|
||||
.cmplz-loading-container {
|
||||
transition: opacity 0.2s ease-in-out, filter 0.2s ease-in-out;
|
||||
|
||||
&.cmplz-loading {
|
||||
opacity: 0.3;
|
||||
//filter: blur(1px);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,238 @@
|
||||
.cmplz-grid-item.cmplz-progress {
|
||||
.cmplz-grid-item-content {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.cmplz-placeholder {
|
||||
@include cmplz-block-padding;
|
||||
}
|
||||
}
|
||||
|
||||
.cmplz-progress-block, .cmplz-grid-item-footer {
|
||||
.cmplz-progress {
|
||||
overflow: hidden;
|
||||
height: 20px;
|
||||
border-radius: 5px;
|
||||
background-color: #f7f7f7;
|
||||
|
||||
.cmplz-bar {
|
||||
height: 100%;
|
||||
background-color: var(--rsp-color-success);
|
||||
|
||||
&.cmplz-orange {
|
||||
background-color: var(--rsp-color-warning);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.cmplz-progress-bar {
|
||||
@include cmplz-block-padding;
|
||||
padding-block: 0;
|
||||
border-radius:5px;
|
||||
}
|
||||
|
||||
.cmplz-progress-text {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@include cmplz-block-padding;
|
||||
padding-block: var(--rsp-spacing-s);
|
||||
justify-content: flex-start;
|
||||
gap: var(--rsp-spacing-m);
|
||||
|
||||
|
||||
.cmplz-progress-percentage {
|
||||
font-size: var(--rsp-fs-800);
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.cmplz-progress-text-span {
|
||||
font-weight: 500;
|
||||
font-size: var(--rsp-fs-600);
|
||||
a {
|
||||
margin-left: 3px;
|
||||
}
|
||||
@media only screen and (max-width: $rsp-break-l) and (min-width: $rsp-break-m) {
|
||||
font-size: var(--rsp-fs-500);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.cmplz-header-html {
|
||||
display: flex;
|
||||
color: var(--rsp-text-color-light);
|
||||
|
||||
.cmplz-toggle-active {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
.cmplz-task-switcher-container {
|
||||
display: flex;
|
||||
border-radius: var(--rsp-border-radius);
|
||||
|
||||
.cmplz-task-switcher {
|
||||
&:first-of-type {
|
||||
border-right: 1px solid var(--rsp-grey-400);
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
&:last-of-type {
|
||||
padding-left: 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.cmplz-task-switcher {
|
||||
font-size: var(--rsp-fs-200);
|
||||
cursor: pointer;
|
||||
transition: 0.3s;
|
||||
|
||||
&:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
.cmplz-active-filter-remaining .cmplz-remaining-tasks, .cmplz-active-filter-all .cmplz-all-tasks {
|
||||
text-decoration: none;
|
||||
|
||||
}
|
||||
.cmplz-active-filter-all .cmplz-remaining-tasks, .cmplz-active-filter-remaining .cmplz-all-tasks {
|
||||
color: var(--rsp-grey-500);
|
||||
}
|
||||
|
||||
/**
|
||||
* Task element, list of tasks
|
||||
*/
|
||||
|
||||
.cmplz-task-element {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: center;
|
||||
gap: var(--rsp-spacing-m);
|
||||
padding-bottom: var(--rsp-spacing-s);
|
||||
@media(max-width: $rsp-break-m) {
|
||||
gap: var(--rsp-spacing-xs);
|
||||
}
|
||||
|
||||
.cmplz-task-message {
|
||||
flex: 1;
|
||||
font-size: var(--rsp-fs-300);
|
||||
}
|
||||
|
||||
.cmplz-task-form {
|
||||
margin-top: var(--rsp-spacing-xxs);
|
||||
display: flex;
|
||||
gap: var(--rsp-spacing-xs);
|
||||
}
|
||||
|
||||
.cmplz-task-dismiss {
|
||||
&:hover {
|
||||
transform: scale(1.1);
|
||||
}
|
||||
|
||||
button {
|
||||
all: initial; //remove default button styles
|
||||
cursor: pointer;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
svg {
|
||||
height: 12px;
|
||||
width: 12px;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.cmplz-scroll-container {
|
||||
@include cmplz-block-padding;
|
||||
//--rsp-scroll-bg-clr: var(--rsp-white);
|
||||
height: 230px;
|
||||
overflow-y: auto;
|
||||
padding-block: 0;
|
||||
padding-top: var(--rsp-spacing-xxs);
|
||||
border-radius: 0;
|
||||
|
||||
&::-webkit-scrollbar-track {
|
||||
border-radius: 10px;
|
||||
-webkit-box-shadow: inset 0 0 2px rgba(0, 0, 0, 0);
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
&::-webkit-scrollbar {
|
||||
width: 8px;
|
||||
border-radius: 10px;
|
||||
background-color: var(--rsp-grey-300);
|
||||
}
|
||||
|
||||
&::-webkit-scrollbar-thumb {
|
||||
background-color: var(--rsp-grey-400);
|
||||
border-radius: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
.cmplz-progress-status-container {
|
||||
margin-right: 40px;
|
||||
}
|
||||
|
||||
.cmplz-task-status {
|
||||
display: block;
|
||||
min-width: 100px;
|
||||
text-align: center;
|
||||
border-radius: 15px;
|
||||
padding: 4px 8px;
|
||||
font-size: var(--rsp-fs-100);
|
||||
font-weight: 500;
|
||||
@media(max-width: $rsp-break-m) {
|
||||
min-width: 80px;
|
||||
}
|
||||
@media(max-width: $rsp-break-s) {
|
||||
aspect-ratio: 1 / 1;
|
||||
min-width: 10px;
|
||||
height: 16px;
|
||||
border-radius: 100%;
|
||||
text-indent: -9999px; /* sends the text off-screen */
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
&.cmplz-completed, &.cmplz-success {
|
||||
background-color: var(--rsp-color-success);
|
||||
color: var(--rsp-text-color-white);
|
||||
}
|
||||
|
||||
&.cmplz-open {
|
||||
background-color: var(--rsp-color-open);
|
||||
}
|
||||
|
||||
&.cmplz-urgent {
|
||||
background-color: var(--rsp-color-error);
|
||||
color: var(--rsp-text-color-white);
|
||||
}
|
||||
|
||||
&.cmplz-premium {
|
||||
background-color: var(--rsp-blue);
|
||||
color: var(--rsp-text-color-white);
|
||||
}
|
||||
}
|
||||
.cmplz-plusone {
|
||||
min-width: 15px;
|
||||
height: 18px;
|
||||
font-size: var(--rsp-fs-100);
|
||||
line-height:initial;
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
box-sizing: border-box;
|
||||
margin: 1px 0 0 0;
|
||||
padding: 2px 5px;
|
||||
border-radius: 50%;
|
||||
background-color: #d63638;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: $rsp-break-l) {
|
||||
.cmplz-footer-left {
|
||||
display:none;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,102 @@
|
||||
.cmplz-shepherd {
|
||||
--rsp-black: #333;
|
||||
background: var(--rsp-black);
|
||||
color: var(--rsp-white);
|
||||
box-shadow: 0 5px 5px -3px rgb(0 0 0 / 20%), 0 8px 10px 1px rgb(0 0 0 / 14%), 0 3px 14px 2px rgb(0 0 0 / 12%);
|
||||
width: min(45ch, 100%);
|
||||
border-radius: var(--rsp-border-radius-input);
|
||||
z-index: 999;
|
||||
margin: var(--rsp-spacing-s) !important; // this is only used to overwrite an inline style
|
||||
|
||||
.shepherd-arrow, .shepherd-arrow:before {
|
||||
position: absolute;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
z-index: -1
|
||||
}
|
||||
|
||||
.shepherd-arrow:before {
|
||||
content: "";
|
||||
transform: rotate(45deg);
|
||||
background: var(--rsp-black);
|
||||
}
|
||||
|
||||
&[data-popper-placement^=top] > .shepherd-arrow {
|
||||
bottom: -8px
|
||||
}
|
||||
|
||||
&[data-popper-placement^=bottom] > .shepherd-arrow {
|
||||
top: -8px
|
||||
}
|
||||
|
||||
&[data-popper-placement^=left] > .shepherd-arrow {
|
||||
right: -8px
|
||||
}
|
||||
|
||||
&[data-popper-placement^=right] > .shepherd-arrow {
|
||||
left: -8px
|
||||
}
|
||||
|
||||
&.shepherd-centered > .shepherd-arrow {
|
||||
opacity: 0
|
||||
}
|
||||
|
||||
.shepherd-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
min-height: 30px;
|
||||
padding-inline: var(--rsp-spacing-s);
|
||||
padding-block: var(--rsp-spacing-xs);
|
||||
.shepherd-title {
|
||||
margin: 0;
|
||||
color: var(--rsp-white);
|
||||
}
|
||||
|
||||
button.shepherd-cancel-icon {
|
||||
background: transparent;
|
||||
border: none;
|
||||
outline: none;
|
||||
cursor: pointer;
|
||||
color: var(--rsp-grey-500);
|
||||
font-size: 20px;
|
||||
position: relative;
|
||||
top: -2px;
|
||||
|
||||
&:hover {
|
||||
color: var(--rsp-text-color-hover);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.shepherd-text {
|
||||
padding-inline: var(--rsp-spacing-s);
|
||||
padding-block: var(--rsp-spacing-xxs);
|
||||
|
||||
p {
|
||||
margin: 0;
|
||||
margin-top: var(--rsp-spacing-xxs);
|
||||
color: var(--rsp-white);
|
||||
|
||||
&:first-of-type {
|
||||
margin-top: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.shepherd-footer {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
min-height: 30px;
|
||||
gap: var(--rsp-spacing-xs);
|
||||
padding-inline: var(--rsp-spacing-s);
|
||||
padding-block: var(--rsp-spacing-xs);
|
||||
}
|
||||
}
|
||||
.dashboard_page_burst .shepherd-modal-overlay-container{
|
||||
display: none;
|
||||
}
|
||||
.shepherd-modal-overlay-container{
|
||||
display: none;
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
.cmplz-statistics-status{
|
||||
display: flex;
|
||||
.cmplz-icon {
|
||||
margin-right: 10px;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,60 @@
|
||||
.cmplz-tips_tricks{
|
||||
.cmplz-grid-item-header{
|
||||
.cmplz-grid-item-controls{
|
||||
height: 28px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.cmplz-tips-tricks-container {
|
||||
display: flex !important;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
margin-bottom: 10px;
|
||||
font-size: var(--rsp-fs-300);
|
||||
line-height: 1.7;
|
||||
gap: var(--rsp-spacing-xxs);
|
||||
|
||||
@media screen and (max-width: 992px) {
|
||||
flex-direction: row;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.cmplz-tips-tricks-element {
|
||||
width: calc(50% - var(--rsp-spacing-xxs));
|
||||
@media( max-width: $rsp-break-xs ){
|
||||
width: 100%;
|
||||
}
|
||||
a {
|
||||
color: var(--rsp-text-color-light);
|
||||
transition: color 0.3s ease;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: var(--rsp-spacing-xs);
|
||||
min-width: 0; /* or some value */
|
||||
text-decoration: none;
|
||||
|
||||
&:hover {
|
||||
color: var(--rsp-brand-primary);
|
||||
text-decoration: underline;
|
||||
|
||||
svg path{
|
||||
fill: var(--rsp-brand-primary);
|
||||
}
|
||||
|
||||
.cmplz-tips-tricks-content {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.cmplz-bullet {
|
||||
transition: background-color 0.3s ease;
|
||||
background-color: var(--rsp-grey-300);
|
||||
}
|
||||
.cmplz-tips-tricks-content {
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
.#{$rt-namespace}__close-button {
|
||||
color: #fff;
|
||||
background: transparent;
|
||||
outline: none;
|
||||
border: none;
|
||||
padding: 0;
|
||||
cursor: pointer;
|
||||
opacity: 0.7;
|
||||
transition: 0.3s ease;
|
||||
align-self: flex-start;
|
||||
|
||||
&--light {
|
||||
color: #000;
|
||||
opacity: 0.3;
|
||||
}
|
||||
|
||||
& > svg {
|
||||
fill: currentColor;
|
||||
height: 16px;
|
||||
width: 14px;
|
||||
}
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
.#{$rt-namespace}__spinner {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
box-sizing: border-box;
|
||||
border: 2px solid;
|
||||
border-radius: 100%;
|
||||
border-color: var(--toastify-spinner-color-empty-area);
|
||||
border-right-color: var(--toastify-spinner-color);
|
||||
animation: #{$rt-namespace}__spin 0.65s linear infinite;
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
@keyframes #{$rt-namespace}__trackProgress {
|
||||
0% {
|
||||
transform: scaleX(1);
|
||||
}
|
||||
100% {
|
||||
transform: scaleX(0);
|
||||
}
|
||||
}
|
||||
|
||||
.#{$rt-namespace}__progress-bar {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 5px;
|
||||
z-index: var(--toastify-z-index);
|
||||
opacity: 0.7;
|
||||
transform-origin: left;
|
||||
|
||||
&--animated {
|
||||
animation: #{$rt-namespace}__trackProgress linear 1 forwards;
|
||||
}
|
||||
|
||||
&--controlled {
|
||||
transition: transform 0.2s;
|
||||
}
|
||||
|
||||
&--rtl {
|
||||
right: 0;
|
||||
left: initial;
|
||||
transform-origin: right;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
.#{$rt-namespace}__toast {
|
||||
&-theme--dark {
|
||||
background: var(--toastify-color-dark);
|
||||
color: var(--toastify-text-color-dark);
|
||||
}
|
||||
&-theme--light {
|
||||
background: var(--toastify-color-light);
|
||||
color: var(--toastify-text-color-light);
|
||||
}
|
||||
&-theme--colored#{&}--default {
|
||||
background: var(--toastify-color-light);
|
||||
color: var(--toastify-text-color-light);
|
||||
}
|
||||
&-theme--colored#{&}--info {
|
||||
color: var(--toastify-text-color-info);
|
||||
background: var(--toastify-color-info);
|
||||
}
|
||||
&-theme--colored#{&}--success {
|
||||
color: var(--toastify-text-color-success);
|
||||
background: var(--toastify-color-success);
|
||||
}
|
||||
&-theme--colored#{&}--warning {
|
||||
color: var(--toastify-text-color-warning);
|
||||
background: var(--toastify-color-warning);
|
||||
}
|
||||
&-theme--colored#{&}--error {
|
||||
color: var(--toastify-text-color-error);
|
||||
background: var(--toastify-color-error);
|
||||
}
|
||||
}
|
||||
|
||||
.#{$rt-namespace}__progress-bar {
|
||||
&-theme--light {
|
||||
background: var(--toastify-color-progress-light);
|
||||
}
|
||||
&-theme--dark {
|
||||
background: var(--toastify-color-progress-dark);
|
||||
}
|
||||
&--info {
|
||||
background: var(--toastify-color-progress-info);
|
||||
}
|
||||
&--success {
|
||||
background: var(--toastify-color-progress-success);
|
||||
}
|
||||
&--warning {
|
||||
background: var(--toastify-color-progress-warning);
|
||||
}
|
||||
&--error {
|
||||
background: var(--toastify-color-progress-error);
|
||||
}
|
||||
&-theme--colored#{&}--info,
|
||||
&-theme--colored#{&}--success,
|
||||
&-theme--colored#{&}--warning,
|
||||
&-theme--colored#{&}--error {
|
||||
background: var(--toastify-color-transparent);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,60 @@
|
||||
.#{$rt-namespace}__toast {
|
||||
position: relative;
|
||||
min-height: var(--toastify-toast-min-height);
|
||||
box-sizing: border-box;
|
||||
margin-bottom: 1rem;
|
||||
padding: 8px;
|
||||
border-radius: var(--rsp-border-radius);
|
||||
border: 1px solid #eeeeee;
|
||||
box-shadow: 0 1px 10px 0 rgba(0, 0, 0, 0.1), 0 2px 15px 0 rgba(0, 0, 0, 0.05);
|
||||
box-shadow: var(--rsp-box-shadow);
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
max-height: var(--toastify-toast-max-height);
|
||||
overflow: hidden;
|
||||
font-family: var(--toastify-font-family);
|
||||
cursor: default;
|
||||
direction: ltr;
|
||||
/* webkit only issue #791 */
|
||||
z-index: 0;
|
||||
&--rtl {
|
||||
direction: rtl;
|
||||
}
|
||||
&--close-on-click {
|
||||
cursor: pointer;
|
||||
}
|
||||
&-body {
|
||||
margin: auto 0;
|
||||
flex: 1 1 auto;
|
||||
padding: 6px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
& > div:last-child {
|
||||
word-break: break-word;
|
||||
flex: 1;
|
||||
}
|
||||
}
|
||||
&-icon {
|
||||
margin-inline-end: 10px;
|
||||
width: 20px;
|
||||
flex-shrink: 0;
|
||||
display: flex;
|
||||
}
|
||||
}
|
||||
|
||||
.#{$rt-namespace}--animate {
|
||||
animation-fill-mode: both;
|
||||
animation-duration: 0.7s;
|
||||
}
|
||||
|
||||
.#{$rt-namespace}--animate-icon {
|
||||
animation-fill-mode: both;
|
||||
animation-duration: 0.3s;
|
||||
}
|
||||
|
||||
@media #{$rt-mobile} {
|
||||
.#{$rt-namespace}__toast {
|
||||
margin-bottom: 0;
|
||||
border-radius: 0;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,60 @@
|
||||
.#{$rt-namespace}__toast-container {
|
||||
z-index: var(--toastify-z-index);
|
||||
-webkit-transform: translate3d(0, 0, var(--toastify-z-index) px);
|
||||
position: fixed;
|
||||
padding: 4px;
|
||||
width: var(--toastify-toast-width);
|
||||
box-sizing: border-box;
|
||||
color: #fff;
|
||||
&--top-left {
|
||||
top: 1em;
|
||||
left: 1em;
|
||||
}
|
||||
&--top-center {
|
||||
top: calc( 2em + 32px);
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
&--top-right {
|
||||
top: 1em;
|
||||
right: 1em;
|
||||
}
|
||||
&--bottom-left {
|
||||
bottom: 1em;
|
||||
left: 1em;
|
||||
}
|
||||
&--bottom-center {
|
||||
bottom: 1em;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
&--bottom-right {
|
||||
bottom: 1em;
|
||||
right: 1em;
|
||||
}
|
||||
}
|
||||
|
||||
@media #{$rt-mobile} {
|
||||
.#{$rt-namespace}__toast-container {
|
||||
width: 100vw;
|
||||
padding: 0;
|
||||
left: 0;
|
||||
margin: 0;
|
||||
&--top-left,
|
||||
&--top-center,
|
||||
&--top-right {
|
||||
top: 0;
|
||||
transform: translateX(0);
|
||||
}
|
||||
&--bottom-left,
|
||||
&--bottom-center,
|
||||
&--bottom-right {
|
||||
bottom: 0;
|
||||
transform: translateX(0);
|
||||
}
|
||||
&--rtl {
|
||||
right: 0;
|
||||
left: initial;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,53 @@
|
||||
$rt-namespace: 'Toastify';
|
||||
$rt-mobile: 'only screen and (max-width : 480px)' !default;
|
||||
|
||||
:root {
|
||||
--toastify-color-light: var(--rsp-white);
|
||||
--toastify-color-dark: var(--rsp-black);
|
||||
--toastify-color-info: var(--rsp-yellow);
|
||||
--toastify-color-success: var(--rsp-green);
|
||||
--toastify-color-warning: var(--rsp-orange);
|
||||
--toastify-color-error: var(--rsp-red);
|
||||
--toastify-color-transparent: rgba(255, 255, 255, 0.7);
|
||||
|
||||
--toastify-icon-color-info: var(--toastify-color-info);
|
||||
--toastify-icon-color-success: var(--toastify-color-success);
|
||||
--toastify-icon-color-warning: var(--toastify-color-warning);
|
||||
--toastify-icon-color-error: var(--toastify-color-error);
|
||||
|
||||
--toastify-toast-width: 320px;
|
||||
--toastify-toast-background: #fff;
|
||||
--toastify-toast-min-height: 42px;
|
||||
--toastify-toast-max-height: 800px;
|
||||
--toastify-font-family: sans-serif;
|
||||
--toastify-z-index: 999999;
|
||||
|
||||
--toastify-text-color-light: var(--rsp-text-color);
|
||||
--toastify-text-color-dark: var(--rsp-text-color-white);
|
||||
|
||||
//Used only for colored theme
|
||||
--toastify-text-color-info: #fff;
|
||||
--toastify-text-color-success: #fff;
|
||||
--toastify-text-color-warning: #fff;
|
||||
--toastify-text-color-error: #fff;
|
||||
|
||||
--toastify-spinner-color: #616161;
|
||||
--toastify-spinner-color-empty-area: #e0e0e0;
|
||||
|
||||
// Used when no type is provided
|
||||
--toastify-color-progress-light: linear-gradient(
|
||||
to right,
|
||||
#4cd964,
|
||||
#5ac8fa,
|
||||
#007aff,
|
||||
#34aadc,
|
||||
#5856d6,
|
||||
#ff2d55
|
||||
);
|
||||
// Used when no type is provided
|
||||
--toastify-color-progress-dark: #bb86fc;
|
||||
--toastify-color-progress-info: var(--toastify-color-info);
|
||||
--toastify-color-progress-success: var(--toastify-color-success);
|
||||
--toastify-color-progress-warning: var(--toastify-color-warning);
|
||||
--toastify-color-progress-error: var(--toastify-color-error);
|
||||
}
|
||||
@@ -0,0 +1,197 @@
|
||||
@mixin timing-function {
|
||||
animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
|
||||
}
|
||||
|
||||
@keyframes #{$rt-namespace}__bounceInRight {
|
||||
from,
|
||||
60%,
|
||||
75%,
|
||||
90%,
|
||||
to {
|
||||
@include timing-function;
|
||||
}
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translate3d(3000px, 0, 0);
|
||||
}
|
||||
60% {
|
||||
opacity: 1;
|
||||
transform: translate3d(-25px, 0, 0);
|
||||
}
|
||||
75% {
|
||||
transform: translate3d(10px, 0, 0);
|
||||
}
|
||||
90% {
|
||||
transform: translate3d(-5px, 0, 0);
|
||||
}
|
||||
to {
|
||||
transform: none;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes #{$rt-namespace}__bounceOutRight {
|
||||
20% {
|
||||
opacity: 1;
|
||||
transform: translate3d(-20px, 0, 0);
|
||||
}
|
||||
to {
|
||||
opacity: 0;
|
||||
transform: translate3d(2000px, 0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes #{$rt-namespace}__bounceInLeft {
|
||||
from,
|
||||
60%,
|
||||
75%,
|
||||
90%,
|
||||
to {
|
||||
@include timing-function;
|
||||
}
|
||||
0% {
|
||||
opacity: 0;
|
||||
transform: translate3d(-3000px, 0, 0);
|
||||
}
|
||||
60% {
|
||||
opacity: 1;
|
||||
transform: translate3d(25px, 0, 0);
|
||||
}
|
||||
75% {
|
||||
transform: translate3d(-10px, 0, 0);
|
||||
}
|
||||
90% {
|
||||
transform: translate3d(5px, 0, 0);
|
||||
}
|
||||
to {
|
||||
transform: none;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes #{$rt-namespace}__bounceOutLeft {
|
||||
20% {
|
||||
opacity: 1;
|
||||
transform: translate3d(20px, 0, 0);
|
||||
}
|
||||
to {
|
||||
opacity: 0;
|
||||
transform: translate3d(-2000px, 0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes #{$rt-namespace}__bounceInUp {
|
||||
from,
|
||||
60%,
|
||||
75%,
|
||||
90%,
|
||||
to {
|
||||
@include timing-function;
|
||||
}
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translate3d(0, 3000px, 0);
|
||||
}
|
||||
60% {
|
||||
opacity: 1;
|
||||
transform: translate3d(0, -20px, 0);
|
||||
}
|
||||
75% {
|
||||
transform: translate3d(0, 10px, 0);
|
||||
}
|
||||
90% {
|
||||
transform: translate3d(0, -5px, 0);
|
||||
}
|
||||
to {
|
||||
transform: translate3d(0, 0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes #{$rt-namespace}__bounceOutUp {
|
||||
20% {
|
||||
transform: translate3d(0, -10px, 0);
|
||||
}
|
||||
40%,
|
||||
45% {
|
||||
opacity: 1;
|
||||
transform: translate3d(0, 20px, 0);
|
||||
}
|
||||
to {
|
||||
opacity: 0;
|
||||
transform: translate3d(0, -2000px, 0);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes #{$rt-namespace}__bounceInDown {
|
||||
from,
|
||||
60%,
|
||||
75%,
|
||||
90%,
|
||||
to {
|
||||
@include timing-function;
|
||||
}
|
||||
0% {
|
||||
opacity: 0;
|
||||
transform: translate3d(0, -3000px, 0);
|
||||
}
|
||||
60% {
|
||||
opacity: 1;
|
||||
transform: translate3d(0, 25px, 0);
|
||||
}
|
||||
75% {
|
||||
transform: translate3d(0, -10px, 0);
|
||||
}
|
||||
90% {
|
||||
transform: translate3d(0, 5px, 0);
|
||||
}
|
||||
to {
|
||||
transform: none;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes #{$rt-namespace}__bounceOutDown {
|
||||
20% {
|
||||
transform: translate3d(0, 10px, 0);
|
||||
}
|
||||
40%,
|
||||
45% {
|
||||
opacity: 1;
|
||||
transform: translate3d(0, -20px, 0);
|
||||
}
|
||||
to {
|
||||
opacity: 0;
|
||||
transform: translate3d(0, 2000px, 0);
|
||||
}
|
||||
}
|
||||
|
||||
.#{$rt-namespace}__bounce-enter {
|
||||
&--top-left,
|
||||
&--bottom-left {
|
||||
animation-name: #{$rt-namespace}__bounceInLeft;
|
||||
}
|
||||
&--top-right,
|
||||
&--bottom-right {
|
||||
animation-name: #{$rt-namespace}__bounceInRight;
|
||||
}
|
||||
&--top-center {
|
||||
animation-name: #{$rt-namespace}__bounceInDown;
|
||||
}
|
||||
&--bottom-center {
|
||||
animation-name: #{$rt-namespace}__bounceInUp;
|
||||
}
|
||||
}
|
||||
|
||||
.#{$rt-namespace}__bounce-exit {
|
||||
&--top-left,
|
||||
&--bottom-left {
|
||||
animation-name: #{$rt-namespace}__bounceOutLeft;
|
||||
}
|
||||
&--top-right,
|
||||
&--bottom-right {
|
||||
animation-name: #{$rt-namespace}__bounceOutRight;
|
||||
}
|
||||
&--top-center {
|
||||
animation-name: #{$rt-namespace}__bounceOutUp;
|
||||
}
|
||||
&--bottom-center {
|
||||
animation-name: #{$rt-namespace}__bounceOutDown;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
@keyframes #{$rt-namespace}__flipIn {
|
||||
from {
|
||||
transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
|
||||
animation-timing-function: ease-in;
|
||||
opacity: 0;
|
||||
}
|
||||
40% {
|
||||
transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
|
||||
animation-timing-function: ease-in;
|
||||
}
|
||||
60% {
|
||||
transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
|
||||
opacity: 1;
|
||||
}
|
||||
80% {
|
||||
transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
|
||||
}
|
||||
to {
|
||||
transform: perspective(400px);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes #{$rt-namespace}__flipOut {
|
||||
from {
|
||||
transform: perspective(400px);
|
||||
}
|
||||
30% {
|
||||
transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
|
||||
opacity: 1;
|
||||
}
|
||||
to {
|
||||
transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.#{$rt-namespace}__flip-enter {
|
||||
animation-name: #{$rt-namespace}__flipIn;
|
||||
}
|
||||
|
||||
.#{$rt-namespace}__flip-exit {
|
||||
animation-name: #{$rt-namespace}__flipOut;
|
||||
}
|
||||
@@ -0,0 +1,117 @@
|
||||
@mixin transform {
|
||||
transform: translate3d(0, 0, 0);
|
||||
}
|
||||
|
||||
@keyframes #{$rt-namespace}__slideInRight {
|
||||
from {
|
||||
transform: translate3d(110%, 0, 0);
|
||||
visibility: visible;
|
||||
}
|
||||
to {
|
||||
@include transform;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes #{$rt-namespace}__slideInLeft {
|
||||
from {
|
||||
transform: translate3d(-110%, 0, 0);
|
||||
visibility: visible;
|
||||
}
|
||||
to {
|
||||
@include transform;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes #{$rt-namespace}__slideInUp {
|
||||
from {
|
||||
transform: translate3d(0, 110%, 0);
|
||||
visibility: visible;
|
||||
}
|
||||
to {
|
||||
@include transform;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes #{$rt-namespace}__slideInDown {
|
||||
from {
|
||||
transform: translate3d(0, -110%, 0);
|
||||
visibility: visible;
|
||||
}
|
||||
to {
|
||||
@include transform;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes #{$rt-namespace}__slideOutRight {
|
||||
from {
|
||||
@include transform;
|
||||
}
|
||||
to {
|
||||
visibility: hidden;
|
||||
transform: translate3d(110%, 0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes #{$rt-namespace}__slideOutLeft {
|
||||
from {
|
||||
@include transform;
|
||||
}
|
||||
to {
|
||||
visibility: hidden;
|
||||
transform: translate3d(-110%, 0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes #{$rt-namespace}__slideOutDown {
|
||||
from {
|
||||
@include transform;
|
||||
}
|
||||
to {
|
||||
visibility: hidden;
|
||||
transform: translate3d(0, 500px, 0);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes #{$rt-namespace}__slideOutUp {
|
||||
from {
|
||||
@include transform;
|
||||
}
|
||||
to {
|
||||
visibility: hidden;
|
||||
transform: translate3d(0, -500px, 0);
|
||||
}
|
||||
}
|
||||
|
||||
.#{$rt-namespace}__slide-enter {
|
||||
&--top-left,
|
||||
&--bottom-left {
|
||||
animation-name: #{$rt-namespace}__slideInLeft;
|
||||
}
|
||||
&--top-right,
|
||||
&--bottom-right {
|
||||
animation-name: #{$rt-namespace}__slideInRight;
|
||||
}
|
||||
&--top-center {
|
||||
animation-name: #{$rt-namespace}__slideInDown;
|
||||
}
|
||||
&--bottom-center {
|
||||
animation-name: #{$rt-namespace}__slideInUp;
|
||||
}
|
||||
}
|
||||
|
||||
.#{$rt-namespace}__slide-exit {
|
||||
&--top-left,
|
||||
&--bottom-left {
|
||||
animation-name: #{$rt-namespace}__slideOutLeft;
|
||||
}
|
||||
&--top-right,
|
||||
&--bottom-right {
|
||||
animation-name: #{$rt-namespace}__slideOutRight;
|
||||
}
|
||||
&--top-center {
|
||||
animation-name: #{$rt-namespace}__slideOutUp;
|
||||
}
|
||||
&--bottom-center {
|
||||
animation-name: #{$rt-namespace}__slideOutDown;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
@keyframes #{$rt-namespace}__spin {
|
||||
from {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
to {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
@keyframes #{$rt-namespace}__zoomIn {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: scale3d(0.3, 0.3, 0.3);
|
||||
}
|
||||
50% {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes #{$rt-namespace}__zoomOut {
|
||||
from {
|
||||
opacity: 1;
|
||||
}
|
||||
50% {
|
||||
opacity: 0;
|
||||
transform: scale3d(0.3, 0.3, 0.3);
|
||||
}
|
||||
to {
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.#{$rt-namespace}__zoom-enter {
|
||||
animation-name: #{$rt-namespace}__zoomIn;
|
||||
}
|
||||
|
||||
.#{$rt-namespace}__zoom-exit {
|
||||
animation-name: #{$rt-namespace}__zoomOut;
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
@import 'variables';
|
||||
@import 'toastContainer';
|
||||
@import 'toast';
|
||||
@import 'theme';
|
||||
@import 'closeButton';
|
||||
@import 'progressBar';
|
||||
@import 'icons';
|
||||
|
||||
// entrance and exit animations
|
||||
@import 'animations/bounce.scss';
|
||||
@import 'animations/zoom.scss';
|
||||
@import 'animations/flip.scss';
|
||||
@import 'animations/slide.scss';
|
||||
@import 'animations/spin.scss';
|
||||
@@ -0,0 +1,16 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
@import 'variables';
|
||||
|
||||
@keyframes #{$rt-namespace}__trackProgress {
|
||||
0% {
|
||||
transform: scaleX(1);
|
||||
}
|
||||
100% {
|
||||
transform: scaleX(0);
|
||||
}
|
||||
}
|
||||
|
||||
.#{$rt-namespace}__progress-bar {
|
||||
animation: #{$rt-namespace}__trackProgress linear 1 forwards;
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
.cmplz-tooltip-icon .react-tooltip {
|
||||
max-width:300px;
|
||||
z-index: 999999;
|
||||
}
|
||||
@@ -0,0 +1,190 @@
|
||||
.cmplz-confetti {
|
||||
position:absolute;
|
||||
left:50%;
|
||||
}
|
||||
.cmplz {
|
||||
.cmplz-wizard-settings { // starts with selector
|
||||
.cmplz-helplink {
|
||||
color: var(--rsp-text-color);
|
||||
}
|
||||
.cmplz-settings-region {
|
||||
width:25px;
|
||||
}
|
||||
|
||||
.cmplz-grid-item {
|
||||
position: relative; //to ensure the cmplz-lock stays within the div
|
||||
margin-bottom: var(--rsp-grid-gap);
|
||||
// on display animate in
|
||||
|
||||
@media(max-width: $rsp-break-s) {
|
||||
grid-column: span 4;
|
||||
}
|
||||
&-content{
|
||||
animation: cmplz-fade-in 0.2s ease-in;
|
||||
@keyframes cmplz-fade-in {
|
||||
0% {
|
||||
opacity: 0;
|
||||
}
|
||||
100% {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
& > div:nth-last-of-type(2) {
|
||||
margin-bottom: 0;
|
||||
border-radius: var(--rsp-border-radius) var(--rsp-border-radius) 0 0;
|
||||
}
|
||||
&.cmplz-column-2{
|
||||
grid-column: span 2;
|
||||
@media(max-width: $rsp-break-s) {
|
||||
grid-column: span 4;
|
||||
}
|
||||
}
|
||||
|
||||
.cmplz-locked {
|
||||
position: absolute;
|
||||
z-index: 10;
|
||||
top: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
background: rgba(255, 255, 255, 0.8);
|
||||
border-radius: var(--rsp-border-radius);
|
||||
|
||||
.cmplz-locked-overlay {
|
||||
z-index: 1;
|
||||
top: calc(100% - 95px);
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: var(--rsp-spacing-s);
|
||||
background-color: var(--rsp-white);
|
||||
@include cmplz-block-padding;
|
||||
border-radius: var(--rsp-border-radius-input);
|
||||
margin: var(--rsp-spacing-s);
|
||||
box-shadow: var(--rsp-box-shadow);
|
||||
|
||||
.cmplz-open {
|
||||
float: left;
|
||||
margin-right: 12px;
|
||||
}
|
||||
|
||||
.cmplz-progress-status {
|
||||
float: left;
|
||||
margin-right: 20px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.cmplz-grid-item-footer-container {
|
||||
position: sticky;
|
||||
bottom: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
z-index: 12; //should be above 10, for the text editor, which has 10.
|
||||
}
|
||||
.cmplz-grid-item-footer-scroll-progress-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
height: 3px;
|
||||
background-color: var(--rsp-grey-300);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.cmplz-grid-item-footer-scroll-progress {
|
||||
height: 100%;
|
||||
background-color: var(--rsp-blue);
|
||||
}
|
||||
.cmplz-grid-item-footer {
|
||||
background: var(--rsp-grey-100);
|
||||
@include cmplz-block-padding();
|
||||
box-shadow: var(--rsp-box-shadow);
|
||||
border-radius: 0 0 var(--rsp-border-radius) var(--rsp-border-radius);
|
||||
border-top: 1px solid var(--rsp-grey-300);
|
||||
box-sizing: border-box;
|
||||
align-items: center;
|
||||
gap: var(--rsp-grid-margin);
|
||||
width: 100%;
|
||||
min-height: 20px;
|
||||
justify-content: space-around;
|
||||
|
||||
// last item within the footer
|
||||
& > div:last-of-type {
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
|
||||
//&-progress-bar{
|
||||
// display: flex;
|
||||
// align-items: center;
|
||||
// gap: var(--rsp-spacing-s);
|
||||
// width: 100%;
|
||||
// background: var(--rsp-grey-400);
|
||||
// border-radius: var(--rsp-border-radius-xs);
|
||||
// .cmplz-bar{
|
||||
// border-radius: var(--rsp-border-radius-xs);
|
||||
// height: 1rem;
|
||||
// background-color: var(--rsp-dark-blue);
|
||||
// }
|
||||
//}
|
||||
&-buttons{
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
align-items: center;
|
||||
gap: var(--rsp-spacing-s);
|
||||
}
|
||||
&-upsell-bar {
|
||||
.button {
|
||||
display:inline-block !important;
|
||||
}
|
||||
}
|
||||
|
||||
&:empty {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.cmplz-cookiebanner-preview-controls{
|
||||
display: flex;
|
||||
justify-content: stretch;
|
||||
flex-wrap: wrap;
|
||||
margin-top: var(--rsp-spacing-l);
|
||||
h6{
|
||||
margin-top: var(--rsp-spacing-s);
|
||||
margin-bottom: var(--rsp-spacing-xxs);
|
||||
width: 100%;
|
||||
}
|
||||
button{
|
||||
|
||||
background: var(--rsp-grey-200);
|
||||
padding: var(--rsp-spacing-xxs) var(--rsp-spacing-xs);
|
||||
border-radius: var(--rsp-border-radius-input);
|
||||
border: 1px solid var(--rsp-grey-300);
|
||||
&:hover{
|
||||
background: var(--rsp-grey-300);
|
||||
}
|
||||
&.active{
|
||||
background: var(--rsp-blue);
|
||||
color: var(--rsp-white);
|
||||
border: 1px solid var(--rsp-blue);
|
||||
&:hover{
|
||||
background: var(--rsp-blue);
|
||||
}
|
||||
}
|
||||
&.inactive{
|
||||
cursor:pointer;
|
||||
}
|
||||
|
||||
}
|
||||
&-buttons{
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: flex-start;
|
||||
align-items: center;
|
||||
gap: var(--rsp-spacing-xxs);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
.cmplz-borderradius-control {
|
||||
display:flex;
|
||||
|
||||
}
|
||||
|
||||
.cmplz-borderradius, .cmplz-borderwidth {
|
||||
&-element-label {
|
||||
color: var(--rsp-grey-400);
|
||||
font-size: 13px;
|
||||
}
|
||||
input {
|
||||
width:60px;
|
||||
}
|
||||
&-inputtype {
|
||||
&-pixel {
|
||||
margin-top:13px;
|
||||
|
||||
}
|
||||
&-percent, &-pixel {
|
||||
cursor: pointer;
|
||||
&.cmplz-inactive{
|
||||
color: var(--rsp-grey-400);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
.cmplz-single-document-menu{
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
margin:10px 0;
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
//loader icon on the left
|
||||
.cmplz-documents-loader {
|
||||
display:flex;
|
||||
padding: 0 var(--rsp-spacing-xs);
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
.cmplz-block-editor {
|
||||
min-height:300px;
|
||||
}
|
||||
@@ -0,0 +1,256 @@
|
||||
#complianz {
|
||||
.components-form-file-upload {
|
||||
button {
|
||||
color: var(--rsp-text-color-light);
|
||||
border: 1px solid var(--rsp-input-border-color);
|
||||
background: var(--rsp-grey-200);
|
||||
padding: 0 var(--rsp-spacing-xs);
|
||||
min-height: 30px;
|
||||
height: min-content;
|
||||
}
|
||||
}
|
||||
|
||||
input[type="checkbox"].indeterminate {
|
||||
background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect x="10" y="45" width="80" height="10" fill="currentColor"/></svg>') no-repeat center center;
|
||||
}
|
||||
|
||||
div[class^="cmplz-wizard-"] { // starts with selector
|
||||
.cmplz-parent-label {
|
||||
padding-bottom: var(--rsp-spacing-m);
|
||||
|
||||
label {
|
||||
font-size: var(--rsp-fs-500);
|
||||
}
|
||||
}
|
||||
|
||||
.cmplz-required {
|
||||
font-size: var(--rsp-fs-100);
|
||||
color: var(--rsp-text-color-light);
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
|
||||
//to align tooltips and premium label
|
||||
.cmplz-label-container {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
font-weight: 600;
|
||||
font-size: var(--rsp-fs-300);
|
||||
color: var(--rsp-text-color);
|
||||
|
||||
&.cmplz-parent {
|
||||
font-size: var(--rsp-fs-500);
|
||||
}
|
||||
}
|
||||
|
||||
.cmplz-create-document {
|
||||
padding: 10px 0;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
|
||||
.cmplz-icon {
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
input {
|
||||
width: 50%;
|
||||
min-width: 200px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
.components-flex {
|
||||
.components-flex-item label {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.components-input-control__container {
|
||||
max-width: max-content;
|
||||
}
|
||||
}
|
||||
|
||||
.components-base-control__field {
|
||||
margin-bottom: 0;
|
||||
display: flex;
|
||||
flex-flow: column;
|
||||
}
|
||||
|
||||
.cmplz_multicheckbox {
|
||||
.components-base-control__field {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
.cmplz-text-control {
|
||||
-webkit-box-pack: justify;
|
||||
justify-content: space-between;
|
||||
|
||||
&__field {
|
||||
display: flex;
|
||||
}
|
||||
}
|
||||
|
||||
.components-toggle-control {
|
||||
.components-base-control__field, .components-flex {
|
||||
display: flex;
|
||||
flex-direction: row-reverse;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
width: 100%;
|
||||
|
||||
.components-form-toggle {
|
||||
margin-right: 0;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.components-form-toggle.is-checked .components-form-toggle__track {
|
||||
background-color: var(--rsp-green);
|
||||
}
|
||||
|
||||
.cmplz-grid-item {
|
||||
.cmplz-grid-item-content {
|
||||
margin-block: var(--rsp-spacing-l);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--rsp-spacing-l);
|
||||
padding-inline: 0;
|
||||
//overflow: hidden; => causes cut off for last element.
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
.cmplz-field-wrap {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.cmplz-field-wrap, .cmplz-settings-block-intro {
|
||||
//adding display flex here causes settings-block-intro with html to break.
|
||||
//becuse of this the cmplz-field-wrap has this property separately (see above)
|
||||
flex-direction: column;
|
||||
gap: var(--rsp-spacing-xs);
|
||||
padding-inline: var(--rsp-spacing-l);
|
||||
//double wrapped fields, like processing agreements create
|
||||
& > .cmplz-field-wrap {
|
||||
padding-left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
// inputs in row with label
|
||||
.cmplz-field-wrap {
|
||||
&.cmplz-checkbox,
|
||||
&.cmplz-banner-reset-button,
|
||||
&.cmplz-copy-multisite,
|
||||
&.cmplz-export,
|
||||
&.cmplz-button {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
gap: var(--rsp-spacing-s);
|
||||
flex-wrap: wrap;
|
||||
.cmplz-label-container {
|
||||
width: fit-content;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.button {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
gap: var(--rsp-spacing-s);
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.cmplz-field-button, .cmplz-export, .cmplz-import {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
flex-wrap: wrap;
|
||||
|
||||
.cmplz-export-container {
|
||||
|
||||
}
|
||||
|
||||
&-form {
|
||||
display: flex;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.cmplz-field-wrap.cmplz-error {
|
||||
input,
|
||||
textarea,
|
||||
select {
|
||||
box-shadow: 0 0 0 2px var(--rsp-red-faded);
|
||||
}
|
||||
}
|
||||
|
||||
.cmplz-error-text {
|
||||
display: flex;
|
||||
gap: var(--rsp-spacing-xxs);
|
||||
|
||||
p {
|
||||
color: var(--rsp-red);
|
||||
font-size: var(--rsp-fs-200);
|
||||
font-weight: 400;
|
||||
font-style: italic;
|
||||
}
|
||||
}
|
||||
|
||||
.cmplz-highlight {
|
||||
background-color: transparent;
|
||||
border-left: 4px solid var(--rsp-green);
|
||||
-o-animation: fadeIt 3s ease-in-out;
|
||||
animation: fadeIt 3s ease-in-out;
|
||||
}
|
||||
|
||||
.cmplz-comment {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
@-o-keyframes fadeIt {
|
||||
0% {
|
||||
background-color: transparent;
|
||||
}
|
||||
30% {
|
||||
background-color: var(--rsp-green-faded);
|
||||
}
|
||||
100% {
|
||||
border-right: 0;
|
||||
background-color: inherit;
|
||||
}
|
||||
}
|
||||
@keyframes fadeIt {
|
||||
0% {
|
||||
background-color: transparent;
|
||||
border-right: 0;
|
||||
}
|
||||
30% {
|
||||
background-color: var(--rsp-green-faded);
|
||||
}
|
||||
100% {
|
||||
background-color: inherit;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//switch padding to top, to prevent tasks from getting stuck to text field
|
||||
.cmplz-license {
|
||||
.cmplz-processing {
|
||||
//give the container an opacity
|
||||
opacity: 0.3;
|
||||
}
|
||||
|
||||
.cmplz-task-element {
|
||||
padding-top: var(--rsp-spacing-s);
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
.cmplz-license-field {
|
||||
display: flex;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,147 @@
|
||||
.cmplz {
|
||||
.cmplz-wizard-menu {
|
||||
&-header{
|
||||
min-height: calc(30px + var(--rsp-spacing-s) * 2);
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: var(--rsp-spacing-xs) var(--rsp-spacing-s) 0 var(--rsp-spacing-s);
|
||||
}
|
||||
&-item {
|
||||
text-decoration: none;
|
||||
padding: var(--rsp-spacing-xs) var(--rsp-spacing-s);
|
||||
color: var(--rsp-text-color);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
border-radius: var(--rsp-border-radius-s);
|
||||
|
||||
&.cmplz-main{
|
||||
font-size: var(--rsp-fs-400);
|
||||
font-weight: 700;
|
||||
color: var(--rsp-text-color);
|
||||
&.cmplz-active{
|
||||
color: rgb(46 134 199); // @todo deze kleuren bespreken met Aert
|
||||
background-color: var(--rsp-blue-faded);
|
||||
box-shadow: var(--rsp-box-shadow);
|
||||
}
|
||||
}
|
||||
&[href]:hover{
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
.cmplz-submenu-items{
|
||||
margin: var(--rsp-spacing-xs) 0;
|
||||
.cmplz-wizard-menu-item{
|
||||
gap: var(--rsp-spacing-xs);
|
||||
padding: var(--rsp-spacing-xxs) var(--rsp-spacing-s);
|
||||
color: var(--rsp-text-color-light);
|
||||
font-size: var(--rsp-fs-300);
|
||||
line-height: var(--rsp-fs-500);
|
||||
|
||||
&.cmplz-active{
|
||||
color: rgb(46 134 199);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
// .cmplz-wizard-menu{
|
||||
// height: fit-content;
|
||||
// background-color: transparent;
|
||||
// box-shadow: inherit;
|
||||
// .cmplz-grid-item-content{
|
||||
// padding: 0;
|
||||
// padding-bottom: var(--rsp-spacing-l);
|
||||
// }
|
||||
// }
|
||||
// .cmplz-wizard-menu-items {
|
||||
// .cmplz-menu-item{
|
||||
// a{
|
||||
// display: flex;
|
||||
// align-items: center;
|
||||
// gap: var(--rsp-spacing-xs);
|
||||
// text-decoration: none;
|
||||
// color: var(--rsp-text-color);
|
||||
// font-size: var(--rsp-fs-400);
|
||||
// padding-block: var(--rsp-spacing-xs);
|
||||
// transition: all 0.2s ease-in-out;
|
||||
// padding-left: var(--rsp-spacing-l);
|
||||
// &:hover{
|
||||
// text-decoration:underline;
|
||||
// }
|
||||
// .cmplz-submenu-item{
|
||||
// a{
|
||||
// font-size: var(--rsp-fs-300);
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// &.cmplz-active {
|
||||
// > a {
|
||||
// color: var(--rsp-blue);
|
||||
// text-decoration: none;
|
||||
//
|
||||
// }
|
||||
// }
|
||||
// &.cmplz-main.cmplz-active {
|
||||
// > a {
|
||||
// background-color: var(--rsp-blue-faded);
|
||||
// }
|
||||
// }
|
||||
// &.cmplz-active{
|
||||
// > a{
|
||||
// font-weight: 600;
|
||||
// }
|
||||
// }
|
||||
// &.cmplz-featured{
|
||||
// a{
|
||||
// //padding-block: var(--rsp-spacing-m);
|
||||
// //background: var(--rsp-blue-faded);
|
||||
// font-weight: 600;
|
||||
// flex-wrap: wrap;
|
||||
// .cmplz-menu-item-featured-pill{
|
||||
// background: var(--rsp-green);
|
||||
// color: var(--rsp-text-color-white);
|
||||
// padding: 2px 9px;
|
||||
// border-radius: var(--rsp-border-radius);
|
||||
// font-size: var(--rsp-fs-100);
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
//
|
||||
//
|
||||
// &.cmplz-premium{
|
||||
// a{
|
||||
// background: var(--rsp-blue-faded);
|
||||
// flex-wrap: wrap;
|
||||
// .cmplz-menu-item-featured-pill{
|
||||
// background: var(--rsp-dark-blue);
|
||||
// color: var(--rsp-text-color-white);
|
||||
// padding: 2px 9px;
|
||||
// border-radius: var(--rsp-border-radius);
|
||||
// font-size: var(--rsp-fs-100);
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// .cmplz-premium-menu-item {
|
||||
// background: var(--rsp-blue-faded);
|
||||
// div {
|
||||
// display: flex;
|
||||
// align-items: center;
|
||||
// gap: var(--rsp-spacing-xs);
|
||||
// text-decoration: none;
|
||||
// color: var(--rsp-text-color);
|
||||
// font-size: var(--rsp-fs-400);
|
||||
// padding-block: var(--rsp-spacing-xs);
|
||||
// @include cmplz-inline-block-padding;
|
||||
// transition: all 0.2s ease-in-out;
|
||||
// border-left: 4px solid transparent;
|
||||
// }
|
||||
// }
|
||||
//
|
||||
//
|
||||
// }
|
||||
//}
|
||||
@@ -0,0 +1,77 @@
|
||||
.cmplz-wizard-help {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-content: flex-start;
|
||||
gap: var(--rsp-spacing-xs);
|
||||
details{
|
||||
font-size: var(--rsp-fs-200);
|
||||
.cmplz-help-more-info {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
margin-top: 12px;
|
||||
}
|
||||
summary {
|
||||
|
||||
display: grid;
|
||||
grid-template-columns: 1fr auto;
|
||||
justify-content: space-between;
|
||||
font-size: var(--rsp-fs-300);
|
||||
font-weight: 600;
|
||||
cursor:pointer;
|
||||
&::-webkit-details-marker {
|
||||
display:none;
|
||||
}
|
||||
&:first-of-type {
|
||||
list-style-type: none;
|
||||
}
|
||||
.cmplz-icon{
|
||||
transition: all .3s ease-in-out;
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
}
|
||||
}
|
||||
summary, p {
|
||||
font-size: var(--rsp-fs-200);
|
||||
}
|
||||
details[open]{
|
||||
padding: var(--rsp-spacing-s) var(--rsp-spacing-m);
|
||||
summary{
|
||||
padding: 0;
|
||||
padding-bottom: var(--rsp-spacing-xs);
|
||||
.cmplz-icon{
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.cmplz-wizard-help {
|
||||
.cmplz-help-header {
|
||||
width:100%;
|
||||
display:flex;
|
||||
padding:10px;
|
||||
.cmplz-help-title{
|
||||
font-size:18px;
|
||||
}
|
||||
.cmplz-help-control {
|
||||
margin-left:auto;
|
||||
cursor:pointer;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
.cmplz-wizard-help-notice {
|
||||
width: 100%;
|
||||
@include cmplz-block;
|
||||
border-radius: var(--rsp-border-radius-s);
|
||||
height: fit-content;
|
||||
background-color: var(--rsp-blue-faded);
|
||||
&.cmplz-warning {
|
||||
background-color: var(--rsp-yellow-faded);
|
||||
}
|
||||
summary, p{
|
||||
padding: var(--rsp-spacing-s) var(--rsp-spacing-m);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,161 @@
|
||||
#complianz {
|
||||
.cmplz-details-row {
|
||||
display:flex;
|
||||
flex-direction: column;
|
||||
padding:5px 0;
|
||||
&__buttons {
|
||||
flex-direction: row;
|
||||
button {
|
||||
margin: 10px 10px 10px 0;
|
||||
}
|
||||
}
|
||||
& > label {
|
||||
margin-top: var(--rsp-spacing-s);
|
||||
margin-bottom: var(--rsp-spacing-xs);
|
||||
font-weight: 500;
|
||||
}
|
||||
input[type=text] {
|
||||
flex: 1;
|
||||
}
|
||||
}
|
||||
.cmplz-panel {
|
||||
&__cookie_list {
|
||||
.cmplz-panel__list__item {
|
||||
background-color: #fff;
|
||||
margin: 10px 0;
|
||||
}
|
||||
}
|
||||
&__buttons {
|
||||
margin:10px 0;
|
||||
}
|
||||
&__list {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
flex-direction: column;
|
||||
gap: var(--rsp-spacing-s);
|
||||
margin-top: var(--rsp-spacing-s);
|
||||
|
||||
&__item {
|
||||
width: 100%;
|
||||
background-color: var(--rsp-grey-200);
|
||||
border-radius: var(--rsp-border-radius);
|
||||
|
||||
&__details{
|
||||
padding: var(--rsp-spacing-xxs) var(--rsp-spacing-s);
|
||||
}
|
||||
|
||||
details {
|
||||
border-radius: var(--rsp-border-radius);
|
||||
border: 1px solid var(--rsp-grey-300);
|
||||
|
||||
summary {
|
||||
padding: var(--rsp-spacing-xxs) var(--rsp-spacing-s);
|
||||
display: grid;
|
||||
grid-template-columns: auto 1fr auto auto auto;
|
||||
align-items: center;
|
||||
gap: var(--rsp-spacing-s);
|
||||
list-style: none;
|
||||
min-height: 40px;
|
||||
|
||||
&::-webkit-details-marker {
|
||||
display: none;
|
||||
}
|
||||
|
||||
&::marker {
|
||||
display: none;
|
||||
}
|
||||
>.cmplz-icon {
|
||||
padding-top: 5px;
|
||||
}
|
||||
|
||||
h5 {
|
||||
font-weight: 500;
|
||||
font-size: var(--rsp-fs-200);
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.components-toggle-control {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin: 0;
|
||||
.components-flex{ gap: 0 }
|
||||
}
|
||||
|
||||
.cmplz-icon-chevron-down {
|
||||
transition: all .25s ease-in-out;
|
||||
transform: rotate(0deg);
|
||||
// last in grid
|
||||
grid-column: -1;
|
||||
}
|
||||
.cmplz-panel__list__item__icons{
|
||||
position: relative;
|
||||
grid-column: -2;
|
||||
display: flex;
|
||||
gap: var(--rsp-spacing-xxs);
|
||||
.cmplz-button-icon .cmplz-tooltip-icon {
|
||||
padding-top: 5px;
|
||||
padding-left: 2px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&[open] {
|
||||
&>summary {
|
||||
//padding-bottom: var(--rsp-spacing-s);
|
||||
border-bottom: 1px solid var(--rsp-grey-300);
|
||||
|
||||
&>.cmplz-icon-chevron-down {
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.cmplz-field-wrap {
|
||||
padding-inline: 0;
|
||||
padding: 0;
|
||||
padding-top: var(--rsp-spacing-m);
|
||||
}
|
||||
|
||||
.cmplz-label {
|
||||
color: var(--rsp-text-color);
|
||||
font-size: var(--rsp-fs-400);
|
||||
font-weight: 600;
|
||||
margin-bottom: var(--rsp-spacing-xs);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.cmplz-radio-buttons__list {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: var(--rsp-spacing-s);
|
||||
|
||||
input {
|
||||
display: none;
|
||||
&[type="radio"]:checked + label {
|
||||
background: var(--rsp-green-faded);
|
||||
border: 2px solid var(--rsp-green);
|
||||
}
|
||||
}
|
||||
|
||||
&__item {
|
||||
background: var(--rsp-white);
|
||||
border: 2px solid transparent;
|
||||
padding: var(--rsp-spacing-xs);
|
||||
border-radius: var(--rsp-border-radius-input);
|
||||
display: grid;
|
||||
grid-template-columns: auto auto auto 1fr;
|
||||
gap: var(--rsp-spacing-s);
|
||||
align-items: center;
|
||||
h5{
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.3px;
|
||||
}
|
||||
p{
|
||||
font-size: var(--rsp-fs-200);
|
||||
color: var(--rsp-text-color-light);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
.cmplz-label-container{
|
||||
.cmplz-premium a{
|
||||
margin-left:10px;
|
||||
font-size: 11px;
|
||||
font-weight: 500;
|
||||
text-decoration: none;
|
||||
padding: 5px;
|
||||
background-color: #ecf4ed;
|
||||
color: #333;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
.cmplz-thirdparties, .cmplz-processors{
|
||||
.components-base-control .cmplz-label-container {
|
||||
margin-bottom:10px;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
|
||||
#complianz.cmplz {
|
||||
.components-snackbar-list.edit-site-notices{
|
||||
z-index:99999;
|
||||
width: max-content;
|
||||
position: fixed;
|
||||
bottom: var(--rsp-spacing-m);
|
||||
right: var(--rsp-spacing-l);
|
||||
& > div{
|
||||
margin-left: auto;
|
||||
}
|
||||
.components-snackbar{
|
||||
@include cmplz-block;
|
||||
color: var(--rsp-color-success);
|
||||
background-color: #fff;
|
||||
font-weight:700;
|
||||
font-size:14px;
|
||||
&__content {
|
||||
padding:10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
.cmplz-suggested-plugin,
|
||||
.cmplz-wscscan-alert {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
gap: 20px;
|
||||
background-color: #f9f9f9;
|
||||
padding: 20px;
|
||||
&-group {
|
||||
&-title {
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
}
|
||||
&-desc {
|
||||
font-size: 12px;
|
||||
white-space: nowrap;
|
||||
margin: 4px 0;
|
||||
}
|
||||
}
|
||||
&-desc-long {
|
||||
flex: 1;
|
||||
font-size: 12px;
|
||||
line-height: 1.6;
|
||||
font-weight: 400;
|
||||
min-width: 25ch;
|
||||
margin-right: auto;
|
||||
}
|
||||
&-img {
|
||||
width: 70px;
|
||||
height: 70px;
|
||||
border-radius: 5px;
|
||||
}
|
||||
button.cmplz-install-plugin {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
.cmplz-icon {
|
||||
margin-left:10px;
|
||||
margin-top:5px;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,114 @@
|
||||
#complianz{
|
||||
/*skeleton*/
|
||||
$panelheight : 38px;
|
||||
$panelborder : 1px;
|
||||
$paneloffset : 3*($panelborder+$panelheight);
|
||||
$rows : 6;
|
||||
.cmplz-skeleton:empty {
|
||||
margin: auto;
|
||||
margin-bottom: 25px;
|
||||
width: 100%;
|
||||
height: ($rows*$panelheight)+($rows+1)*$panelborder; /* change height to see repeat-y behavior */
|
||||
|
||||
background-image:
|
||||
linear-gradient( 100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5) 70%, rgba(255, 255, 255, 0.5) 15% ),
|
||||
linear-gradient( #f2f2f2 $panelheight, transparent 0 ),
|
||||
linear-gradient( #f2f2f2 $panelheight, transparent 0 ),
|
||||
linear-gradient( #f2f2f2 $panelheight, transparent 0 ),
|
||||
linear-gradient( #f2f2f2 $panelheight, transparent 0 );
|
||||
|
||||
background-repeat: repeat-y;
|
||||
|
||||
background-size:
|
||||
50px 200px, /* highlight */
|
||||
100% $paneloffset,
|
||||
100% $paneloffset,
|
||||
100% $paneloffset,
|
||||
100% $paneloffset;
|
||||
|
||||
background-position:
|
||||
0 0, /* highlight */
|
||||
$panelborder $panelborder,
|
||||
$panelborder $panelheight+(2*$panelborder),
|
||||
$panelborder (2*$panelheight)+(3*$panelborder),
|
||||
$panelborder (3*$panelheight)+(4*$panelborder);
|
||||
|
||||
background-color:#d6d8db;
|
||||
border-right: $panelborder solid #d6d8db;
|
||||
animation: shine 2.5s infinite;
|
||||
}
|
||||
@keyframes shine {
|
||||
to {
|
||||
background-position:
|
||||
100% 0, /* move highlight to right */
|
||||
$panelborder $panelborder,
|
||||
$panelborder $panelheight+(2*$panelborder),
|
||||
$panelborder (2*$panelheight)+(3*$panelborder),
|
||||
$panelborder (3*$panelheight)+(4*$panelborder);
|
||||
}
|
||||
}
|
||||
|
||||
/*loader*/
|
||||
.cmplz-loader {
|
||||
margin: 0;
|
||||
width: 50px;
|
||||
height: 15px;
|
||||
text-align: center;
|
||||
font-size: 10px;
|
||||
> div {
|
||||
margin:1px;
|
||||
background-color: #333;
|
||||
height: 100%;
|
||||
width: 3px;
|
||||
display: inline-block;
|
||||
-webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
|
||||
animation: sk-stretchdelay 1.2s infinite ease-in-out;
|
||||
}
|
||||
|
||||
&.cmplz-loader-white >div {
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.rect2 {
|
||||
-webkit-animation-delay: -1.1s;
|
||||
animation-delay: -1.1s;
|
||||
}
|
||||
|
||||
.rect3 {
|
||||
-webkit-animation-delay: -1.0s;
|
||||
animation-delay: -1.0s;
|
||||
}
|
||||
|
||||
.rect4 {
|
||||
-webkit-animation-delay: -0.9s;
|
||||
animation-delay: -0.9s;
|
||||
}
|
||||
|
||||
.rect5 {
|
||||
-webkit-animation-delay: -0.8s;
|
||||
animation-delay: -0.8s;
|
||||
}
|
||||
}
|
||||
|
||||
.button-primary .cmplz-loader div {
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@-webkit-keyframes sk-stretchdelay {
|
||||
0%, 40%, 100% { -webkit-transform: scaleY(0.4) }
|
||||
20% { -webkit-transform: scaleY(1.0) }
|
||||
}
|
||||
|
||||
@keyframes sk-stretchdelay {
|
||||
0%, 40%, 100% {
|
||||
transform: scaleY(0.4);
|
||||
-webkit-transform: scaleY(0.4);
|
||||
} 20% {
|
||||
transform: scaleY(1.0);
|
||||
-webkit-transform: scaleY(1.0);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
#complianz {
|
||||
--rsp-brand-primary: var(--rsp-dark-blue);
|
||||
--rsp-brand-secondary: var(--rsp-blue);
|
||||
--rsp-brand-primary-faded: var(--rsp-dark-blue-faded);
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
#complianz{
|
||||
// Plugin specific variables down here please
|
||||
--rsp-brand-primary: var(--rsp-dark-blue);
|
||||
--rsp-brand-secondary: var(--rsp-blue);
|
||||
--rsp-brand-primary-faded: var(--rsp-blue-faded);
|
||||
}
|
||||
//@media (prefers-color-scheme: dark) {
|
||||
// :root {
|
||||
// // Borders and stuff;
|
||||
// --rsp-border: 1px solid var(--rsp-border-color);
|
||||
// --rsp-box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
|
||||
// --rsp-box-shadow-dark: rgba(0, 0, 0, 0.2) 0px 4px 6px -1px, rgba(0, 0, 0, 0.12) 1px 0px 4px 1px;
|
||||
// --rsp-border-color: #dfdfdf;
|
||||
//
|
||||
// // RSP Brand Colors
|
||||
// --rsp-black: #333;
|
||||
// --rsp-white: #fff;
|
||||
// --rsp-yellow: #f4bf3e;
|
||||
// --rsp-blue: #009fff;
|
||||
// --rsp-dark-blue: #1E73BE;
|
||||
// --rsp-green: #2e8a37;
|
||||
// --rsp-red: #D7263D;
|
||||
// --rsp-pink: #E35899;
|
||||
// --rsp-wp-blue: #007cba;
|
||||
//
|
||||
// --rsp-yellow-faded: #f2e6c9;
|
||||
// --rsp-blue-faded: #ebf2f9;
|
||||
// --rsp-green-faded: #ecf4ed;
|
||||
// --rsp-red-faded: #fbebed;
|
||||
// --rsp-pink-faded: #fceff5;
|
||||
// --rsp-wp-blue-faded: #c6e0ef;
|
||||
//
|
||||
// --rsp-background-block-color: var(--rsp-black);
|
||||
// --rsp-background-color: var(--rsp-grey-600);
|
||||
//
|
||||
// //Input colors
|
||||
// --rsp-input-background-color: #fff;
|
||||
// --rsp-input-text-color: var(--rsp-text-color);
|
||||
// --rsp-input-border-color: var(--rsp-grey-400);
|
||||
//
|
||||
// --rsp-text-color: rgba(255, 255, 255, 0.95);
|
||||
// --rsp-text-color-invert: rgba(26, 26, 26, 0.95);
|
||||
// --rsp-text-color-white: rgba(255, 255, 255, 0.95);
|
||||
// --rsp-text-color-light: rgba(69, 69, 82, 0.95);
|
||||
//
|
||||
// --rsp-grey-100: #fafafa;
|
||||
// --rsp-grey-200: #f9f9f9;
|
||||
// --rsp-grey-300: #ededed;
|
||||
// --rsp-grey-400: #c6c6c6;
|
||||
// --rsp-grey-500: #737373;
|
||||
// --rsp-grey-600: #696969;
|
||||
//
|
||||
// // Notification colors
|
||||
// --rsp-color-success: var(--rsp-green);
|
||||
// --rsp-color-error: var(--rsp-red);
|
||||
// --rsp-color-open: var(--rsp-yellow);
|
||||
// --rsp-color-disabled: var(--rsp-grey-300);
|
||||
// }
|
||||
// .cmplz-settings-header .cmplz-header-logo{
|
||||
// filter: brightness(0) invert(1);
|
||||
// }
|
||||
//}
|
||||
Reference in New Issue
Block a user