Browse Source

fix: icon

pull/20281/head
ycjcl868 5 years ago
parent
commit
7fe921454f
  1. 44
      site/theme/static/demo.less
  2. 5
      site/theme/static/icon-pic-searcher.less
  3. 2
      site/theme/static/icons.less

44
site/theme/static/demo.less

@ -15,32 +15,30 @@
border: 1px solid @site-border-color-split;
border-radius: @border-radius-base;
transition: all 0.2s;
&[data-theme='dark'] {
.code-box-title {
&,
a {
background: @component-background;
color: @text-color;
}
}
p {
.code-box-title {
&,
a {
background: @component-background;
color: @text-color;
}
a.edit-button .anticon {
color: @icon-color;
&:hover {
color: @icon-color-hover;
}
}
&,
.code-box-demo {
background-color: @component-background;
border-bottom: 1px solid @border-color-base;
}
p {
color: @text-color;
}
a.edit-button .anticon {
color: @icon-color;
&:hover {
color: @icon-color-hover;
}
.markdown {
code {
background: @popover-background;
}
}
&,
.code-box-demo {
background-color: @component-background;
border-bottom: 1px solid @border-color-base;
}
.markdown {
code {
background: @popover-background;
}
}
&:target {

5
site/theme/static/icon-pic-searcher.less

@ -3,12 +3,11 @@
margin: 1px 8px;
.icon-pic-btn {
color: rgba(0, 0, 0, 0.45);
cursor: pointer;
transition: all 0.3s;
color: @text-color-secondary;
&:hover {
color: rgba(0, 0, 0, 0.8);
color: @input-icon-hover-color;
}
}
}

2
site/theme/static/icons.less

@ -13,7 +13,7 @@ ul.anticons-list {
color: #555;
text-align: center;
list-style: none;
background-color: #fff;
background-color: inherit;
border-radius: 4px;
cursor: pointer;
transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;

Loading…
Cancel
Save