Skip to content

Commit

Permalink
Fixes for Style Manager and Keyboard Navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
madalingorbanescu committed Sep 2, 2019
1 parent 93fb863 commit 670a09a
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 27 deletions.
15 changes: 8 additions & 7 deletions assets/scss/components/_card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,19 @@
.card__shadow:after {
transform: none;
}
}

.card__hover {
.card-title-wrap {
// transform: translate(0, calc(-50% - 12px));
transform: translate(0, calc(-50% - 12px));
}

.card__meta {
// opacity: 1;
// margin-top: 0 !important;
.card--text & .card__meta {
transform: translateY(-20%);
}

.card--text & .card__meta {
// transform: translateY(-20%);
.card__meta {
margin-top: 0 !important;
}
}

Expand All @@ -30,7 +31,7 @@
}

.card__meta {
opacity: 0;
opacity: 1;
transition: all $transitionDuration $easeInOutCirc;
}

Expand Down
4 changes: 0 additions & 4 deletions assets/scss/generic/_reset.scss
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,6 @@ button {
padding: 0;
border: 0;
}
// remember to set :focus styles
:focus {
@extend %outline--0;
}

// make images fit their container
img {
Expand Down
1 change: 0 additions & 1 deletion assets/scss/pages/_single.scss
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,6 @@
}

.post-edit-link {
color: black;
text-transform: uppercase;
}

Expand Down
3 changes: 0 additions & 3 deletions editor-style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 1 addition & 7 deletions inc/integrations/customify.php
Original file line number Diff line number Diff line change
Expand Up @@ -240,11 +240,6 @@ function gema_lite_fill_customify_options( $options ) {
select,
textarea',
),
array(
'property' => 'box-shadow',
'selector' => '.sticky .card__title',
'callback_filter' => 'gema_sticky_boxshadow'
),
),
),
)
Expand Down Expand Up @@ -520,8 +515,7 @@ function gema_lite_fill_customify_options( $options ) {
div#infinite-handle span button,
div#infinite-handle span button:hover,
.more-link,
.comment__content a,
.nav-menu ul li.hover > a,
.comment__content a,
.nav-menu ul li.hover:after,
div#subscribe-text p,
.jetpack_subscription_widget .widget__title,
Expand Down
14 changes: 9 additions & 5 deletions style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 670a09a

Please sign in to comment.