Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/css
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2020-01-15 11:48:25 +0300
committerJulius Härtl <jus@bitgrid.net>2020-01-15 20:26:43 +0300
commitafd44abc2a144580cb7e93dd6bdd7706eb02827f (patch)
tree3ad3253dcb8cd1c8cf85b266abab529e4689d84b /css
parentf34a061ad1e03fd93a9d7b879e26dfa656577ad1 (diff)
Try fixing the click handler on firefox
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'css')
-rw-r--r--css/prosemirror.scss41
1 files changed, 41 insertions, 0 deletions
diff --git a/css/prosemirror.scss b/css/prosemirror.scss
index 589bd31a0..a65718e77 100644
--- a/css/prosemirror.scss
+++ b/css/prosemirror.scss
@@ -24,6 +24,47 @@ div.ProseMirror {
font-size: 14px;
}
+ .checkbox-item {
+ display: flex;
+ align-items: start;
+
+ input[type=checkbox] {
+ display: none;
+ }
+ &:before {
+ content: '';
+ display: inline-block;
+ height: 14px;
+ width: 14px;
+ vertical-align: middle;
+ border-radius: 50%;
+ margin: 0 6px 3px 3px;
+ margin-left: 3px;
+ border: 1px solid #878787;
+ content: "";
+ position: relative;
+ width: 44px;
+ height: 44px;
+ display: block;
+ border-radius: 1px;
+ height: 14px;
+ width: 14px;
+ box-shadow: none !important;
+ background-position: center;
+ }
+ &.checked:before {
+ background-image: url('/core/css/../img/actions/checkbox-mark.svg');
+ background-color: var(--color-primary-element);
+ }
+ label {
+ display: block;
+ flex-grow: 1;
+ > *:first-child {
+ margin-top: 0;
+ }
+ }
+ }
+
li label.checkbox-label {
width: 100%;
display: flex;