Skip to content

Commit

Permalink
Merge pull request #8389 from Automattic/remove/container-extend
Browse files Browse the repository at this point in the history
Removes CSS %container @extends as they were only used once. Also @ex
  • Loading branch information
MichaelArestad authored Nov 14, 2016
2 parents f4c016e + ab91cec commit 00c2ba9
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 32 deletions.
31 changes: 0 additions & 31 deletions assets/stylesheets/shared/_extends.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,37 +5,6 @@
vertical-align: middle;
}

%container {
position: relative;
margin-bottom: 6%;
padding: 0 20px 12px;
background: $white;
box-shadow: 0 1px 2px rgba(0,0,0,0.075);

@include clear-fix;

ul,
ol {
font-size: 14px;
margin-bottom: 4px;
}

@include breakpoint( "<480px" ) {
margin-left: .25em;
margin-right: .25em;
}
}

%container-header {
background: $gray-light;
padding: 13px 20px 10px;
margin: 0 -20px;
min-height: 37px;
font-size: 14px;
line-height: 135%;
border-bottom: 1px solid #EBF0F2;
}

%placeholder {

.stats-module.is-loading & * {
Expand Down
16 changes: 15 additions & 1 deletion assets/stylesheets/shared/_welcome.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,26 @@
*/

.welcome-message {
@extend %container;
@include clear-fix;

box-shadow: 0 1px 2px rgba(0,0,0,0.075);
position: relative;
background: $gray-light;
margin-bottom: 6%;
padding: 16px;


ul,
ol {
font-size: 14px;
margin-bottom: 4px;
}

@include breakpoint( "<480px" ) {
margin-left: .25em;
margin-right: .25em;
}

.close-button {
position: absolute;
top: 0;
Expand Down

0 comments on commit 00c2ba9

Please sign in to comment.