Skip to content

Commit

Permalink
Merge pull request #85 from lightspeedwp/version/1.2.0
Browse files Browse the repository at this point in the history
LSX Design - Version 1.2.0
  • Loading branch information
krugazul authored Dec 14, 2023
2 parents 9d0c770 + 33e840e commit d7f0b14
Show file tree
Hide file tree
Showing 77 changed files with 2,793 additions and 606 deletions.
Binary file modified .DS_Store
Binary file not shown.
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,9 @@ node_modules
package-lock.json
vendor
wp-content
package.json
package.json
.DS_Store
templates/.DS_Store
.DS_Store
assets/.DS_Store
.DS_Store
1 change: 0 additions & 1 deletion .phpcs.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
<exclude name="Generic.WhiteSpace.DisallowSpaceIndent" />
<exclude name="Generic.Arrays.DisallowShortArraySyntax" />
<exclude name="Generic.Formatting.MultipleStatementAlignment.NotSameWarning" />
<exclude name="WordPress.PHP.DisallowShortTernary" />
<exclude name="WordPress.PHP.YodaConditions.NotYoda" />
<exclude name="WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys" />
<exclude name="WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned" />
Expand Down
Binary file modified assets/.DS_Store
Binary file not shown.
Binary file modified assets/css/.DS_Store
Binary file not shown.
370 changes: 278 additions & 92 deletions assets/css/blocks/button.css

Large diffs are not rendered by default.

