From 867d78ffebc818c22ce589a37f6d9674cdfffc49 Mon Sep 17 00:00:00 2001 From: Eliah Snakin Date: Wed, 23 Feb 2022 00:17:55 +0300 Subject: [PATCH 1/3] =?UTF-8?q?.nova-dark-theme=20=E2=86=92=20.dark?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit To be consistent with TailwindCSS dark mode 'class' strategy https://tailwindcss.com/docs/dark-mode --- dist/css/responsive.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/css/responsive.css b/dist/css/responsive.css index 1304922..33719cc 100644 --- a/dist/css/responsive.css +++ b/dist/css/responsive.css @@ -1 +1 @@ -.hamburger-menu{cursor:pointer;position:relative;height:19px;display:none}html:not([dir=rtl]) .hamburger-menu{padding-left:1.25em;margin-right:9px}html[dir=rtl] .hamburger-menu{padding-right:1.25em;margin-left:9px}.hamburger-menu:before{content:"";position:absolute;top:.21em;bottom:.21em;width:1em;background:linear-gradient(to bottom,#000,#000 20%,#fff 20%,#fff 40%,#000 40%,#000 60%,#fff 60%,#fff 80%,#000 80%,#000 100%)}html:not([dir=rtl]) .hamburger-menu:before{left:0}html[dir=rtl] .hamburger-menu:before{right:0}.content.hide-update-and-continue-editing-button button[dusk$=update-and-continue-editing-button]{display:none}.content.sticky-actions .card table.w-full tbody tr td:last-child,.content.sticky-actions .card table.w-full thead tr th:last-child{position:-webkit-sticky;position:-moz-sticky;position:-ms-sticky;position:-o-sticky;position:sticky;right:0}.content.sticky-actions .card table.w-full tbody tr td:last-child{background:#fff}.content.sticky-actions .card table.w-full tbody tr td:last-child:before{content:'';height:100%;top:0;margin-left:-.75rem;position:absolute;border-left:1px solid #eee}@media (min-width:992px){body.fixed-sidebar .bg-grad-sidebar{position:fixed;padding-top:5.5rem!important;overflow:auto;height:100%}body.fixed-sidebar .content{padding-left:13.75rem;max-width:100%}}@media (max-width:80rem){.min-w-site{min-width:auto}.content{min-width:auto;width:100%}.content.sticky-actions-on-mobile .card table.w-full tbody tr td:last-child,.content.sticky-actions-on-mobile .card table.w-full thead tr th:last-child{position:-webkit-sticky;position:-moz-sticky;position:-ms-sticky;position:-o-sticky;position:sticky;right:0}.content.sticky-actions-on-mobile .card table.w-full tbody tr td:last-child{background:#fff}.content.sticky-actions-on-mobile .card table.w-full tbody tr td:last-child:before{content:'';height:100%;top:0;margin-left:-.75rem;position:absolute;border-left:1px solid #eee}}@media (max-width:992px){.w-sidebar{position:fixed;padding-top:5.5rem!important;z-index:30;height:100%;overflow:auto}.w-sidebar.pt-header{padding-top:1.75rem}.sidebar-hidden{display:none}.h-header{z-index:40;position:fixed;width:100%;margin-top:-3.75rem}.hamburger-menu{display:block}html:not([dir=rtl]) .hamburger-menu{margin-right:1rem}html[dir=rtl] .hamburger-menu{margin-left:1rem}.bg-logo{display:none!important}html:not([dir=rtl]) .h-header .dropdown-trigger{margin-right:-20px}html[dir=rtl] .h-header .dropdown-trigger{margin-left:-20px}.h-header .dropdown-trigger span,.h-header .dropdown-trigger svg{display:none}html:not([dir=rtl]) .h-header .dropdown-trigger img.mr-3{margin-right:2em}html[dir=rtl] .h-header .dropdown-trigger img.mr-3{margin-right:2em}span.hamburger-menu+a{display:none}.h-header .pl-search{width:85%}.content{padding-top:3.75rem;max-width:none}.content .px-view{padding-left:1.125rem;padding-right:1.125rem}.content .py-view{padding-top:1.125rem;padding-bottom:1.125rem}form .w-1\/2{width:80%}form .w-1\/2>div.flex{display:flex;flex-wrap:nowrap}form>.flex{display:block}form>.flex>button{margin-bottom:10px}.content.hide-update-and-continue-editing-button-on-mobile button[dusk$=update-and-continue-editing-button]{display:none}.content form .card>.flex,div[dusk$=detail-component] .card>.flex{display:block}.content form .card>.flex>div,div[dusk$=detail-component] .card>.flex>div{width:100%}.content form .card>.flex>.py-6,div[dusk$=detail-component] .card>.flex>.py-4{padding-top:.5rem;padding-bottom:0}.content form .card>.flex>.py-6,div[dusk$=detail-component] .card>.flex.bg-20>.py-4{padding-bottom:.5rem}.content form .card>.flex>.py-6+.py-6,div[dusk$=detail-component] .card>.flex>.py-4+.py-4{padding-bottom:.5rem}.card>form>div header.flex{display:block}.card>form>div header.flex ul:first-child{border-bottom:1px solid var(--60)}html:not([dir=rtl]) .card>form>div header.flex ul:nth-child(2) button:first-child{border-left:none}html[dir=rtl] .card>form>div header.flex ul:nth-child(2) button:first-child{border-right:none}html:not([dir=rtl]) .card>form>div header.flex ul:nth-child(2) button:last-child{border-right:1px solid var(--60)}html[dir=rtl] .card>form>div header.flex ul:nth-child(2) button:last-child{border-left:1px solid var(--60)}.card>form>div div.pin{z-index:2000}trix-toolbar .trix-button-row{display:inline-block!important}html:not([dir=rtl]) trix-toolbar .trix-button-group{float:left!important}html[dir=rtl] trix-toolbar .trix-button-group{float:right!important}.content .flex-wrap>.w-1\/2,.content .flex-wrap>.w-1\/3,.content .flex-wrap>.w-1\/4,.content .flex-wrap>.w-1\/5,.content .flex-wrap>.w-1\/6,.content .flex-wrap>.w-2\/3,.content .flex-wrap>.w-2\/5,.content .flex-wrap>.w-3\/4,.content .flex-wrap>.w-3\/5,.content .flex-wrap>.w-4\/5,.content .flex-wrap>.w-5\/6{width:100%}.content .card table td.w-1\/2{display:table-row}.btn{white-space:nowrap}div[dusk$=index-component] .pl-search{width:auto}div[dusk$=index-component] .btn[dusk=attach-button],div[dusk$=index-component] .btn[dusk=create-button]{font-weight:bolder;font-size:26px;padding:0 12px;width:39px;overflow:hidden}div[dusk$=index-component] .btn[dusk=attach-button]::before,div[dusk$=index-component] .btn[dusk=create-button]::before{content:"+";position:relative}html:not([dir=rtl]) div[dusk$=index-component] .btn[dusk=attach-button]::before,html:not([dir=rtl]) div[dusk$=index-component] .btn[dusk=create-button]::before{margin-right:20px}html[dir=rtl] div[dusk$=index-component] .btn[dusk=attach-button]::before,html[dir=rtl] div[dusk$=index-component] .btn[dusk=create-button]::before{margin-left:20px}.modal{top:auto}.modal form{width:100%!important}div[dusk$=index-component]>div.card>div.py-3.flex.items-center.border-b.border-50{padding-bottom:.35rem}div[dusk$=detail-component]>div>div.flex.items-center.mb-3{display:block}div[dusk$=detail-component]>div>div.flex.items-center.mb-3>h4{position:absolute}div[dusk$=detail-component]>div>div.flex.items-center.mb-3>div.ml-3.w-full.flex.items-center,div[dusk$=index-component]>div.card>div.py-3.flex.items-center.border-b.border-50>div.flex.items-center.ml-auto.px-3{display:inline-block}div[dusk$=detail-component]>div>div.flex.items-center.mb-3>div.ml-3.w-full.flex.items-center{display:inline-block;padding-top:1.5rem}div[dusk$=detail-component]>div>div.flex.items-center.mb-3>div.ml-3.w-full.flex.items-center>a,div[dusk$=detail-component]>div>div.flex.items-center.mb-3>div.ml-3.w-full.flex.items-center>button,div[dusk$=detail-component]>div>div.flex.items-center.mb-3>div.ml-3.w-full.flex.items-center>div,div[dusk$=index-component]>div.card>div.py-3.flex.items-center.border-b.border-50>div.flex.items-center.ml-auto.px-3>div{display:inline-flex;vertical-align:top;margin-bottom:.4rem}html:not([dir=rtl]) div[dusk$=detail-component]>div>div.flex.items-center.mb-3>div.ml-3.w-full.flex.items-center>div.ml-3{margin-left:0}html[dir=rtl] div[dusk$=detail-component]>div>div.flex.items-center.mb-3>div.ml-3.w-full.flex.items-center>div.ml-3{margin-right:0}}@media (max-width:500px){select[dusk=action-select]{width:8.9rem}}@media (max-width:310px){select[dusk=action-select]{width:5.6rem}}@media (max-height:610px){.z-50.open .scroll-wrap{max-height:270px!important}}@media (max-height:540px){.z-50.open .scroll-wrap{max-height:180px!important}}@media (max-height:440px){.z-50.open .scroll-wrap{max-height:110px!important}}html.nova-dark-theme{background-color:#06090f!important}.nova-dark-theme html{background-color:#0d1117!important;height:auto!important}.nova-dark-theme body{background-color:#06090f!important;height:auto!important}.nova-dark-theme .hamburger-menu:before{background:linear-gradient(to bottom,#fff,#fff 20%,#000 20%,#000 40%,#fff 40%,#fff 60%,#000 60%,#000 80%,#fff 80%,#fff 100%)}.nova-dark-theme .dark-mode-toggle{background-color:#0e1217}.nova-dark-theme #layout-selector .components-container,.nova-dark-theme .bg-white{background-color:#0d1117}.nova-dark-theme .component-layout-selector{border-color:#30383d;background-color:#161c22}.nova-dark-theme .flex .border-60{border-color:#30383d}.nova-dark-theme .flex .bg-white{background-color:#161b22}.nova-dark-theme .w-sidebar *{color:#c9d1d9!important}.nova-dark-theme .bg-logo{background-color:#161b22}.nova-dark-theme .btn-primary{color:#ffff!important}.nova-dark-theme .btn-primary a:visited{color:#ffff}.nova-dark-theme .bg-grad-sidebar{background-image:-webkit-gradient(linear,left bottom,left top,from(#0d1117),to(#0d1117));background-color:#0d1117}.nova-dark-theme .table td{color:#eee;border-color:#30363d}.nova-dark-theme .table th{background-color:#0d1117;color:#eee;border-color:#30363d}.nova-dark-theme .flex.items-center.relative.shadow.h-header.bg-white.z-20.px-view{background-color:#0f1217}.nova-dark-theme .bg-20,.nova-dark-theme .btn-white,.nova-dark-theme .card,.nova-dark-theme .multiselect__spinner{background-color:#161b22}.nova-dark-theme .bg-30{background-color:#161b22}.nova-dark-theme .bg-30:hover{background-color:#060910}.nova-dark-theme .bg-40,.nova-dark-theme .multiselect__content-wrapper,.nova-dark-theme .table tr:hover td,.nova-dark-theme .tooltip{background-color:#0d1117}.nova-dark-theme .border-30{border-color:#30363d}.nova-dark-theme .border-30,.nova-dark-theme .border-40,.nova-dark-theme .border-50{border-color:#30373d}.nova-dark-theme .border-60,.nova-dark-theme .border-70{border-color:#0e1217}.nova-dark-theme .border-80{border-color:#060910}.nova-dark-theme .text-60,.nova-dark-theme .text-70{color:#626a71}.nova-dark-theme .text-80,.nova-dark-theme .text-90{color:#cfd3d8}.nova-dark-theme .relationship-tabs-panel .tab{color:#cfd3d8}.nova-dark-theme .multiselect__content-wrapper,.nova-dark-theme .tooltip{border-color:#161b22;color:#cfd3d8}.nova-dark-theme .form-global-search:active,.nova-dark-theme .form-global-search:focus,.nova-dark-theme .form-input:focus,.nova-dark-theme .form-search:active,.nova-dark-theme .form-search:focus{background-color:#060910}.nova-dark-theme .form-input-bordered,.nova-dark-theme .form-input-row,.nova-dark-theme .form-select,.nova-dark-theme .multiselect,.nova-dark-theme .multiselect__input,.nova-dark-theme .multiselect__single,.nova-dark-theme .multiselect__tags,.nova-dark-theme .tags-input-text{background-color:#0e1217;color:#cfd3d8;border-color:#2e3235}.nova-dark-theme .multiselect__tags{border-color:#2e3235!important}.nova-dark-theme .form-global-search,.nova-dark-theme input{border-color:#535c67;background-color:#161b22;color:#cfd3d8}.nova-dark-theme .form-input-bordered,.nova-dark-theme .multiselect__content-wrapper,.nova-dark-theme .multiselect__tags{border-color:#2e3235}.nova-dark-theme select{color:#cfd3d8}.nova-dark-theme .bg-gray-800{--bg-opacity:1;background-color:#0d1117;background-color:rgba(45,55,72,var(--bg-opacity))}.nova-dark-theme .bg-gray-900{--bg-opacity:1;background-color:#06090f;background-color:rgba(26,32,44,var(--bg-opacity))}.nova-dark-theme .border-gray-700{--border-opacity:1;border-color:#30363d;border-color:rgba(74,85,104,var(--border-opacity))}.nova-dark-theme .text-white{--text-opacity:1;color:#c9d1d9;color:rgba(255,255,255,var(--text-opacity))}.nova-dark-theme .text-gray-400{--text-opacity:1;color:#88929c;color:rgba(203,213,224,var(--text-opacity))} \ No newline at end of file +.hamburger-menu{cursor:pointer;position:relative;height:19px;display:none}html:not([dir=rtl]) .hamburger-menu{padding-left:1.25em;margin-right:9px}html[dir=rtl] .hamburger-menu{padding-right:1.25em;margin-left:9px}.hamburger-menu:before{content:"";position:absolute;top:.21em;bottom:.21em;width:1em;background:linear-gradient(to bottom,#000,#000 20%,#fff 20%,#fff 40%,#000 40%,#000 60%,#fff 60%,#fff 80%,#000 80%,#000 100%)}html:not([dir=rtl]) .hamburger-menu:before{left:0}html[dir=rtl] .hamburger-menu:before{right:0}.content.hide-update-and-continue-editing-button button[dusk$=update-and-continue-editing-button]{display:none}.content.sticky-actions .card table.w-full tbody tr td:last-child,.content.sticky-actions .card table.w-full thead tr th:last-child{position:-webkit-sticky;position:-moz-sticky;position:-ms-sticky;position:-o-sticky;position:sticky;right:0}.content.sticky-actions .card table.w-full tbody tr td:last-child{background:#fff}.content.sticky-actions .card table.w-full tbody tr td:last-child:before{content:'';height:100%;top:0;margin-left:-.75rem;position:absolute;border-left:1px solid #eee}@media (min-width:992px){body.fixed-sidebar .bg-grad-sidebar{position:fixed;padding-top:5.5rem!important;overflow:auto;height:100%}body.fixed-sidebar .content{padding-left:13.75rem;max-width:100%}}@media (max-width:80rem){.min-w-site{min-width:auto}.content{min-width:auto;width:100%}.content.sticky-actions-on-mobile .card table.w-full tbody tr td:last-child,.content.sticky-actions-on-mobile .card table.w-full thead tr th:last-child{position:-webkit-sticky;position:-moz-sticky;position:-ms-sticky;position:-o-sticky;position:sticky;right:0}.content.sticky-actions-on-mobile .card table.w-full tbody tr td:last-child{background:#fff}.content.sticky-actions-on-mobile .card table.w-full tbody tr td:last-child:before{content:'';height:100%;top:0;margin-left:-.75rem;position:absolute;border-left:1px solid #eee}}@media (max-width:992px){.w-sidebar{position:fixed;padding-top:5.5rem!important;z-index:30;height:100%;overflow:auto}.w-sidebar.pt-header{padding-top:1.75rem}.sidebar-hidden{display:none}.h-header{z-index:40;position:fixed;width:100%;margin-top:-3.75rem}.hamburger-menu{display:block}html:not([dir=rtl]) .hamburger-menu{margin-right:1rem}html[dir=rtl] .hamburger-menu{margin-left:1rem}.bg-logo{display:none!important}html:not([dir=rtl]) .h-header .dropdown-trigger{margin-right:-20px}html[dir=rtl] .h-header .dropdown-trigger{margin-left:-20px}.h-header .dropdown-trigger span,.h-header .dropdown-trigger svg{display:none}html:not([dir=rtl]) .h-header .dropdown-trigger img.mr-3{margin-right:2em}html[dir=rtl] .h-header .dropdown-trigger img.mr-3{margin-right:2em}span.hamburger-menu+a{display:none}.h-header .pl-search{width:85%}.content{padding-top:3.75rem;max-width:none}.content .px-view{padding-left:1.125rem;padding-right:1.125rem}.content .py-view{padding-top:1.125rem;padding-bottom:1.125rem}form .w-1\/2{width:80%}form .w-1\/2>div.flex{display:flex;flex-wrap:nowrap}form>.flex{display:block}form>.flex>button{margin-bottom:10px}.content.hide-update-and-continue-editing-button-on-mobile button[dusk$=update-and-continue-editing-button]{display:none}.content form .card>.flex,div[dusk$=detail-component] .card>.flex{display:block}.content form .card>.flex>div,div[dusk$=detail-component] .card>.flex>div{width:100%}.content form .card>.flex>.py-6,div[dusk$=detail-component] .card>.flex>.py-4{padding-top:.5rem;padding-bottom:0}.content form .card>.flex>.py-6,div[dusk$=detail-component] .card>.flex.bg-20>.py-4{padding-bottom:.5rem}.content form .card>.flex>.py-6+.py-6,div[dusk$=detail-component] .card>.flex>.py-4+.py-4{padding-bottom:.5rem}.card>form>div header.flex{display:block}.card>form>div header.flex ul:first-child{border-bottom:1px solid var(--60)}html:not([dir=rtl]) .card>form>div header.flex ul:nth-child(2) button:first-child{border-left:none}html[dir=rtl] .card>form>div header.flex ul:nth-child(2) button:first-child{border-right:none}html:not([dir=rtl]) .card>form>div header.flex ul:nth-child(2) button:last-child{border-right:1px solid var(--60)}html[dir=rtl] .card>form>div header.flex ul:nth-child(2) button:last-child{border-left:1px solid var(--60)}.card>form>div div.pin{z-index:2000}trix-toolbar .trix-button-row{display:inline-block!important}html:not([dir=rtl]) trix-toolbar .trix-button-group{float:left!important}html[dir=rtl] trix-toolbar .trix-button-group{float:right!important}.content .flex-wrap>.w-1\/2,.content .flex-wrap>.w-1\/3,.content .flex-wrap>.w-1\/4,.content .flex-wrap>.w-1\/5,.content .flex-wrap>.w-1\/6,.content .flex-wrap>.w-2\/3,.content .flex-wrap>.w-2\/5,.content .flex-wrap>.w-3\/4,.content .flex-wrap>.w-3\/5,.content .flex-wrap>.w-4\/5,.content .flex-wrap>.w-5\/6{width:100%}.content .card table td.w-1\/2{display:table-row}.btn{white-space:nowrap}div[dusk$=index-component] .pl-search{width:auto}div[dusk$=index-component] .btn[dusk=attach-button],div[dusk$=index-component] .btn[dusk=create-button]{font-weight:bolder;font-size:26px;padding:0 12px;width:39px;overflow:hidden}div[dusk$=index-component] .btn[dusk=attach-button]::before,div[dusk$=index-component] .btn[dusk=create-button]::before{content:"+";position:relative}html:not([dir=rtl]) div[dusk$=index-component] .btn[dusk=attach-button]::before,html:not([dir=rtl]) div[dusk$=index-component] .btn[dusk=create-button]::before{margin-right:20px}html[dir=rtl] div[dusk$=index-component] .btn[dusk=attach-button]::before,html[dir=rtl] div[dusk$=index-component] .btn[dusk=create-button]::before{margin-left:20px}.modal{top:auto}.modal form{width:100%!important}div[dusk$=index-component]>div.card>div.py-3.flex.items-center.border-b.border-50{padding-bottom:.35rem}div[dusk$=detail-component]>div>div.flex.items-center.mb-3{display:block}div[dusk$=detail-component]>div>div.flex.items-center.mb-3>h4{position:absolute}div[dusk$=detail-component]>div>div.flex.items-center.mb-3>div.ml-3.w-full.flex.items-center,div[dusk$=index-component]>div.card>div.py-3.flex.items-center.border-b.border-50>div.flex.items-center.ml-auto.px-3{display:inline-block}div[dusk$=detail-component]>div>div.flex.items-center.mb-3>div.ml-3.w-full.flex.items-center{display:inline-block;padding-top:1.5rem}div[dusk$=detail-component]>div>div.flex.items-center.mb-3>div.ml-3.w-full.flex.items-center>a,div[dusk$=detail-component]>div>div.flex.items-center.mb-3>div.ml-3.w-full.flex.items-center>button,div[dusk$=detail-component]>div>div.flex.items-center.mb-3>div.ml-3.w-full.flex.items-center>div,div[dusk$=index-component]>div.card>div.py-3.flex.items-center.border-b.border-50>div.flex.items-center.ml-auto.px-3>div{display:inline-flex;vertical-align:top;margin-bottom:.4rem}html:not([dir=rtl]) div[dusk$=detail-component]>div>div.flex.items-center.mb-3>div.ml-3.w-full.flex.items-center>div.ml-3{margin-left:0}html[dir=rtl] div[dusk$=detail-component]>div>div.flex.items-center.mb-3>div.ml-3.w-full.flex.items-center>div.ml-3{margin-right:0}}@media (max-width:500px){select[dusk=action-select]{width:8.9rem}}@media (max-width:310px){select[dusk=action-select]{width:5.6rem}}@media (max-height:610px){.z-50.open .scroll-wrap{max-height:270px!important}}@media (max-height:540px){.z-50.open .scroll-wrap{max-height:180px!important}}@media (max-height:440px){.z-50.open .scroll-wrap{max-height:110px!important}}html.dark{background-color:#06090f!important}.dark html{background-color:#0d1117!important;height:auto!important}.dark body{background-color:#06090f!important;height:auto!important}.dark .hamburger-menu:before{background:linear-gradient(to bottom,#fff,#fff 20%,#000 20%,#000 40%,#fff 40%,#fff 60%,#000 60%,#000 80%,#fff 80%,#fff 100%)}.dark .dark-mode-toggle{background-color:#0e1217}.dark #layout-selector .components-container,.dark .bg-white{background-color:#0d1117}.dark .component-layout-selector{border-color:#30383d;background-color:#161c22}.dark .flex .border-60{border-color:#30383d}.dark .flex .bg-white{background-color:#161b22}.dark .w-sidebar *{color:#c9d1d9!important}.dark .bg-logo{background-color:#161b22}.dark .btn-primary{color:#ffff!important}.dark .btn-primary a:visited{color:#ffff}.dark .bg-grad-sidebar{background-image:-webkit-gradient(linear,left bottom,left top,from(#0d1117),to(#0d1117));background-color:#0d1117}.dark .table td{color:#eee;border-color:#30363d}.dark .table th{background-color:#0d1117;color:#eee;border-color:#30363d}.dark .flex.items-center.relative.shadow.h-header.bg-white.z-20.px-view{background-color:#0f1217}.dark .bg-20,.dark .btn-white,.dark .card,.dark .multiselect__spinner{background-color:#161b22}.dark .bg-30{background-color:#161b22}.dark .bg-30:hover{background-color:#060910}.dark .bg-40,.dark .multiselect__content-wrapper,.dark .table tr:hover td,.dark .tooltip{background-color:#0d1117}.dark .border-30{border-color:#30363d}.dark .border-30,.dark .border-40,.dark .border-50{border-color:#30373d}.dark .border-60,.dark .border-70{border-color:#0e1217}.dark .border-80{border-color:#060910}.dark .text-60,.dark .text-70{color:#626a71}.dark .text-80,.dark .text-90{color:#cfd3d8}.dark .relationship-tabs-panel .tab{color:#cfd3d8}.dark .multiselect__content-wrapper,.dark .tooltip{border-color:#161b22;color:#cfd3d8}.dark .form-global-search:active,.dark .form-global-search:focus,.dark .form-input:focus,.dark .form-search:active,.dark .form-search:focus{background-color:#060910}.dark .form-input-bordered,.dark .form-input-row,.dark .form-select,.dark .multiselect,.dark .multiselect__input,.dark .multiselect__single,.dark .multiselect__tags,.dark .tags-input-text{background-color:#0e1217;color:#cfd3d8;border-color:#2e3235}.dark .multiselect__tags{border-color:#2e3235!important}.dark .form-global-search,.dark input{border-color:#535c67;background-color:#161b22;color:#cfd3d8}.dark .form-input-bordered,.dark .multiselect__content-wrapper,.dark .multiselect__tags{border-color:#2e3235}.dark select{color:#cfd3d8}.dark .bg-gray-800{--bg-opacity:1;background-color:#0d1117;background-color:rgba(45,55,72,var(--bg-opacity))}.dark .bg-gray-900{--bg-opacity:1;background-color:#06090f;background-color:rgba(26,32,44,var(--bg-opacity))}.dark .border-gray-700{--border-opacity:1;border-color:#30363d;border-color:rgba(74,85,104,var(--border-opacity))}.dark .text-white{--text-opacity:1;color:#c9d1d9;color:rgba(255,255,255,var(--text-opacity))}.dark .text-gray-400{--text-opacity:1;color:#88929c;color:rgba(203,213,224,var(--text-opacity))} From 10fa7c95002aabd8d7adbc5f153c9937dd464abd Mon Sep 17 00:00:00 2001 From: Eliah Snakin Date: Wed, 23 Feb 2022 00:22:26 +0300 Subject: [PATCH 2/3] =?UTF-8?q?.nova-dark-theme=20=E2=86=92=20.dark?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit To be consistent with TailwindCSS dark mode 'class' strategy https://tailwindcss.com/docs/dark-mode --- dist/js/theme.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/js/theme.js b/dist/js/theme.js index 6723527..2ce2a68 100644 --- a/dist/js/theme.js +++ b/dist/js/theme.js @@ -1 +1 @@ -!function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:o})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=1)}([function(e,t){e.exports=function(e,t,n,o,r,a){var i,d=e=e||{},s=typeof e.default;"object"!==s&&"function"!==s||(i=e,d=e.default);var c,l="function"==typeof d?d.options:d;if(t&&(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0),n&&(l.functional=!0),r&&(l._scopeId=r),a?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},l._ssrRegister=c):o&&(c=o),c){var u=l.functional,f=u?l.render:l.beforeCreate;u?(l._injectStyles=c,l.render=function(e,t){return c.call(t),f(e,t)}):l.beforeCreate=f?[].concat(f,c):[c]}return{esModule:i,exports:d,options:l}}},function(e,t,n){n(2),e.exports=n(13)},function(e,t,n){Nova.booting(function(e,t){e.component("nova-dark-theme-toggle",n(3))}),"true"===localStorage.darkThemeOn?(document.querySelector("html").classList.add("nova-dark-theme"),document.querySelector("body").classList.add("nova-dark-theme")):(document.querySelector("html").classList.remove("nova-dark-theme"),document.querySelector("body").classList.remove("nova-dark-theme")),document.addEventListener("DOMContentLoaded",function(){document.querySelector("meta[name=viewport]").setAttribute("content","width=device-width, initial-scale=1, shrink-to-fit=no"),document.querySelector(".w-sidebar").classList.add("sidebar-hidden");var e=document.createElement("span");e.className="hamburger-menu",document.querySelector(".content .h-header").prepend(e),e.addEventListener("click",function(e){e.stopPropagation(),document.querySelector(".w-sidebar").classList.toggle("sidebar-hidden")},!0),document.querySelectorAll(".w-sidebar a, .w-sidebar .cursor-pointer:not(.nc-head), .w-sidebar .nc-item-link").forEach(function(e){e.addEventListener("click",function(){document.querySelector(".w-sidebar").classList.add("sidebar-hidden")},!1)}),document.querySelectorAll("body,html").forEach(function(e){e.addEventListener("click",function(e){var t=document.querySelector(".w-sidebar");e.target===t||t.contains(e.target)||t.classList.add("sidebar-hidden")})}),Nova.config.mmns&&(document.querySelectorAll(".w-sidebar h4").forEach(function(e){(Nova.config.mmns.hide_all_sidebar_headlines||-1!==Nova.config.mmns.hidden_sidebar_headlines.indexOf(e.textContent))&&e.classList.add("hidden")}),Nova.config.mmns.resource_tables_sticky_actions&&document.querySelectorAll(".content").forEach(function(e){e.classList.add("sticky-actions")}),Nova.config.mmns.resource_tables_sticky_actions_on_mobile&&document.querySelectorAll(".content").forEach(function(e){e.classList.add("sticky-actions-on-mobile")}),Nova.config.mmns.hide_update_and_continue_editing_button&&document.querySelectorAll(".content").forEach(function(e){e.classList.add("hide-update-and-continue-editing-button")}),Nova.config.mmns.hide_update_and_continue_editing_button_on_mobile&&document.querySelectorAll(".content").forEach(function(e){e.classList.add("hide-update-and-continue-editing-button-on-mobile")}),Nova.config.mmns.fixed_sidebar&&document.querySelector("body").classList.add("fixed-sidebar"))},!1)},function(e,t,n){var o=n(0)(n(9),n(12),!1,function(e){n(4)},"data-v-1fda6f16",null);e.exports=o.exports},function(e,t,n){var o=n(5);"string"==typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals),n(7)("7437786e",o,!0,{})},function(e,t,n){(e.exports=n(6)(!1)).push([e.i,".dark-mode-toggle[data-v-1fda6f16]{position:fixed;bottom:0;right:0;width:50px;height:50px;background:#4099de;border-radius:.6rem 0 0;padding:1rem .6rem .6rem .8rem}.nova-dark-theme .dark-mode-toggle[data-v-1fda6f16]{background:#161c22}.dark-mode-toggle[data-v-1fda6f16]:hover{background-color:#297ec0}.dark-mode-toggle[data-v-1fda6f16]:focus{outline:none}.nova-dark-theme .dark-mode-toggle[data-v-1fda6f16]:hover{background:#0e1217}.dark-mode-active[data-v-1fda6f16]{margin-bottom:-2px;color:#ffc107}.dark-mode-disabled[data-v-1fda6f16]{margin-bottom:-2px;-webkit-transform:rotate(180deg);transform:rotate(180deg);color:rgb(255 255 255)}",""])},function(e,t){e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n=function(e,t){var n,o=e[1]||"",r=e[3];if(!r)return o;if(t&&"function"==typeof btoa){var a=(n=r,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),i=r.sources.map(function(e){return"/*# sourceURL="+r.sourceRoot+e+" */"});return[o].concat(i).concat([a]).join("\n")}return[o].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n}).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var o={},r=0;rn.parts.length&&(o.parts.length=n.parts.length)}else{var i=[];for(r=0;rn.parts.length&&(o.parts.length=n.parts.length)}else{var i=[];for(r=0;r Date: Wed, 23 Feb 2022 01:05:02 +0300 Subject: [PATCH 3/3] Fix accidental nova-dark-theme-toggle replace --- dist/js/theme.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/js/theme.js b/dist/js/theme.js index 2ce2a68..559157d 100644 --- a/dist/js/theme.js +++ b/dist/js/theme.js @@ -1 +1 @@ -!function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:o})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=1)}([function(e,t){e.exports=function(e,t,n,o,r,a){var i,d=e=e||{},s=typeof e.default;"object"!==s&&"function"!==s||(i=e,d=e.default);var c,l="function"==typeof d?d.options:d;if(t&&(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0),n&&(l.functional=!0),r&&(l._scopeId=r),a?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},l._ssrRegister=c):o&&(c=o),c){var u=l.functional,f=u?l.render:l.beforeCreate;u?(l._injectStyles=c,l.render=function(e,t){return c.call(t),f(e,t)}):l.beforeCreate=f?[].concat(f,c):[c]}return{esModule:i,exports:d,options:l}}},function(e,t,n){n(2),e.exports=n(13)},function(e,t,n){Nova.booting(function(e,t){e.component("dark-toggle",n(3))}),"true"===localStorage.darkThemeOn?(document.querySelector("html").classList.add("dark"),document.querySelector("body").classList.add("dark")):(document.querySelector("html").classList.remove("dark"),document.querySelector("body").classList.remove("dark")),document.addEventListener("DOMContentLoaded",function(){document.querySelector("meta[name=viewport]").setAttribute("content","width=device-width, initial-scale=1, shrink-to-fit=no"),document.querySelector(".w-sidebar").classList.add("sidebar-hidden");var e=document.createElement("span");e.className="hamburger-menu",document.querySelector(".content .h-header").prepend(e),e.addEventListener("click",function(e){e.stopPropagation(),document.querySelector(".w-sidebar").classList.toggle("sidebar-hidden")},!0),document.querySelectorAll(".w-sidebar a, .w-sidebar .cursor-pointer:not(.nc-head), .w-sidebar .nc-item-link").forEach(function(e){e.addEventListener("click",function(){document.querySelector(".w-sidebar").classList.add("sidebar-hidden")},!1)}),document.querySelectorAll("body,html").forEach(function(e){e.addEventListener("click",function(e){var t=document.querySelector(".w-sidebar");e.target===t||t.contains(e.target)||t.classList.add("sidebar-hidden")})}),Nova.config.mmns&&(document.querySelectorAll(".w-sidebar h4").forEach(function(e){(Nova.config.mmns.hide_all_sidebar_headlines||-1!==Nova.config.mmns.hidden_sidebar_headlines.indexOf(e.textContent))&&e.classList.add("hidden")}),Nova.config.mmns.resource_tables_sticky_actions&&document.querySelectorAll(".content").forEach(function(e){e.classList.add("sticky-actions")}),Nova.config.mmns.resource_tables_sticky_actions_on_mobile&&document.querySelectorAll(".content").forEach(function(e){e.classList.add("sticky-actions-on-mobile")}),Nova.config.mmns.hide_update_and_continue_editing_button&&document.querySelectorAll(".content").forEach(function(e){e.classList.add("hide-update-and-continue-editing-button")}),Nova.config.mmns.hide_update_and_continue_editing_button_on_mobile&&document.querySelectorAll(".content").forEach(function(e){e.classList.add("hide-update-and-continue-editing-button-on-mobile")}),Nova.config.mmns.fixed_sidebar&&document.querySelector("body").classList.add("fixed-sidebar"))},!1)},function(e,t,n){var o=n(0)(n(9),n(12),!1,function(e){n(4)},"data-v-1fda6f16",null);e.exports=o.exports},function(e,t,n){var o=n(5);"string"==typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals),n(7)("7437786e",o,!0,{})},function(e,t,n){(e.exports=n(6)(!1)).push([e.i,".dark-mode-toggle[data-v-1fda6f16]{position:fixed;bottom:0;right:0;width:50px;height:50px;background:#4099de;border-radius:.6rem 0 0;padding:1rem .6rem .6rem .8rem}.dark .dark-mode-toggle[data-v-1fda6f16]{background:#161c22}.dark-mode-toggle[data-v-1fda6f16]:hover{background-color:#297ec0}.dark-mode-toggle[data-v-1fda6f16]:focus{outline:none}.dark .dark-mode-toggle[data-v-1fda6f16]:hover{background:#0e1217}.dark-mode-active[data-v-1fda6f16]{margin-bottom:-2px;color:#ffc107}.dark-mode-disabled[data-v-1fda6f16]{margin-bottom:-2px;-webkit-transform:rotate(180deg);transform:rotate(180deg);color:rgb(255 255 255)}",""])},function(e,t){e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n=function(e,t){var n,o=e[1]||"",r=e[3];if(!r)return o;if(t&&"function"==typeof btoa){var a=(n=r,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),i=r.sources.map(function(e){return"/*# sourceURL="+r.sourceRoot+e+" */"});return[o].concat(i).concat([a]).join("\n")}return[o].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n}).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var o={},r=0;rn.parts.length&&(o.parts.length=n.parts.length)}else{var i=[];for(r=0;rn.parts.length&&(o.parts.length=n.parts.length)}else{var i=[];for(r=0;r