From e6aaa7aa33aec02d85957ddf801d638e11935067 Mon Sep 17 00:00:00 2001 From: Dmitrii Fediuk Date: Sun, 14 Apr 2024 23:54:31 +0100 Subject: [PATCH] https://github.com/cabinetsbay/site/issues/119 --- .../web/css/source/extend/_category-view.less | 23 ------------------- 1 file changed, 23 deletions(-) diff --git a/app/design/frontend/Cabinetsbay/cabinetsbay_default/web/css/source/extend/_category-view.less b/app/design/frontend/Cabinetsbay/cabinetsbay_default/web/css/source/extend/_category-view.less index 14ed58d..baa5b48 100644 --- a/app/design/frontend/Cabinetsbay/cabinetsbay_default/web/css/source/extend/_category-view.less +++ b/app/design/frontend/Cabinetsbay/cabinetsbay_default/web/css/source/extend/_category-view.less @@ -6,25 +6,20 @@ border-bottom: 1px solid #689aa5; padding-bottom: 2em; margin-bottom: 2em; - & > .content { & > .category-info { display: flex; @media screen and (max-width: 680px) { display: block; } - & > .category-tab-left { width: 48%; } - & > .category-tab-right { padding-left: 2em; width: 52%; - & > .category-description { margin-bottom: 0; - & > h3 { margin: 0 0 .3em; background-color: #cceaec; @@ -34,25 +29,19 @@ background-size: 1.3em; background-repeat: no-repeat; padding: .4em 2.1em; - &:first-of-type { background-image: url("data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9JzEwMHB4JyB3aWR0aD0nMTAwcHgnICBmaWxsPSIjMjYyOTM5IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGRhdGEtbmFtZT0iTGF5ZXIgMSIgdmlld0JveD0iMCAwIDEwMCAxMDAiIHg9IjBweCIgeT0iMHB4Ij48dGl0bGU+M0FydGJvYXJkIDIyPC90aXRsZT48cGF0aCBkPSJNNSw4M2E5LDksMCwxLDEsOSw5QTksOSwwLDAsMSw1LDgzWm05LTU3YTksOSwwLDEsMC05LTlBOSw5LDAsMCwwLDE0LDI2Wm0wLDMzYTksOSwwLDEsMC05LTlBOSw5LDAsMCwwLDE0LDU5Wk00NCwyM0g4OWE2LDYsMCwwLDAsMC0xMkg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MS44NzksMTIwLjQ3IEwxMTEuOTk5LDEyMS4wNCBDMTEyLjAzOSwxMjEuMjM2IDExMi4wNzksMTIxLjQzMyAxMTIuMTE4LDEyMS42MjkgQzExMi4xMjEsMTIxLjYzMSAxMTIuMTIzLDEyMS42MzMgMTEyLjEyNSwxMjEuNjM2IEMxMTIuMTI3LDEyMS42NDIgMTEyLjEyOCwxMjEuNjQ4IDExMi4xMjksMTIxLjY1NCBDMTEyLjM5OSwxMjEuOTIgMTEyLjY3LDEyMi4xODUgMTEyLjk0LDEyMi40NSBDMTEzLjIwNywxMjIuNzE3IDExMy40NzQsMTIyLjk4NCAxMTMuNzQxLDEyMy4yNTEgQzExMy43NDcsMTIzLjI1MyAxMTMuNzUzLDEyMy4yNTQgMTEzLjc2LDEyMy4yNTUgQzExMy43NjIsMTIzLjI1OCAxMTMuNzY1LDEyMy4yNiAxMTMuNzY3LDEyMy4yNjIgQzExMy45NjMsMTIzLjMgMTE0LjE2LDEyMy4zMzggMTE0LjM1NiwxMjMuMzc1IEwxMTQuOTI4LDEyMy40OTEgTDEzMi41MzksMTIzLjQ5MSBDMTM0LjIyMywxMjMuNDkxIDEzNS41ODksMTIyLjEyNiAxMzUuNTg5LDEyMC40NDIgQzEzNS41ODksMTE4Ljc1OCAxMzQuMjIzLDExNy4zOTIgMTMyLjUzOSwxMTcuMzkyIEwxMTcuOTc3LDExNy4zOTIgTDExNy45NzcsOTMuNjQ5IEMxMTcuOTYyLDkxLjk2NiAxMTYuNTg0LDkwLjYxMyAxMTQuOSw5MC42MjggeiIgZmlsbD0iIzI2MjkzOSI+PC9wYXRoPjwvZz48L3N2Zz4="); } } - & table { margin: 0 0 .3em; - & tr { margin-bottom: 1em; - & td { padding: 0; - &:first-child { width: 22%; min-width: 7em; @@ -60,14 +49,11 @@ } } } - & p { margin: 0; } } - & > .category-subdescription { - & a { color: #232a3a; background-color: #cceaec; @@ -75,12 +61,10 @@ margin: .4em; font-size: 1.4em; padding: .2em; - &:hover { text-decoration: none; } } - & > a:last-of-type { display: block; margin: 0; @@ -91,7 +75,6 @@ margin: 0; border-radius: .4em; } - & > i { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8IS0tIENyZWF0b3I6IENvcmVsRFJBVyAyMDE3IC0tPg0KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbDpzcGFjZT0icHJlc2VydmUiIHdpZHRoPSI5OXB4IiBoZWlnaHQ9IjEwMHB4IiB2ZXJzaW9uPSIxLjEiIHN0eWxlPSJzaGFwZS1yZW5kZXJpbmc6Z2VvbWV0cmljUHJlY2lzaW9uOyB0ZXh0LXJlbmRlcmluZzpnZW9tZXRyaWNQcmVjaXNpb247IGltYWdlLXJlbmRlcmluZzpvcHRpbWl6ZVF1YWxpdHk7IGZpbGwtcnVsZTpldmVub2RkOyBjbGlwLXJ1bGU6ZXZlbm9kZCINCnZpZXdCb3g9IjAgMCA0LjM3IDQuMzkiDQogeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPg0KIDxkZWZzPg0KICA8c3R5bGUgdHlwZT0idGV4dC9jc3MiPg0KICAgPCFbQ0RBVEFbDQogICAgLmZpbDAge2ZpbGw6IzIzMkEzQX0NCiAgIF1dPg0KICA8L3N0eWxlPg0KIDwvZGVmcz4NCiA8ZyBpZD0iTGF5ZXJfeDAwMjBfMSI+DQogIDxtZXRhZGF0YSBpZD0iQ29yZWxDb3JwSURfMENvcmVsLUxheWVyIi8+DQogIDxnIGlkPSJfMTY2Nzk2MzIzMDY3MiI+DQogICA8cGF0aCBjbGFzcz0iZmlsMCIgZD0iTTQuMz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6Ii8+DQogIDwvZz4NCiA8L2c+DQo8L3N2Zz4NCg=="); background-position: center; @@ -106,16 +89,13 @@ margin-left: .5em; } } - & > .table-view { display: table; width: 100%; border-spacing: 1em; - @media screen and (max-width: 680px) { border-spacing: 0; } - & > a { display: table-cell; width: calc(50% - 1.8em); @@ -130,12 +110,10 @@ } } - @media screen and (max-width: 680px) { padding-left: 0; } } - & > .category-tab-left, & > .category-tab-right { @media screen and (max-width: 680px) { float: none; @@ -148,7 +126,6 @@ margin-bottom: 0; } } - &.category-tab-specifications { & table { &:first-of-type {