Skip to content

Commit

Permalink
Merge pull request #1634 from Automattic/fix/varia-issue-1602
Browse files Browse the repository at this point in the history
Varia: Allow separator block color options
  • Loading branch information
allancole authored Oct 31, 2019
2 parents 0e00e3c + 28c7aa8 commit db67ce1
Show file tree
Hide file tree
Showing 58 changed files with 553 additions and 36 deletions.
12 changes: 12 additions & 0 deletions alves/style-editor.css
Original file line number Diff line number Diff line change
Expand Up @@ -702,6 +702,18 @@ hr.is-style-dots {
border-bottom: none;
}

.wp-block-separator.is-style-dots.has-background, .wp-block-separator.is-style-dots.has-text-color,
hr.is-style-dots.has-background,
hr.is-style-dots.has-text-color {
background-color: transparent !important;
}

.wp-block-separator.is-style-dots.has-background:before, .wp-block-separator.is-style-dots.has-text-color:before,
hr.is-style-dots.has-background:before,
hr.is-style-dots.has-text-color:before {
color: currentColor !important;
}

.wp-block-separator.is-style-dots:before,
hr.is-style-dots:before {
color: #3E7D98;
Expand Down
8 changes: 8 additions & 0 deletions alves/style-rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -1981,6 +1981,14 @@ hr.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
max-width: 96px;
}

hr.wp-block-separator.is-style-dots.has-background, hr.wp-block-separator.is-style-dots.has-text-color {
background-color: transparent !important;
}

hr.wp-block-separator.is-style-dots.has-background:before, hr.wp-block-separator.is-style-dots.has-text-color:before {
color: currentColor !important;
}

hr.wp-block-separator.is-style-dots:before {
color: #3E7D98;
font-size: 2.16rem;
Expand Down
8 changes: 8 additions & 0 deletions alves/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1981,6 +1981,14 @@ hr.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
max-width: 96px;
}

hr.wp-block-separator.is-style-dots.has-background, hr.wp-block-separator.is-style-dots.has-text-color {
background-color: transparent !important;
}

hr.wp-block-separator.is-style-dots.has-background:before, hr.wp-block-separator.is-style-dots.has-text-color:before {
color: currentColor !important;
}

