Browse Source

fix: lint

pull/20281/head
ycjcl868 5 years ago
parent
commit
090f25845c
  1. 2
      components/calendar/style/index.less
  2. 22
      site/theme/static/demo.less
  3. 4
      site/theme/static/highlight.less
  4. 2
      site/theme/static/icon-pic-searcher.less

2
components/calendar/style/index.less

@ -84,8 +84,8 @@
display: block;
width: 100%;
text-align: right;
border: 0;
background: @calendar-full-bg;
border: 0;
.@{calendar-picker-prefix-cls}-body {
th,

22
site/theme/static/demo.less

@ -270,13 +270,13 @@
background: transparent
url('https://gw.alipayobjects.com/zos/rmsportal/OtZslpOjYXijshDERXwc.svg') center / 14px
no-repeat;
border: 0;
cursor: pointer;
opacity: 0.65;
transition: all 0.3s;
&:hover {
opacity: 1;
}
border: 0;
cursor: pointer;
transition: all 0.3s;
}
&-riddle {
@ -285,16 +285,16 @@
height: 20px;
overflow: hidden;
text-indent: -9999px;
opacity: 0.65;
&:hover {
opacity: 1;
}
background: transparent
url('https://gw.alipayobjects.com/zos/rmsportal/DlHbxMCyeuyOrqOdbgik.svg') center / 14px
no-repeat;
border: 0;
cursor: pointer;
opacity: 0.65;
transition: all 0.3s;
&:hover {
opacity: 1;
}
}
&-codesandbox {
@ -302,16 +302,16 @@
height: 20px;
overflow: hidden;
text-indent: -9999px;
opacity: 0.65;
&:hover {
opacity: 1;
}
background: transparent
url('https://gw.alipayobjects.com/zos/rmsportal/aaYmtdDyHSCkXyLZVgGK.svg') center / 14px
no-repeat;
border: 0;
cursor: pointer;
opacity: 0.65;
transition: all 0.3s;
&:hover {
opacity: 1;
}
}
.highlight-wrapper:hover &-code-copy,

4
site/theme/static/highlight.less

@ -75,8 +75,8 @@ pre[class*='language-'] {
[data-theme='dark'] :not(pre) > code[class*='language-'],
[data-theme='dark'] pre[class*='language-'] {
background: #141414;
color: rgba(255, 255, 255, 0.65);
background: #141414;
}
/* Inline code */
@ -209,8 +209,8 @@ pre[class*='language-'] {
.hljs {
display: block;
overflow-x: auto;
padding: 0.5em;
overflow-x: auto;
color: #c0c5ce;
background: #1c1d21;
}

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

@ -3,8 +3,8 @@
margin: 1px 8px;
.icon-pic-btn {
cursor: pointer;
color: @text-color-secondary;
cursor: pointer;
transition: all 0.3s;
&:hover {
color: @input-icon-hover-color;

Loading…
Cancel
Save