Hello,

I've modified my styleSheet $:/plugins/kookma/shiraz/styles/ bs/alerts

*Part of the CSS style:*

/*Was taken from bootstrap 4.1.3*/
.alert {
  position: relative;
  padding: 0.75rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 0.25rem;
}

/*BLUE (PRIMARY)*/
[data-tags*="(A)"] .alert- {
  color: #004085;
  background-color: #cce5ff;
  border-color: #b8daff;
}

.alert- hr {
  border-top-color: #9fcdff;
}

/*GREEN (SUCCESS)*/
[data-tags*="(B)"] .alert- {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}



Works fine, but if I {{Transclude}} or {{||Transclude}} tiddler (B) in 
Tiddler (A) it automatically reads the tag from Tiddler (A). Which causes 
it to be misrepresented. (Wrong colors) How can I ensure that the correct 
colors are retained?

Thank you,

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9cd675e7-af46-4bdb-8da3-41e171169c86n%40googlegroups.com.

Reply via email to