hr.wp-block-separator.is-style-dots:before {
color: #3E7D98;
font-size: 2.16rem;
Expand Down
12 changes: 12 additions & 0 deletions balasana/style-editor.css
Original file line number Diff line number Diff line change
Expand Up @@ -702,6 +702,18 @@ hr.is-style-dots {
border-bottom: none;
}

.wp-block-separator.is-style-dots.has-background, .wp-block-separator.is-style-dots.has-text-color,
hr.is-style-dots.has-background,
hr.is-style-dots.has-text-color {
background-color: transparent !important;
}

.wp-block-separator.is-style-dots.has-background:before, .wp-block-separator.is-style-dots.has-text-color:before,
hr.is-style-dots.has-background:before,
hr.is-style-dots.has-text-color:before {
color: currentColor !important;
}

.wp-block-separator.is-style-dots:before,
hr.is-style-dots:before {
color: #D0D0D0;
Expand Down
8 changes: 8 additions & 0 deletions balasana/style-rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -1981,6 +1981,14 @@ hr.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
max-width: 96px;
}

hr.wp-block-separator.is-style-dots.has-background, hr.wp-block-separator.is-style-dots.has-text-color {
background-color: transparent !important;
}

hr.wp-block-separator.is-style-dots.has-background:before, hr.wp-block-separator.is-style-dots.has-text-color:before {
color: currentColor !important;
}

hr.wp-block-separator.is-style-dots:before {
color: #D0D0D0;
font-size: 1.728rem;
Expand Down
8 changes: 8 additions & 0 deletions balasana/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1981,6 +1981,14 @@ hr.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
max-width: 96px;
}

hr.wp-block-separator.is-style-dots.has-background, hr.wp-block-separator.is-style-dots.has-text-color {
background-color: transparent !important;
}

hr.wp-block-separator.is-style-dots.has-background:before, hr.wp-block-separator.is-style-dots.has-text-color:before {
color: currentColor !important;
}

hr.wp-block-separator.is-style-dots:before {
color: #D0D0D0;
font-size: 1.728rem;
Expand Down
12 changes: 12 additions & 0 deletions barnsbury/style-editor.css
Original file line number Diff line number Diff line change
Expand Up @@ -702,6 +702,18 @@ hr.is-style-dots {
border-bottom: none;
}

.wp-block-separator.is-style-dots.has-background, .wp-block-separator.is-style-dots.has-text-color,
hr.is-style-dots.has-background,
hr.is-style-dots.has-text-color {
background-color: transparent !important;
}

.wp-block-separator.is-style-dots.has-background:before, .wp-block-separator.is-style-dots.has-text-color:before,
hr.is-style-dots.has-background:before,
hr.is-style-dots.has-text-color:before {
color: currentColor !important;
}

.wp-block-separator.is-style-dots:before,
hr.is-style-dots:before {
color: #3C2323;
Expand Down
8 changes: 8 additions & 0 deletions barnsbury/style-rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -1981,6 +1981,14 @@ hr.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
max-width: 96px;
}

hr.wp-block-separator.is-style-dots.has-background, hr.wp-block-separator.is-style-dots.has-text-color {
background-color: transparent !important;
}

hr.wp-block-separator.is-style-dots.has-background:before, hr.wp-block-separator.is-style-dots.has-text-color:before {
color: currentColor !important;
}

hr.wp-block-separator.is-style-dots:before {
color: #3C2323;
font-size: 1.64303rem;
Expand Down
8 changes: 8 additions & 0 deletions barnsbury/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1981,6 +1981,14 @@ hr.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
max-width: 96px;
}

hr.wp-block-separator.is-style-dots.has-background, hr.wp-block-separator.is-style-dots.has-text-color {
background-color: transparent !important;
}

hr.wp-block-separator.is-style-dots.has-background:before, hr.wp-block-separator.is-style-dots.has-text-color:before {
color: currentColor !important;
}

hr.wp-block-separator.is-style-dots:before {
color: #3C2323;
font-size: 1.64303rem;
Expand Down
12 changes: 12 additions & 0 deletions brompton/style-editor.css
Original file line number Diff line number Diff line change
Expand Up @@ -702,6 +702,18 @@ hr.is-style-dots {
border-bottom: none;
}

.wp-block-separator.is-style-dots.has-background, .wp-block-separator.is-style-dots.has-text-color,
hr.is-style-dots.has-background,
hr.is-style-dots.has-text-color {
background-color: transparent !important;
}

.wp-block-separator.is-style-dots.has-background:before, .wp-block-separator.is-style-dots.has-text-color:before,
hr.is-style-dots.has-background:before,
hr.is-style-dots.has-text-color:before {
color: currentColor !important;
}

.wp-block-separator.is-style-dots:before,
hr.is-style-dots:before {
color: #B9B6B2;
Expand Down
8 changes: 8 additions & 0 deletions brompton/style-rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -1981,6 +1981,14 @@ hr.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
max-width: 96px;
}

hr.wp-block-separator.is-style-dots.has-background, hr.wp-block-separator.is-style-dots.has-text-color {
background-color: transparent !important;
}

hr.wp-block-separator.is-style-dots.has-background:before, hr.wp-block-separator.is-style-dots.has-text-color:before {
color: currentColor !important;
}

hr.wp-block-separator.is-style-dots:before {
color: #B9B6B2;
font-size: 1.728rem;
Expand Down
8 changes: 8 additions & 0 deletions brompton/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1981,6 +1981,14 @@ hr.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
max-width: 96px;
}

hr.wp-block-separator.is-style-dots.has-background, hr.wp-block-separator.is-style-dots.has-text-color {
background-color: transparent !important;
}

hr.wp-block-separator.is-style-dots.has-background:before, hr.wp-block-separator.is-style-dots.has-text-color:before {
color: currentColor !important;
}

hr.wp-block-separator.is-style-dots:before {
color: #B9B6B2;
font-size: 1.728rem;
Expand Down
12 changes: 12 additions & 0 deletions coutoire/style-editor.css
Original file line number Diff line number Diff line change
Expand Up @@ -701,6 +701,18 @@ hr.is-style-dots {
border-bottom: none;
}

.wp-block-separator.is-style-dots.has-background, .wp-block-separator.is-style-dots.has-text-color,
hr.is-style-dots.has-background,
hr.is-style-dots.has-text-color {
background-color: transparent !important;
}

.wp-block-separator.is-style-dots.has-background:before, .wp-block-separator.is-style-dots.has-text-color:before,
hr.is-style-dots.has-background:before,
hr.is-style-dots.has-text-color:before {
color: currentColor !important;
}

.wp-block-separator.is-style-dots:before,
hr.is-style-dots:before {
color: #DDDDDD;
Expand Down
8 changes: 8 additions & 0 deletions coutoire/style-rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -1980,6 +1980,14 @@ hr.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
max-width: 96px;
}

hr.wp-block-separator.is-style-dots.has-background, hr.wp-block-separator.is-style-dots.has-text-color {
background-color: transparent !important;
}

hr.wp-block-separator.is-style-dots.has-background:before, hr.wp-block-separator.is-style-dots.has-text-color:before {
color: currentColor !important;
}

hr.wp-block-separator.is-style-dots:before {
color: #DDDDDD;
font-size: 1.728rem;
Expand Down
8 changes: 8 additions & 0 deletions coutoire/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1980,6 +1980,14 @@ hr.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
max-width: 96px;
}

hr.wp-block-separator.is-style-dots.has-background, hr.wp-block-separator.is-style-dots.has-text-color {
background-color: transparent !important;
}

hr.wp-block-separator.is-style-dots.has-background:before, hr.wp-block-separator.is-style-dots.has-text-color:before {
color: currentColor !important;
}

hr.wp-block-separator.is-style-dots:before {
color: #DDDDDD;
font-size: 1.728rem;
Expand Down
55 changes: 19 additions & 36 deletions dalston/package-lock.json

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

12 changes: 12 additions & 0 deletions dalston/style-editor.css
Original file line number Diff line number Diff line change
Expand Up @@ -702,6 +702,18 @@ hr.is-style-dots {
border-bottom: none;
}

.wp-block-separator.is-style-dots.has-background, .wp-block-separator.is-style-dots.has-text-color,
hr.is-style-dots.has-background,
hr.is-style-dots.has-text-color {
background-color: transparent !important;
}

.wp-block-separator.is-style-dots.has-background:before, .wp-block-separator.is-style-dots.has-text-color:before,
hr.is-style-dots.has-background:before,
hr.is-style-dots.has-text-color:before {
color: currentColor !important;
}

.wp-block-separator.is-style-dots:before,
hr.is-style-dots:before {
color: #CCCCCC;
Expand Down
8 changes: 8 additions & 0 deletions dalston/style-rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -1981,6 +1981,14 @@ hr.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
max-width: 96px;
}

hr.wp-block-separator.is-style-dots.has-background, hr.wp-block-separator.is-style-dots.has-text-color {
background-color: transparent !important;
}

hr.wp-block-separator.is-style-dots.has-background:before, hr.wp-block-separator.is-style-dots.has-text-color:before {
color: currentColor !important;
}

hr.wp-block-separator.is-style-dots:before {
color: #CCCCCC;
font-size: 1.52087rem;
Expand Down
8 changes: 8 additions & 0 deletions dalston/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1981,6 +1981,14 @@ hr.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
max-width: 96px;
}

hr.wp-block-separator.is-style-dots.has-background, hr.wp-block-separator.is-style-dots.has-text-color {
background-color: transparent !important;
}

hr.wp-block-separator.is-style-dots.has-background:before, hr.wp-block-separator.is-style-dots.has-text-color:before {
color: currentColor !important;
}

hr.wp-block-separator.is-style-dots:before {
color: #CCCCCC;
font-size: 1.52087rem;
Expand Down
Loading

0 comments on commit db67ce1

Please sign in to comment.