fix: visual editor table styling

This commit is contained in:
NGPixel 2020-06-22 00:34:37 -04:00
parent 4cb7f33dcf
commit 43e73565af
3 changed files with 36 additions and 5 deletions

View File

@ -653,6 +653,37 @@
} }
} }
figure.table {
margin: 0;
> table {
background-color: #FFF;
margin: 0;
border-collapse: collapse;
box-shadow: 0 0 5px 0 rgba(0, 0, 0, .07);
td, th {
border: 1px solid mc('blue-grey', '100');
box-shadow: inset -1px -1px 0 0 #FFF, inset 1px 0 0 #FFF;
padding: .5rem .75rem;
}
th {
background-color: lighten(mc('blue-grey', '50'), 1%);;
font-weight: 700;
color: mc('grey', '800');
}
thead th {
border-bottom: 2px solid mc('blue-grey', '100');
}
tbody th {
background-color: lighten(mc('blue-grey', '50'), 4%);
}
}
}
// --------------------------------- // ---------------------------------
// IMAGES // IMAGES
// --------------------------------- // ---------------------------------

View File

@ -199,7 +199,7 @@
"@babel/preset-env": "^7.10.1", "@babel/preset-env": "^7.10.1",
"@mdi/font": "5.3.45", "@mdi/font": "5.3.45",
"@panter/vue-i18next": "0.15.2", "@panter/vue-i18next": "0.15.2",
"@requarks/ckeditor5": "19.0.1-wiki.1", "@requarks/ckeditor5": "19.0.1-wiki.2",
"@vue/babel-preset-app": "4.4.1", "@vue/babel-preset-app": "4.4.1",
"animate-sass": "0.8.2", "animate-sass": "0.8.2",
"animated-number-vue": "1.0.0", "animated-number-vue": "1.0.0",

View File

@ -2863,10 +2863,10 @@
resolved "https://registry.yarnpkg.com/@protobufjs/utf8/-/utf8-1.1.0.tgz#a777360b5b39a1a2e5106f8e858f2fd2d060c570" resolved "https://registry.yarnpkg.com/@protobufjs/utf8/-/utf8-1.1.0.tgz#a777360b5b39a1a2e5106f8e858f2fd2d060c570"
integrity sha1-p3c2C1s5oaLlEG+OhY8v0tBgxXA= integrity sha1-p3c2C1s5oaLlEG+OhY8v0tBgxXA=
"@requarks/ckeditor5@19.0.1-wiki.1": "@requarks/ckeditor5@19.0.1-wiki.2":
version "19.0.1-wiki.1" version "19.0.1-wiki.2"
resolved "https://registry.yarnpkg.com/@requarks/ckeditor5/-/ckeditor5-19.0.1-wiki.1.tgz#257b5b38e2fe9138474656856ce0d20bd99c8fda" resolved "https://registry.yarnpkg.com/@requarks/ckeditor5/-/ckeditor5-19.0.1-wiki.2.tgz#d601d868522680095ba50ded08094d72d74c4ca4"
integrity sha512-q5l3I7rnL3zeIFqpI4ymMaQ0XJg4h0E7zbuuQt6JSGjTmZooiAIDLIguE2t4T6BdQjkATPw0THyfgyPGylMfgg== integrity sha512-l2B7VB7SmX318IAwx9EdYmDujCEBQB7b+v5ySfLyK42eyKarWBuK76R0o2TudRn2z/17dvmR5zaQBEW3fDIPsg==
"@root/acme@^3.0.2": "@root/acme@^3.0.2":
version "3.0.9" version "3.0.9"