This commit is contained in:
Jeremy Thomas 2017-09-18 23:02:43 +01:00
parent eacb9f115a
commit f89cca4c50
5 changed files with 25 additions and 30 deletions

View File

@ -4,6 +4,7 @@
### Issues closed ### Issues closed
* #1177 Fix `.message .tag` combination
* #1167 Fix `pre code` * #1167 Fix `pre code`
* #1207 Fix `.breadcrumb` alignment * #1207 Fix `.breadcrumb` alignment

View File

@ -5504,6 +5504,15 @@ a.dropdown-item.is-active {
margin-bottom: 1.5rem; margin-bottom: 1.5rem;
} }
.message strong {
color: currentColor;
}
.message a:not(.button):not(.tag) {
color: currentColor;
text-decoration: underline;
}
.message.is-small { .message.is-small {
font-size: 0.75rem; font-size: 0.75rem;
} }
@ -5660,15 +5669,6 @@ a.dropdown-item.is-active {
position: relative; position: relative;
} }
.message-header a:not(.button),
.message-header strong {
color: currentColor;
}
.message-header a:not(.button) {
text-decoration: underline;
}
.message-header .delete { .message-header .delete {
-webkit-box-flex: 0; -webkit-box-flex: 0;
-ms-flex-positive: 0; -ms-flex-positive: 0;
@ -5691,15 +5691,6 @@ a.dropdown-item.is-active {
padding: 1em 1.25em; padding: 1em 1.25em;
} }
.message-body a:not(.button),
.message-body strong {
color: currentColor;
}
.message-body a:not(.button) {
text-decoration: underline;
}
.message-body code, .message-body code,
.message-body pre { .message-body pre {
background-color: white; background-color: white;

File diff suppressed because one or more lines are too long

View File

@ -56,7 +56,15 @@ variables:
<p>Primary</p> <p>Primary</p>
<button class="delete" aria-label="delete"></button> <button class="delete" aria-label="delete"></button>
</div> </div>
<div class="message-body"> <div class="message-body"><span class="tag is-black">Black</span>
<a class="tag is-dark">Dark</a>
<a class="tag is-light">Light</a>
<a class="tag is-white">White</a>
<a class="tag is-primary">Primary</a>
<a class="tag is-info">Info</a>
<a class="tag is-success">Success</a>
<a class="tag is-warning">Warning</a>
<a class="tag is-danger">Danger</a>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. <strong>Pellentesque risus mi</strong>, tempus quis placerat ut, porta nec nulla. Vestibulum rhoncus ac ex sit amet fringilla. Nullam gravida purus diam, et dictum <a>felis venenatis</a> efficitur. Aenean ac <em>eleifend lacus</em>, in mollis lectus. Donec sodales, arcu et sollicitudin porttitor, tortor urna tempor ligula, id porttitor mi magna a neque. Donec dui urna, vehicula et sem eget, facilisis sodales sem. Lorem ipsum dolor sit amet, consectetur adipiscing elit. <strong>Pellentesque risus mi</strong>, tempus quis placerat ut, porta nec nulla. Vestibulum rhoncus ac ex sit amet fringilla. Nullam gravida purus diam, et dictum <a>felis venenatis</a> efficitur. Aenean ac <em>eleifend lacus</em>, in mollis lectus. Donec sodales, arcu et sollicitudin porttitor, tortor urna tempor ligula, id porttitor mi magna a neque. Donec dui urna, vehicula et sem eget, facilisis sodales sem.
</div> </div>
</article> </article>

View File

@ -19,6 +19,11 @@ $message-body-pre-code-background-color: transparent !default
background-color: $message-background-color background-color: $message-background-color
border-radius: $message-radius border-radius: $message-radius
font-size: $size-normal font-size: $size-normal
strong
color: currentColor
a:not(.button):not(.tag)
color: currentColor
text-decoration: underline
// Sizes // Sizes
&.is-small &.is-small
font-size: $size-small font-size: $size-small
@ -53,11 +58,6 @@ $message-body-pre-code-background-color: transparent !default
line-height: 1.25 line-height: 1.25
padding: $message-header-padding padding: $message-header-padding
position: relative position: relative
a:not(.button),
strong
color: currentColor
a:not(.button)
text-decoration: underline
.delete .delete
flex-grow: 0 flex-grow: 0
flex-shrink: 0 flex-shrink: 0
@ -72,11 +72,6 @@ $message-body-pre-code-background-color: transparent !default
border-radius: $message-body-radius border-radius: $message-body-radius
color: $message-body-color color: $message-body-color
padding: $message-body-padding padding: $message-body-padding
a:not(.button),
strong
color: currentColor
a:not(.button)
text-decoration: underline
code, code,
pre pre
background-color: $message-body-pre-background-color background-color: $message-body-pre-background-color