From 43e73565af889f608a1873ef406ea41c8c43a6e1 Mon Sep 17 00:00:00 2001 From: NGPixel Date: Mon, 22 Jun 2020 00:34:37 -0400 Subject: [PATCH] fix: visual editor table styling --- client/themes/default/scss/app.scss | 31 ++++++++++++++++++++++++++++ package.json | 2 +- yarn.lock | Bin 793127 -> 793127 bytes 3 files changed, 32 insertions(+), 1 deletion(-) diff --git a/client/themes/default/scss/app.scss b/client/themes/default/scss/app.scss index 2392c0ff..61d4a3cf 100644 --- a/client/themes/default/scss/app.scss +++ b/client/themes/default/scss/app.scss @@ -653,6 +653,37 @@ .v-content .contents { } } + 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 // --------------------------------- diff --git a/package.json b/package.json index d3b76605..efed650f 100644 --- a/package.json +++ b/package.json @@ -199,7 +199,7 @@ "@babel/preset-env": "^7.10.1", "@mdi/font": "5.3.45", "@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", "animate-sass": "0.8.2", "animated-number-vue": "1.0.0", diff --git a/yarn.lock b/yarn.lock index 6d42d81f5158bedcc37c364c81500a9cec41ef94..7e52c5820d15aff366b9070783c2d9c9ef170f77 100644 GIT binary patch delta 209 zcmZ3!#bEgsgN7EyElggjj7HPFRhguwC+RckO`ojFq@`=5SCU?(oML8Rm||gOVQOS# zW?^7pX_}O1YLJqeVqjrlX_8`Ylwxj@Y?7QfU2zGMSZI!slX;kvd2nuov7v>hV|j(8 zYf5CUOKFy~t5cwpd6IUSX=QMlPo=ksQEH`kVo|tLskgaVkU_ptNNGw?o>7&)p?OMK xZjfnJVxW_2xN(|`XFzd#s2URxGXpUT5VHa?8xXStF$WNH0x{S2P&MvLp8