-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: compact docs and promo sections in customizer
- Loading branch information
Showing
2 changed files
with
62 additions
and
44 deletions.
There are no files selected for viewing
43 changes: 25 additions & 18 deletions
43
assets/apps/customizer-controls/src/scss/_documentation.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} | ||
} | ||
} |