Skip to content

Commit

Permalink
chore: compact docs and promo sections in customizer
Browse files Browse the repository at this point in the history
  • Loading branch information
abaicus committed Jan 31, 2025
1 parent 458ccde commit 5ede057
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 44 deletions.
43 changes: 25 additions & 18 deletions assets/apps/customizer-controls/src/scss/_documentation.scss
Original file line number Diff line number Diff line change
@@ -1,25 +1,32 @@
.control-section.neve-documentation {
display: block !important;
margin-bottom: 0;
margin-top: -1px;
.documentation-inner {
display: flex;
}
.neve-customizer-heading {
padding: 7px 10px 7px 14px;
display: flex;
flex-grow: 1;
margin: auto;
letter-spacing: initial;
font-size: 14px;
font-weight: 600;
display: block !important;
margin-bottom: 0;
margin-top: -1px;

&:hover, &:focus-within {
cursor: default;
.documentation-inner {
display: flex;
}
.neve-customizer-heading {
padding: 5px 15px 5px 18px;
display: flex;
flex-grow: 1;
margin: auto;
align-items: center;
justify-content: space-between;
letter-spacing: initial;
font-size: 14px;
font-weight: 600;
gap: 10px;
height: unset;

&:hover,
&:focus-within {
cursor: default;
}
}

.components-button {
margin-left: auto;
height: auto;
padding: 9px 15px;
}
}
}
63 changes: 37 additions & 26 deletions assets/apps/customizer-controls/src/scss/_upsell.scss
Original file line number Diff line number Diff line change
@@ -1,36 +1,47 @@
$upsell_blue: #0065A6 !default;
$upsell_blue: #0065a6 !default;

.control-section.neve-upsell {
margin-bottom: 0;
.upsell-inner {
display: flex;
border-top: none !important;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;

&:hover {
border-left-color: $upsell_blue;
}

margin-bottom: 0;
.upsell-inner {
display: flex;
}
.neve-customizer-heading {
color: $upsell_blue;
padding: 7px 10px 7px 14px;
display: flex;
flex-grow: 1;
margin: auto;
letter-spacing: initial;
font-size: 14px;
font-weight: 600;
color: $upsell_blue;
padding: 5px 15px 5px 18px;
display: flex;
flex-grow: 1;
margin: auto;
letter-spacing: initial;
font-size: 14px;
align-items: center;
gap: 10px;
justify-content: space-between;
height: auto;

&:hover, &:focus-within {
background-color: $upsell_blue;
color: #fff;
cursor: default;
&:hover,
&:focus-within {
background-color: $upsell_blue;
color: #fff;
cursor: default;

.components-button {
background: #fff;
color: $upsell_blue;
.components-button {
background: #fff;
color: $upsell_blue;
}
}
}

.components-button {
margin-left: auto;
font-weight: 600;
font-size: 14px;
background: $upsell_blue;
}
.components-button {
background: $upsell_blue;
height: auto;
padding: 9px 15px;
}
}
}

0 comments on commit 5ede057

Please sign in to comment.