From 3d0a39857cc06c0b9743e9e2017038584d4476b6 Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Mon, 9 Dec 2024 14:30:32 +0100 Subject: [PATCH] Remove unused css --- public/css/common.less | 55 ---------------------------------- public/css/list/item-list.less | 14 --------- public/css/list/user-list.less | 26 ---------------- 3 files changed, 95 deletions(-) delete mode 100644 public/css/list/user-list.less diff --git a/public/css/common.less b/public/css/common.less index f16daf1fa..f5d5d8cbf 100644 --- a/public/css/common.less +++ b/public/css/common.less @@ -109,25 +109,6 @@ div.show-more { margin-bottom: 0; } - .item-list { - width: 100%; - - .list-item .main { - border-top: none; - } - - .list-item .visual { - width: auto; - margin-top: 0; - } - - .list-item .visual, - .list-item .main { - padding-bottom: .25em; - padding-top: .25em; - } - } - .search-controls .continue-with { margin-right: -.5em; margin-left: .5em; @@ -347,42 +328,6 @@ div.show-more { } } -.controls .hostgroup-table-row, -.controls .servicegroup-table-row, -.controls .usergroup-table-row, -.controls .user-table-row { - .title .column-content { - display: inline-flex; - align-items: center; - - > :first-child { - flex: 0 1 auto; - } - - > :last-child { - flex: 1 1 auto; - } - - .subject { - margin-right: .5em; - } - } - - .vertical-key-value { - br { - display: none; - } - - .key { - padding-left: .417em; - } - - .value { - vertical-align: middle; - } - } -} - .history-list { .visual.small-state-change .state-change { padding-top: .25em; diff --git a/public/css/list/item-list.less b/public/css/list/item-list.less index 251eec312..8577b7184 100644 --- a/public/css/list/item-list.less +++ b/public/css/list/item-list.less @@ -138,17 +138,3 @@ } } } - -.controls .item-list:not(.detailed):not(.minimal) .list-item { - .plugin-output { - line-height: 1.5 - } - - .caption { - height: 2.5em; - } -} - -.controls .item-list.minimal .icon-image { - margin-top: 0; -} diff --git a/public/css/list/user-list.less b/public/css/list/user-list.less deleted file mode 100644 index 078d1b94c..000000000 --- a/public/css/list/user-list.less +++ /dev/null @@ -1,26 +0,0 @@ -// Layout - -.controls .user-list, -.controls .usergroup-list { - .usergroup-ball, - .user-ball { - height: 1.5em; - width: 1.5em; - line-height: ~"calc(1.5em - 4px)"; - display: block; - } - - .title br { - display: none; - } - - .list-item { - & > .visual { - padding-top: 0.25em; - } - - & > .col { - padding: .25em 0; - } - } -}