From 9b16504485a14b477aa00ae33a43d91e7e4ce9e6 Mon Sep 17 00:00:00 2001 From: Simone <26844016+simonebortolin@users.noreply.github.com> Date: Fri, 30 Dec 2022 17:54:00 +0100 Subject: Streamlining of customisations: migration of numerous functionalities to the JTD fork and add new functionalities implemented by JTD fork (#75) * use form validation by jdt * migrate theme-switch to new version of jtd * Use new feature of jdt * streamlining of customisations: migrate, aux button, modal and theme switch to fork JTD * fix * fix Co-authored-by: Simone Bortolin --- _sass/custom/custom.scss | 120 ----------------------------------------------- 1 file changed, 120 deletions(-) (limited to '_sass') diff --git a/_sass/custom/custom.scss b/_sass/custom/custom.scss index ec35a97..9651d11 100644 --- a/_sass/custom/custom.scss +++ b/_sass/custom/custom.scss @@ -59,111 +59,6 @@ ul.metadata { } } } - -[data-toogle] { - - cursor: pointer; -} - -.modal { - display: none; - position: fixed; - z-index: 100; - left: 0; - top: 0; - width: 100%; - height: 100%; - overflow: auto; - background-color: rgba(0,0,0,0.4); - - .modal-content { - border: $border $border-color; - position: relative; - background-color: $body-background-color; - width: unquote("min(500px, calc(100vw - 40px))"); - padding: 0; - margin: 40px auto; - animation-name: animatetop; - animation-duration: 0.4s; - - - - - .modal-header { - padding: 2px $spacing-unit; - margin-left: 1.5 * $spacing-unit; - - h2, .close { - font-size: 1.5 * $spacing-unit !important; - margin-top: 1.5 * $spacing-unit; - margin-bottom: 1.5 * $spacing-unit; - line-height: 1; - } - h2 { - margin-right: 1.5 * $spacing-unit; - } - - .close { - color: $nav-child-link-color; - float: right; - font-weight: bold; - cursor: pointer; - - &:hover { - color: $link-color; - } - } - } - - div.modal-body {padding: 2px $spacing-unit;} - - .modal-footer { - padding: 2px $spacing-unit; - color: $body-text-color; - } - - ul.modal-body { - padding: 0; - margin: 0; - - >li{ - - padding: 10px; - margin: -1px; - border-width: 1px 1px 1px 3px; - border-style: solid; - border-color: $border-color; - - &:hover { - border-left-color: $link-color; - } - - &::before { - content: ''; - } - - - >a { - color: $body-text-color; - text-decoration: none; - border: 0; - background: none; - display: flex; - align-items: center; - - &:hover { - color: $link-color; - } - - img { - margin-right: 10px; - } - } - - } - } - } -} /* Add Animation */ @keyframes animatetop { @@ -192,21 +87,6 @@ figure { width: 100%; } -.site-button img { - height: 20px; - vertical-align: middle; - margin-left: 10px; - width: auto; -} - -.site-button svg { - height: 20px; - vertical-align: middle; - margin-left: 10px; - width: 20px; -} - - .animated { svg { width: 100px; -- cgit v1.2.3