Added similar visited state for embed buttons.
This commit is contained in:
parent
93f9be1063
commit
f0dedbefae
6 changed files with 9 additions and 0 deletions
|
@ -169,6 +169,7 @@
|
|||
.umi--archaic .markup__link {
|
||||
color: #1e90ff;
|
||||
}
|
||||
.umi--archaic .markup__link--visited,
|
||||
.umi--archaic .markup__link:visited {
|
||||
color: #6B4F80;
|
||||
}
|
||||
|
|
|
@ -169,6 +169,7 @@
|
|||
.umi--blue .markup__link {
|
||||
color: #1e90ff;
|
||||
}
|
||||
.umi--blue .markup__link--visited,
|
||||
.umi--blue .markup__link:visited {
|
||||
color: #6B4F80;
|
||||
}
|
||||
|
|
|
@ -169,6 +169,7 @@
|
|||
.umi--dark .markup__link {
|
||||
color: #1e90ff;
|
||||
}
|
||||
.umi--dark .markup__link--visited,
|
||||
.umi--dark .markup__link:visited {
|
||||
color: #6B4F80;
|
||||
}
|
||||
|
|
|
@ -169,6 +169,7 @@
|
|||
.umi--light .markup__link {
|
||||
color: #1e90ff;
|
||||
}
|
||||
.umi--light .markup__link--visited,
|
||||
.umi--light .markup__link:visited {
|
||||
color: #6B4F80;
|
||||
}
|
||||
|
|
|
@ -169,6 +169,7 @@
|
|||
.umi--purple .markup__link {
|
||||
color: #1e90ff;
|
||||
}
|
||||
.umi--purple .markup__link--visited,
|
||||
.umi--purple .markup__link:visited {
|
||||
color: #6B4F80;
|
||||
}
|
||||
|
|
|
@ -209,6 +209,7 @@ Umi.Parsing = (function() {
|
|||
container.title = 'image';
|
||||
element.textContent = 'Remove';
|
||||
element.dataset.embed = '1';
|
||||
element.classList.add('markup__link--visited');
|
||||
|
||||
let html = $e({
|
||||
tag: 'img',
|
||||
|
@ -262,6 +263,7 @@ Umi.Parsing = (function() {
|
|||
element.dataset.embed = '1';
|
||||
element.textContent = 'Remove';
|
||||
container.textContent = '';
|
||||
element.classList.add('markup__link--visited');
|
||||
|
||||
let media = $e({
|
||||
tag: 'audio',
|
||||
|
@ -304,6 +306,7 @@ Umi.Parsing = (function() {
|
|||
container.title = 'video';
|
||||
element.dataset.embed = '1';
|
||||
element.textContent = 'Remove';
|
||||
element.classList.add('markup__link--visited');
|
||||
|
||||
let media = $e({
|
||||
tag: 'video',
|
||||
|
@ -349,6 +352,7 @@ Umi.Parsing = (function() {
|
|||
target.textContent = container.dataset.shit;
|
||||
element.dataset.embed = '1';
|
||||
element.textContent = 'Hide';
|
||||
element.classList.add('markup__link--visited');
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue