From a5a09d30b8b097d35d7a95943e7d32bc930cd47b Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Wed, 30 Oct 2024 14:37:00 +0200 Subject: [PATCH] less ref --- frontend/less/espo/bootstrap/close.less | 23 ++------------- frontend/less/espo/bootstrap/code.less | 5 ---- frontend/less/espo/bootstrap/variables.less | 32 --------------------- 3 files changed, 2 insertions(+), 58 deletions(-) diff --git a/frontend/less/espo/bootstrap/close.less b/frontend/less/espo/bootstrap/close.less index a12d98a419..2ac0b84c52 100644 --- a/frontend/less/espo/bootstrap/close.less +++ b/frontend/less/espo/bootstrap/close.less @@ -3,30 +3,11 @@ .close { float: right; font-size: calc(var(--font-size-base) * 1.5); - font-weight: @close-font-weight; + font-weight: bold; line-height: 1; - color: @close-color; - text-shadow: @close-text-shadow; - .opacity(.2); - // Espo-fix - &:hover/*, - &:focus */{ - color: @close-color; + &:hover { text-decoration: none; cursor: pointer; - .opacity(.5); - } - - // Additional properties for button version - // iOS requires the button element instead of an anchor tag. - // If you want the anchor version, it requires `href="#"`. - // See https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile - button& { - padding: 0; - cursor: pointer; - background: transparent; - border: 0; - -webkit-appearance: none; } } diff --git a/frontend/less/espo/bootstrap/code.less b/frontend/less/espo/bootstrap/code.less index d79b7a820a..0a26f70da3 100644 --- a/frontend/less/espo/bootstrap/code.less +++ b/frontend/less/espo/bootstrap/code.less @@ -56,8 +56,3 @@ pre { } } -// Enable scrollable blocks of code -.pre-scrollable { - max-height: @pre-scrollable-max-height; - overflow-y: scroll; -} diff --git a/frontend/less/espo/bootstrap/variables.less b/frontend/less/espo/bootstrap/variables.less index 48e4725357..8cf88c4883 100644 --- a/frontend/less/espo/bootstrap/variables.less +++ b/frontend/less/espo/bootstrap/variables.less @@ -179,38 +179,6 @@ @list-group-disabled-bg: @gray-lighter; @list-group-disabled-text-color: @list-group-disabled-color; -// Carousel - -@carousel-text-shadow: 0 1px 2px rgba(0,0,0,.6); - -@carousel-control-color: #fff; -@carousel-control-width: 15%; -@carousel-control-opacity: .5; -@carousel-control-font-size: 20px; - -@carousel-indicator-active-bg: #fff; -@carousel-indicator-border-color: #fff; - -@carousel-caption-color: #fff; - - -//== Close -// -//## - -@close-font-weight: bold; -@close-color: #000; -@close-text-shadow: 0 1px 0 #fff; - - -//== Code - -@pre-scrollable-max-height: 340px; - - -//== Type -// -//## //** Horizontal offset for forms and lists. @component-offset-horizontal: 180px;