Skip to content

Commit e4b9c57

Browse files
committed
Small fixes for cMenu and outline image filter in Live Preview
1 parent eab9805 commit e4b9c57

File tree

8 files changed

+57
-4
lines changed

8 files changed

+57
-4
lines changed

Minimal.css

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3462,6 +3462,7 @@ span[src$="#round"] img {
34623462

34633463
/* Outline */
34643464
img[src$="#outline"],
3465+
div[src$="#outline"] img,
34653466
span[src$="#outline"] img {
34663467
border: 1px solid var(--ui1);
34673468
}
@@ -4719,6 +4720,22 @@ body #cMenuModalBar button.cMenuCommandItem:hover {
47194720
padding-bottom: 0;
47204721
}
47214722

4723+
.MySnippets-statusbar-menu .menu-item .MS-OpenSnippet {
4724+
height: auto;
4725+
border: none;
4726+
background: transparent;
4727+
box-shadow: none;
4728+
width: auto;
4729+
padding: 4px 6px;
4730+
margin-left: 0;
4731+
}
4732+
.MySnippets-statusbar-menu .menu-item .MS-OpenSnippet svg path {
4733+
fill: var(--text-muted);
4734+
}
4735+
.MySnippets-statusbar-menu .menu-item .MS-OpenSnippet:hover {
4736+
background-color: var(--background-modifier-hover);
4737+
}
4738+
47224739
/* Dataview plugin */
47234740
/* inline lists */
47244741
.dataview-inline-lists .markdown-source-view .dataview-ul,

src/css/main.css

Lines changed: 17 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/css/main.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/css/main.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/css/main.min.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/scss/features/image-filters.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ span[src$="#round"] img {
7676

7777
/* Outline */
7878
img[src$="#outline"],
79+
div[src$="#outline"] img,
7980
span[src$="#outline"] img {
8081
border:1px solid var(--ui1);
8182
}

src/scss/plugins/cmenu.scss

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,21 @@ body #cMenuModalBar button.cMenuCommandItem:hover {
1414
padding-top:0;
1515
padding-bottom:0;
1616
}
17+
18+
.MySnippets-statusbar-menu .menu-item .MS-OpenSnippet {
19+
height: auto;
20+
border: none;
21+
background: transparent;
22+
box-shadow: none;
23+
width: auto;
24+
padding: 4px 6px;
25+
margin-left: 0;
26+
27+
svg path {
28+
fill: var(--text-muted);
29+
}
30+
&:hover {
31+
background-color:var(--background-modifier-hover);
32+
}
33+
}
34+

theme.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)