Skip to content

Commit

Permalink
Merge pull request #7668 from shawnthompson/overlay-bars-background
Browse files Browse the repository at this point in the history
remove the styles for the top and bottom overlays bars from the core WET CSS
  • Loading branch information
shawnthompson committed Sep 21, 2016
2 parents f5f33e0 + f262c57 commit 9294d81
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 8 deletions.
14 changes: 14 additions & 0 deletions src/plugins/data-inview/demo/data-inview.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,18 @@
padding: 15px;
}

.wb-overlay {
background-color: #fff;
}

.overlay-def {

header {
background-color: #000;
color: #fff;
}
}

.bar-demo {
border: 1px solid #ddd;
border-radius: 4px;
Expand All @@ -30,6 +42,8 @@

.wb-bar-t,
.wb-bar-b {
background-color: #000;

header {
@extend %data-inview-bar-demo-inline-block;
}
Expand Down
8 changes: 0 additions & 8 deletions src/plugins/overlay/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
*/
.wb-overlay {
background-clip: border-box;
background-color: #fff;
border: 0;
border-radius: 0;
display: none;
Expand Down Expand Up @@ -95,8 +94,6 @@
overflow-y: auto;

header {
background-color: #000;
color: #fff;
display: block;
padding: 0 44px 0 1em;
}
Expand All @@ -106,11 +103,6 @@
padding: 10px 0;
}

&.wb-bar-t,
&.wb-bar-b {
background-color: #000;
}

.mfp-close {
color: #fff;
}
Expand Down
13 changes: 13 additions & 0 deletions src/plugins/overlay/demo/overlay.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,17 @@
display: inline-block;
}

.wb-overlay {
background-color: #fff;
}

.overlay-def {

header {
background-color: #000;
color: #fff;
}
}

.wb-panel-l,
.wb-panel-r {
Expand All @@ -18,6 +29,8 @@

.wb-bar-t,
.wb-bar-b {
background-color: #000;

header {
@extend %overlay-demo-inline-block;
}
Expand Down

0 comments on commit 9294d81

Please sign in to comment.