8 changes: 3 additions & 5 deletions assets/css/blocks/details.css
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,8 @@
.wp-block-details>:not(summary){margin:0;
padding:12px;
background-color:#EBEBEB;
font-size:18px!important;
line-height:1.4!important;
border-bottom:1px solid #313535;
border-left:1px solid #313535;
border-right:1px solid #313535;
color:#000!important;}
.wp-block-details [open] summary p{display:block!important;}
color:#000;}
.wp-block-details[open] summary p{display:block!important;}
.wp-block-details[open]{border-bottom:1px solid #313535;}
51 changes: 15 additions & 36 deletions assets/css/blocks/heading.css
Original file line number Diff line number Diff line change
@@ -1,42 +1,21 @@
/* Sizes
--------------------------------------------- */

.wp-block-heading.is-style-underline-primary{background:var(--wp--preset--gradient--black-primary);}

.wp-block-heading.is-style-underline,
.wp-block-heading.is-style-underline-primary,
.wp-block-heading.is-style-underline-secondary-tertiary,
.wp-block-heading.is-style-underline-tertiary-primary {
border: none;
box-shadow: none;
padding: 0;
}

.wp-block-heading.is-style-underline {
background: var(--wp--preset--gradient--primary-secondary-tertiary);
.wp-block-heading.is-style-heading-1{
font-family: var(--wp--preset--font-family--primary);
font-size: var(--wp--preset--font-size--large);
font-weight: var(--wp--custom--font-weight--medium);
line-height: var(--wp--custom--line-height--heading);
}

.wp-block-heading.is-style-underline-primary-secondary {
background: var(--wp--preset--gradient--primary-secondary);
}

.wp-block-heading.is-style-underline-secondary-tertiary {
background: var(--wp--preset--gradient--secondary-tertiary);
.wp-block-heading.is-style-heading-2{
font-family: var(--wp--preset--font-family--primary);
font-size: var(--wp--preset--font-size--medium);
font-weight: var(--wp--custom--font-weight--medium);
line-height: var(--wp--custom--line-height--heading);
}

.wp-block-heading.is-style-underline-tertiary-primary {
background: var(--wp--preset--gradient--tertiary-primary);
.wp-block-heading.is-style-heading-3{
font-family: var(--wp--preset--font-family--primary);
font-size: var(--wp--preset--font-size--small);
font-weight: var(--wp--custom--font-weight--medium);
line-height: var(--wp--custom--line-height--heading);
}

.wp-block-heading.is-style-underline ,
.wp-block-heading.is-style-underline-primary ,
.wp-block-heading.is-style-underline-secondary-tertiary ,
.wp-block-heading.is-style-underline-tertiary-primary {
background-position: 0 85%;
background-repeat: repeat-x;
background-size: 100% 10px;
font-size: var(--wp--preset--font-size--max-48);
font-weight: var(--wp--custom--font-weight--medium);
line-height: var(--wp--custom--line-height--one);
display:inline;
}
23 changes: 23 additions & 0 deletions assets/css/blocks/navigation.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@

/* BLOCK LINKS */
body .wp-block-navigation a.wp-block-navigation-item__content {
line-height: var(--wp--custom--line-height--normal);
}

.wp-block-navigation .wp-block-navigation-item:hover > a.wp-block-navigation-item__content,
.wp-block-navigation .wp-block-navigation-item.current-menu-item > a.wp-block-navigation-item__content {
color: var(--wp--custom--colour--cta--500);
}

.wp-block-navigation .wp-block-navigation-item:active > a.wp-block-navigation-item__content {
color: var(--wp--custom--colour--cta--300);
}

.wp-block-navigation .wp-block-navigation-item:focus > a.wp-block-navigation-item__content {
color: var(--wp--custom--colour--cta--600);
text-decoration-line: underline;
}

body .wp-block-navigation a.wp-block-navigation-item__content:active {
text-decoration-line: underline;
}
24 changes: 18 additions & 6 deletions assets/css/blocks/paragraph.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,21 @@ p.is-style-content-box{padding:20px; border:1px solid;border-color: currentColo

p.is-style-dark-content-box{padding:20px; border:1px solid;border-color: currentColor;background-color: var(--wp--preset--color--contrast)!important;color:var(--wp--preset--color--base)!important;}

p.is-style-failure-content-box{padding:20px; border:1px solid; border-color: var(--wp--preset--color--cta)!important;color:var(--wp--preset--color--cta)!important; background-color: #FAFAFA!important;}

p.is-style-warning-content-box{padding:20px; border:1px solid; border-color: var(--wp--preset--color--primary)!important;background-color: #FAFAFA!important;color:var(--wp--preset--color--primary)!important;}

p.is-style-success-content-box{padding:20px; border:1px solid; border-color: var(--wp--preset--color--tertiary)!important;background-color: #FAFAFA!important;color:var(--wp--preset--color--tertiary)!important;}

p.is-style-subheading-1{
font-family: var(--wp--preset--font-family--primary);
font-size: var(--wp--preset--font-size--large);
font-weight: var(--wp--custom--font-weight--medium);
line-height: 1.5;
}
p.is-style-subheading-2{
font-family: var(--wp--preset--font-family--primary);
font-size: var(--wp--preset--font-size--medium);
font-weight: var(--wp--custom--font-weight--medium);
line-height: 1.5;
}
p.is-style-subheading-3{
font-family: var(--wp--preset--font-family--primary);
font-size: var(--wp--preset--font-size--small);
font-weight: var(--wp--custom--font-weight--medium);
line-height: 1.5;
}
12 changes: 6 additions & 6 deletions assets/css/blocks/search.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@
.wp-block-search.is-style-header .wp-block-search__inside-wrapper input, .wp-block-search.is-style-header .wp-block-search__inside-wrapper input {
display: none !important;
}
.wp-block-search.is-style-header .wp-block-search__inside-wrapper:hover input, .wp-block-search.is-style-header .wp-block-search__inside-wrapper:focus input, .site-header .wp-block-search .wp-block-search__inside-wrapper:hover input, .site-header .wp-block-search .wp-block-search__inside-wrapper:focus input {
display: block!important;
header .wp-block-search__button-behavior-expand .wp-block-search__input {
position: absolute;
width: 300px;
margin-left: -300px;
Expand All @@ -30,16 +29,17 @@
height: 44px;
}

.wp-block-search__inside-wrapper{
border: 0px solid #949494!important;
padding: 0px!important;
}


@media (max-width:960px) {
/* Navigation Link --------------------------------------------- */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container{
padding:10px 0 0 15px;
}
header .wp-block-search__button-behavior-expand .wp-block-search__input {
width: 228px!important;
margin-left: -224px!important;
}
.wp-block-buttons>.wp-block-button.wp-block-button__width-50, .wp-block-buttons>.wp-block-button.wp-block-button__width-25{width:100%;}
.wp-block-navigation__responsive-container-content .wp-block-search{
border:0;
Expand Down
Loading

0 comments on commit d7f0b14

Please sign in to comment.