add: disable select for some component.
This commit is contained in:
parent
c9e7a81509
commit
879fab29eb
7 changed files with 31 additions and 8 deletions
|
@ -21,13 +21,17 @@
|
|||
--bq-color: #ccc;
|
||||
--hr-color: #333;
|
||||
|
||||
--pagination-bg-color: #373737;
|
||||
--pagination-bg-color: #2e2e33;
|
||||
--pagination-link-color: #b6b6b6;
|
||||
--pagination-border-color: #333333;
|
||||
--pagination-border-radius: 5px;
|
||||
|
||||
--post-info-color: grey;
|
||||
|
||||
--switcher-color: #333;
|
||||
--switcher-bg-color: #fff;
|
||||
--switcher-border-color: #333333
|
||||
--switcher-border-radius: 5px;
|
||||
|
||||
--svg-color: #ccc;
|
||||
--svg-state-color:#ff5858;
|
||||
|
|
|
@ -25,11 +25,15 @@
|
|||
|
||||
--pagination-bg-color: #fafafa;
|
||||
--pagination-link-color: #696969;
|
||||
--pagination-border-color: #eeeeee;
|
||||
--pagination-border-radius: 5px;
|
||||
|
||||
--post-info-color: grey;
|
||||
|
||||
--switcher-color: #fff;
|
||||
--switcher-bg-color: #333;
|
||||
--switcher-border-color: #eeeeee;
|
||||
--switcher-border-radius: 5px;
|
||||
|
||||
--svg-color: #333;
|
||||
--svg-state-color: #a31d1d;
|
||||
|
|
|
@ -650,8 +650,10 @@ code.has-jax {
|
|||
}
|
||||
|
||||
.pagination-item {
|
||||
border: 1px solid var(--pagination-border-color);
|
||||
border-radius: var(--pagination-border-radius);
|
||||
background: var(--pagination-bg-color);
|
||||
padding: 0.75em 0.75em;
|
||||
padding: 0.25em 0.75em;
|
||||
}
|
||||
|
||||
.pagination-item a {
|
||||
|
@ -709,7 +711,8 @@ ul.language-select > li, ul.footer-menu > li {
|
|||
background: var(--switcher-bg-color);
|
||||
padding: 0.5em 1em;
|
||||
font-size: 16px;
|
||||
border: none;
|
||||
border: 1px solid var(--switcher-border-color);
|
||||
border-radius: var(--switcher-border-radius);
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
|
@ -760,6 +763,18 @@ ul.language-select > li, ul.footer-menu > li {
|
|||
margin: 8px;
|
||||
}
|
||||
|
||||
/* Others */
|
||||
.noselect {
|
||||
-webkit-touch-callout: none; /* iOS Safari */
|
||||
-webkit-user-select: none; /* Safari */
|
||||
-khtml-user-select: none; /* Konqueror HTML */
|
||||
-moz-user-select: none; /* Firefox */
|
||||
-ms-user-select: none; /* Internet Explorer/Edge */
|
||||
user-select: none; /* Non-prefixed version, currently
|
||||
supported by Chrome and Opera */
|
||||
}
|
||||
|
||||
|
||||
/* Media Queries */
|
||||
|
||||
@media (max-width: 840px) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue