From 0b8749a492d2814d935e2fa43e06b05622d88c5d Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Fri, 7 Nov 2014 01:37:31 +0100 Subject: [PATCH] try to get a bit more of an LCARS style into the new in-content prefs --- .../preferences/in-content/preferences.css | 34 ++++++++++++++++--- 1 file changed, 29 insertions(+), 5 deletions(-) diff --git a/LCARStrek/browser/preferences/in-content/preferences.css b/LCARStrek/browser/preferences/in-content/preferences.css index e01d97ed..ac81fcd7 100644 --- a/LCARStrek/browser/preferences/in-content/preferences.css +++ b/LCARStrek/browser/preferences/in-content/preferences.css @@ -31,13 +31,25 @@ caption > label { } .main-content { - padding: 10px 20px 0px; + padding: 1.5em 0 0; /* That padding needs to match the upper stripe. */ overflow: auto; + + /* This actually results in two black boxes extending to the right and bottom, + * leaving the LCARS-gray background only in a top stripe and + * a bit larger area on the top left. + * The prefpane will overlay that with the rounded shape we want. */ + background-color: #A09090; + background-position: 3em 1.5em, 0px 5em; + background-image: linear-gradient(0deg, #000, #000), linear-gradient(0deg, #000, #000); + background-repeat: no-repeat; } prefpane { + padding: 10px 20px 0px; + border-radius: 1em 0 0 0; + background-color: #000000; + max-width: 800px; - padding: 0; font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif; font-size: 1.25rem; line-height: 22px; @@ -260,9 +272,10 @@ radio { #categories { background-color: #A09090; - padding-top: 39px; + padding-top: 4em; margin: 0; border-radius: 1em 0 0 0; + border: none; } .category { @@ -501,8 +514,19 @@ filefield { height: 500px; } -#handersView > listheader > treecol { - border-radius: 0; +#handlersView > listheader { + border: none; + background: transparent; + padding: 0; +} + +#handlersView > listheader > treecol { +} + +#handlersView > scrollbox { + border-left: 1px solid #9C9CFF; + border-right: 1px solid #9C9CFF; + border-bottom: 1px solid #9C9CFF; } #typeColumn, -- 2.43.0