mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2025-01-06 06:28:33 +03:00
Style links and code blocks in text-* classes
This commit is contained in:
parent
99d4d90d85
commit
98dc2f9d7f
@ -25,5 +25,6 @@
|
||||
@import "text-editor-light";
|
||||
@import "select-list";
|
||||
@import "syntax";
|
||||
@import "text";
|
||||
@import "utilities";
|
||||
@import "octicons";
|
||||
|
35
static/text.less
Normal file
35
static/text.less
Normal file
@ -0,0 +1,35 @@
|
||||
.text-bits (@type) {
|
||||
@text-color: "text-color-@{type}";
|
||||
@bg-color: "background-color-@{type}";
|
||||
|
||||
code {
|
||||
color: @@text-color;
|
||||
background: fadeout(@@bg-color, 80%);
|
||||
}
|
||||
|
||||
a, a code {
|
||||
color: @@text-color;
|
||||
text-decoration: underline;
|
||||
color: darken(@@text-color, 10%);
|
||||
|
||||
&:hover {
|
||||
color: darken(@@text-color, 15%);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.text-info {
|
||||
.text-bits(info);
|
||||
}
|
||||
|
||||
.text-success {
|
||||
.text-bits(success);
|
||||
}
|
||||
|
||||
.text-warning {
|
||||
.text-bits(warning);
|
||||
}
|
||||
|
||||
.text-error {
|
||||
.text-bits(error);
|
||||
}
|
Loading…
Reference in New Issue
Block a user