mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-12 03:32:30 +08:00
client: Fix promoted attribute style regressions (closes #503)
This commit is contained in:
parent
21f8a29761
commit
7957c6d34e
@ -42,6 +42,10 @@ const TPL = `
|
|||||||
word-break:keep-all;
|
word-break:keep-all;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
.promoted-attribute-cell input[type="checkbox"] {
|
||||||
|
height: 1.5em;
|
||||||
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<div class="promoted-attributes-container"></div>
|
<div class="promoted-attributes-container"></div>
|
||||||
|
@ -70,30 +70,10 @@ textarea,
|
|||||||
background: var(--input-background-color) url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='%23ffffff' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/></svg>") right .75rem center/15px 20px no-repeat;
|
background: var(--input-background-color) url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='%23ffffff' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/></svg>") right .75rem center/15px 20px no-repeat;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Hide number input arrows */
|
|
||||||
input[type="number"]::-webkit-inner-spin-button,
|
|
||||||
input[type="number"]::-webkit-outer-spin-button {
|
|
||||||
-webkit-appearance: none;
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Firefox browser */
|
|
||||||
input[type="number"] {
|
|
||||||
-moz-appearance: textfield;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Show number input arrows when focus or hover */
|
|
||||||
input[type="number"]:focus::-webkit-inner-spin-button,
|
|
||||||
input[type="number"]:focus::-webkit-outer-spin-button,
|
|
||||||
input[type="number"]:hover::-webkit-inner-spin-button,
|
|
||||||
input[type="number"]:hover::-webkit-outer-spin-button {
|
|
||||||
-webkit-appearance: inner-spin-button;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Restore default apperance */
|
/* Restore default apperance */
|
||||||
input[type="number"]:focus,
|
input[type="number"],
|
||||||
input[type="number"]:hover {
|
input[type="checkbox"] {
|
||||||
appearance: auto;
|
appearance: auto !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
#left-pane input,
|
#left-pane input,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user