Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added assets/images/form-example-connect.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
132 changes: 107 additions & 25 deletions assets/sass/_admin-connect.scss
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
text-align: left;
}

&::before{
&.connected::before {
width: 46px;
height: 46px;
position: absolute;
Expand Down Expand Up @@ -205,14 +205,117 @@
}
}
}
.ctct-connection-notice {
color: variables.$color-red;

.ctct-connection-notice {
color: variables.$color-red;
}
}

.ctct-wrap {
margin: 35px auto 0;
padding: 35px 45px 0;

// Connection Details
max-width: 850px;
background-color: variables.$color-connect-background;
border-radius: 12px;
border: solid variables.$color-connect-border 1px;
box-shadow: 0 0 2px variables.$color-connect-text;

.not-connected {
box-sizing: border-box;

* {
box-sizing: border-box;
}

a {
color: variables.$color-connect-button-primary;
}


color: variables.$color-connect-text;
display: flex;
flex-direction: column;
justify-content: space-between;
gap: 20px;


@include mixins.wider-than('small') {
flex-direction: row;
}

h2 {
color: variables.$color-connect-text;
font-size: 1.8rem;
line-height: 1.5;
margin-top: 0;
}

.ctct-logo {
background: transparent url('../images/ctct_ripple.svg') no-repeat;
background-size: 75%;
height: 50px;
width: 50px;
}
.ctct-cta-left,
.ctct-cta-right {
flex: 2 1;

.button.ctct-button {
border-radius: 8px;
color: variables.$color-connect-button-secondary;
font-size: 16px;
height: auto;
line-height: 1;
padding: 14px 30px;
transition: all 0.15s ease;

&.button-blue {
background-color: variables.$color-connect-button-primary;
border: 1px solid color.adjust(variables.$color-connect-button-primary, $lightness: -10%);
color: variables.$color-white;

&:hover,
&:focus {
color: variables.$color-white;
background-color: color.adjust(variables.$color-connect-button-primary, $lightness: 10%);
}
}
&.ctct-signup {
background: transparent;
border-color: variables.$color-connect-button-secondary;
color: variables.$color-connect-button-secondary;
}
}
}

.ctct-cta-left {
flex: 2;
.cta-buttons {
display: flex;
gap: 10px;
flex-direction: column;
text-align: center;
@include mixins.wider-than('small') {
flex-direction: row;
}
@include mixins.wider-than('small') {
text-align: left;
}
}
}

.ctct-cta-right {
flex: 1;
}
}

.ctct-connection-notice {
color: variables.$color-red;
}
}

// Connection Details
.ctct-connected-wrap{

.ctct-connection-details{
Expand Down Expand Up @@ -287,27 +390,6 @@
}
}


// Connect to GA

.ctct-connected-opt-in{
display: none;
width: 100%;
text-align: left;

.ctct-connect-ga-optin{
display: flex;
flex-wrap: nowrap;
padding: 15px 0 0;

.button{
text-align: center;
margin: 0 10px 0 0;
width: auto;
}
}
}

.ctct-error {
background: none !important;
border: 1px solid variables.$color-red;
Expand Down
7 changes: 7 additions & 0 deletions assets/sass/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,13 @@ $color-modal-text: #555;
$color-light-silver: #747e88;
$color-med-gray: #999;

// connect page
$color-connect-border: #DCE2EC;
$color-connect-background: #f7f9fd;
$color-connect-text: #3F4B63;
$color-connect-button-primary: #186DED;
$color-connect-button-secondary: #8D9BB6;

// box model
$padding: 1em;
$radius: 4px;
Expand Down
Loading