From c9e4839582c6ddc3a3b7c8cfd2ae5502c33bc383 Mon Sep 17 00:00:00 2001 From: Bilal Ahmad Khan <49161285+bilalkhan13@users.noreply.github.com> Date: Wed, 20 Dec 2023 05:47:05 +0500 Subject: [PATCH] Update fonts.css (#3584) Applied the dry methodology & sort the classes according to the font size --- css/fonts.css | 77 ++++++++++++--------------------------------------- 1 file changed, 17 insertions(+), 60 deletions(-) diff --git a/css/fonts.css b/css/fonts.css index c5db22014b..e946497b68 100644 --- a/css/fonts.css +++ b/css/fonts.css @@ -1,86 +1,43 @@ -.elfinder-font-mono { - font-family: "Ricty Diminished", "Myrica M", Consolas, "Courier New", Courier, Monaco, monospace; - font-size: 1.1em; -} - -.elfinder-contextmenu .elfinder-contextmenu-item span { - font-size: .72em; -} - -.elfinder-cwd-view-icons .elfinder-cwd-filename { - font-size: .7em; -} - -.elfinder-cwd-view-list td { - font-size: .7em; +.dialogelfinder .dialogelfinder-drag, .elfinder-place-drag .elfinder-navbar-dir, +.elfinder-quicklook-preview-text-wrapper, .elfinder-info-tb { + font-size: .9em; } .std42-dialog .ui-dialog-titlebar { font-size: .82em; } -.std42-dialog .ui-dialog-content { - font-size: .72em; +.elfinder-button-search input { + font-size: .8em; } -.std42-dialog .ui-dialog-buttonpane { +.std42-dialog .ui-dialog-buttonpane, .elfinder-toast { font-size: .76em; } -.elfinder-info-tb { - font-size: .9em; -} - -.elfinder-upload-dropbox { - font-size: 1.2em; -} - -.elfinder-upload-dialog-or { - font-size: 1.2em; -} - -.dialogelfinder .dialogelfinder-drag { - font-size: .9em; -} - -.elfinder .elfinder-navbar { +.elfinder-contextmenu .elfinder-contextmenu-item span, .std42-dialog .ui-dialog-content, .elfinder .elfinder-navbar, + .elfinder-quicklook-info-data, .elfinder-button-menu-item, { font-size: .72em; } -.elfinder-place-drag .elfinder-navbar-dir { - font-size: .9em; -} - -.elfinder-quicklook-title { +.elfinder-cwd-view-icons .elfinder-cwd-filename, .elfinder-cwd-view-list td, .elfinder-quicklook-title, +.elfinder-statusbar div { font-size: .7em; - font-weight: normal; -} - -.elfinder-quicklook-info-data { - font-size: .72em; -} - -.elfinder-quicklook-preview-text-wrapper { - font-size: .9em; -} - -.elfinder-button-menu-item { - font-size: .72em; } -.elfinder-button-search input { - font-size: .8em; +.elfinder-upload-dropbox, .elfinder-upload-dialog-or { + font-size: 1.2em; } -.elfinder-statusbar div { - font-size: .7em; +.elfinder-font-mono { + font-family: "Ricty Diminished", "Myrica M", Consolas, "Courier New", Courier, Monaco, monospace; + font-size: 1.1em; } .elfinder-drag-num { font-size: 12px; } -.elfinder-toast { - font-size: .76em; +.elfinder-quicklook-title { + font-weight: normal; } -