From 7cc0ecc9c2f484c3ea5f389f6756503f4000a86d Mon Sep 17 00:00:00 2001 From: ADmad Date: Thu, 16 Jul 2020 17:48:11 +0530 Subject: [PATCH] Cleanup CSS. Remove glyphicons. --- webroot/css/local.css | 43 ++++++++++++++++++++----------------------- 1 file changed, 20 insertions(+), 23 deletions(-) diff --git a/webroot/css/local.css b/webroot/css/local.css index c3ae74f8..94b1ad82 100644 --- a/webroot/css/local.css +++ b/webroot/css/local.css @@ -1,37 +1,28 @@ -/****************************************************************************** - * Use cloudflare's glyphicons - *****************************************************************************/ -@font-face { - font-family: 'Glyphicons Halflings'; - - src: url('https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.4/fonts/glyphicons-halflings-regular.eot'); - src: url('https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.4/fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), - url('https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.4/fonts/glyphicons-halflings-regular.woff2') format('woff2'), - url('https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.4/fonts/glyphicons-halflings-regular.woff') format('woff'), - url('https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.4/fonts/glyphicons-halflings-regular.ttf') format('truetype'), - url('https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.4/fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg'); -} - - /****************************************************************************** * Generic form hacks *****************************************************************************/ + .bulk-action { width: 32px; } + .bulk-action .checkbox { margin-bottom: 0; } + .bulk-action-submit { width: 50%; } + .bulk-action-submit label { width: auto; } + .bulk-action-submit select { display: inline-block; width: 50%; } + .bulk-action-submit input { width: auto; } @@ -74,36 +65,42 @@ h2 .actions { } .text-truncate { - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; } + .gallery-content { text-align: center; } + .pagination-wrapper { clear: both; margin: 20px 0; text-align: center; } + .download-links { float: left; } + .pagination-container { float: right } + .pagination-container .pagination { margin: 0; } + table tr td.actions { white-space: nowrap; width: 1px; } .nav > li > .nav-header { - border-radius: 4px; - display: block; - font-weight: bold; - padding: 10px 15px; - position: relative; + border-radius: 4px; + display: block; + font-weight: bold; + padding: 10px 15px; + position: relative; }