Commit 0c79b7c5 authored by Sarah Kirby's avatar Sarah Kirby Committed by Robert Lyon
Browse files

Bug 1756736: Fix primary button colour on TinyMCE link

behatnotneeded

Change-Id: I014cebd26652f521d46ae6a918eb4ab7f6cfa4a4
parent 48149058
This diff is collapsed.
......@@ -20,4 +20,42 @@
}
}
}
}
\ No newline at end of file
}
// Tinymce primary button
.mce-container,
.mce-widget,
.mce-reset {
.mce-primary {
background-color: $btn-primary-bg;
border-color: $btn-primary-border;
font-family: $font-family-sans-serif;
&:hover {
background-color: darken($btn-primary-bg, 5%);
}
.mce-txt {
color: $btn-primary-color;
}
}
// Vertically center Raleway font
.mce-abs-layout-item button .mce-txt {
vertical-align: baseline;
}
}
.modal-tinymce {
.pieform {
button.btn-default {
background-color: $btn-primary-bg;
border-color: $btn-primary-border;
font-family: $font-family-sans-serif;
color: $btn-primary-color;
&:hover {
background-color: darken($btn-primary-bg, 5%);
}
}
}
}
// Tinymce primary button
.mce-container,
.mce-widget,
.mce-reset {
.mce-primary {
background-color: $brand-primary;
border-color: $btn-primary-border;
font-family: $font-family-sans-serif;
&:hover {
background-color: darken($brand-primary, 10%);
}
.mce-txt {
color: $btn-primary-color;
}
}
}
.modal-tinymce {
.pieform {
button.btn-default {
background-color: $brand-primary;
border-color: $btn-primary-border;
font-family: $font-family-sans-serif;
color: $btn-primary-color;
&:hover {
background-color: darken($brand-primary, 10%);
}
}
}
}
\ No newline at end of file
......@@ -6,3 +6,4 @@
@import "../features/dashboard-widget"; // Custom dashboard
@import "../features/collection-navigation"; // Custom collection navigation
@import "../components/arrow-bar";
@import "../components/btn";
......@@ -55,7 +55,7 @@
// makes certain buttons primary colour
.col-collapse-offset.col-with-collapse .btn {
.col-collapse-offset.col-with-collapse .btn {
color: #fff;
background-color: $brand-primary;
border-color: darken($btn-primary-bg, 5%);
......@@ -90,7 +90,7 @@
&:hover {
background-color: lighten($brand-primary, 5%);
color: #fff;
}
}
}
.panel-secondary .blockinstance-controls .btn-group-top .btn {
......@@ -101,4 +101,38 @@
&:hover {
background-color: #ccc;
}
}
\ No newline at end of file
}
// Tinymce primary button
.mce-container,
.mce-widget,
.mce-reset {
.mce-primary {
background-color: $btn-primary-bg;
border-color: $btn-primary-border;
font-family: $font-family-sans-serif;
&:hover {
background-color: lighten($btn-primary-bg, 5%);
}
.mce-txt {
color: $btn-primary-color;
}
}
}
.modal-tinymce {
.pieform {
button.btn-default {
background-color: $btn-primary-bg;
border-color: $btn-primary-border;
font-family: $font-family-sans-serif;
color: $btn-primary-color;
&:hover {
background-color: lighten($btn-primary-bg, 5%);
}
}
}
}
......@@ -385,4 +385,38 @@ td.action-list-copy {
.reportsettings .btn.filter {
line-height: 1;
padding: 1px 4px;
}
\ No newline at end of file
}
// Tinymce primary button
.mce-container,
.mce-widget,
.mce-reset {
.mce-primary {
background-color: $btn-primary-bg;
border-color: $btn-primary-border;
font-family: $font-family-sans-serif;
&:hover {
background-color: darken($btn-primary-bg, 10%);
}
.mce-txt {
color: $btn-primary-color;
}
}
}
.modal-tinymce {
.pieform {
button.btn-default {
background-color: $btn-primary-bg;
border-color: $btn-primary-border;
font-family: $font-family-sans-serif;
color: $btn-primary-color;
&:hover {
background-color: darken($btn-primary-bg, 10%);
}
}
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment