From cf84154ee09d9bc706a0343d03600f6ebfbde7a1 Mon Sep 17 00:00:00 2001 From: raghunayyar Date: Sun, 6 Oct 2013 23:38:24 +0530 Subject: [PATCH] Cleans up Core apps for relative(em) to absolute(px) styles. --- apps/files_external/css/settings.css | 4 ++-- apps/files_sharing/css/public.css | 28 ++++++++++++++-------------- apps/files_versions/css/versions.css | 2 +- apps/user_ldap/css/settings.css | 2 +- 4 files changed, 18 insertions(+), 18 deletions(-) diff --git a/apps/files_external/css/settings.css b/apps/files_external/css/settings.css index f2f40247b2..4a32ac4153 100644 --- a/apps/files_external/css/settings.css +++ b/apps/files_external/css/settings.css @@ -16,8 +16,8 @@ span.waiting { background: none; } -td.mountPoint, td.backend { width:10em; } -td.remove>img { visibility:hidden; padding-top:0.8em; } +td.mountPoint, td.backend { width:160px; } +td.remove>img { visibility:hidden; padding-top:13px; } tr:hover>td.remove>img { visibility:visible; cursor:pointer; } #addMountPoint>td { border:none; } #addMountPoint>td.applicable { visibility:hidden; } diff --git a/apps/files_sharing/css/public.css b/apps/files_sharing/css/public.css index 3aa4a48304..70345c3577 100644 --- a/apps/files_sharing/css/public.css +++ b/apps/files_sharing/css/public.css @@ -4,14 +4,14 @@ body { #header { background: #1d2d44 url('%webroot%/core/img/noise.png') repeat; - height:2.5em; + height:40px; left:0; - line-height:2.5em; + line-height:40px; position:fixed; right:0; top:0; z-index:100; - padding:.5em; + padding:8px; } #details { @@ -22,7 +22,7 @@ body { #public_upload, #download { font-weight:700; - margin: 0 0.4em 0 0; + margin: 0 6px 0 0; padding: 0 5px; height: 27px; float: left; @@ -30,38 +30,38 @@ body { } .header-right #details { - margin-right: 2em; + margin-right: 32px; } #public_upload { - margin-left: 0.3em; + margin-left: 5px; } #public_upload img, #download img { - padding-left:.1em; - padding-right:.3em; + padding-left:2px; + padding-right:5px; vertical-align:text-bottom; } #preview { background:#eee; border-bottom:1px solid #f8f8f8; - min-height:30em; + min-height:480px; text-align:center; margin:45px auto; } #noPreview { display:none; - padding-top:5em; + padding-top:90px; } p.info { color:#777; text-align:center; - width:22em; - margin:2em auto; + width:352px; + margin:32px auto; } p.info a { @@ -71,8 +71,8 @@ p.info a { #imgframe { height:75%; - padding-bottom:2em; - padding-top:2em; + padding-bottom:32px; + padding-top:32px; width:80%; margin:0 auto; } diff --git a/apps/files_versions/css/versions.css b/apps/files_versions/css/versions.css index c53935711c..8838ea8484 100644 --- a/apps/files_versions/css/versions.css +++ b/apps/files_versions/css/versions.css @@ -1,5 +1,5 @@ #dropdown.drop-versions { - width:24em; + width:384em; } #found_versions li { diff --git a/apps/user_ldap/css/settings.css b/apps/user_ldap/css/settings.css index 6086c7b74e..55ca503adf 100644 --- a/apps/user_ldap/css/settings.css +++ b/apps/user_ldap/css/settings.css @@ -22,6 +22,6 @@ } .ldapwarning { - margin-left: 1.4em; + margin-left: 22px; color: #FF3B3B; }