From: Jan-Christoph Borchardt Date: Sun, 17 Apr 2011 14:24:59 +0000 (+0200) Subject: removed HTML from CSS I put there last time. Also fixed header and navigation X-Git-Tag: v3.0~267^2~558^2~85^2~6 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c192af186d0d193bb5d66efd8f6b64ab3bb51f3e;p=nextcloud-server.git removed HTML from CSS I put there last time. Also fixed header and navigation --- diff --git a/css/styles.css b/css/styles.css index 0ee0e14bfb5..8f8fa693f10 100644 --- a/css/styles.css +++ b/css/styles.css @@ -1,7 +1,9 @@ * { margin:0; padding:0; border:0; } body { background-color:#fefefe; background-image:url('../img/body_background.jpg'); background-repeat:repeat-y; background-position:left top; line-height:1.6em; font:normal 80% "Lucida Grande", Arial, Verdana, sans-serif; color:#000; } -#header { height:70px; padding:0.5em 1.5em; background-image:url('../img/header.png'); background-repeat:repeat-x; background-position:left top; } -#body-settings #header { background-image:url('../img/header-settings.png'); } +#header { position:fixed; width:100%; height:5.5em; padding:0.5em 1.5em; background-image:url('../img/header-a.png'); background-repeat:repeat-x; background-position:left top; } +#plugins { position:fixed; } +#main { margin-top:7em; } +#body-settings #header { background-image:url('../img/header-settings-a.png'); } #owncloud { float:left; margin:0 0 0 2em; } h1 { margin:1em 3em 1em 0; border-bottom:1px solid #666; text-transform:uppercase; font-weight:normal; font-style:italic; color:#666; } p.center { text-align:center; } @@ -46,58 +48,13 @@ form a { color:#000; text-decoration:none; } #login input { width:8em; margin:0.1em; padding:0.2em 0.5em; border:1px solid #ddd; -moz-border-radius:15px; -webkit-border-radius:15px; border-radius:15px; font-size:2em; color:#666; } #login input:hover, #login input:focus { outline:0; } #login input[type='submit'] { width:5em; border:1px solid #ddd; background-color:#fff; font-size:2em; } -#login input[type= - - - - ownCloud - - - - - - - - - - -
- ownCloud -
- -
- - -
-
- MySQL Database - - - -
-
- Advanced ▾ -
-

- -

-

-
-
-
-

-
-
-
-

ownCloud is a personal cloud which runs on your own server.

- - 'submit']:hover, #login input[type=submit]:focus { background-color:#ccc; outline:0; } +#login input[type='submit']:hover, #login input[type=submit]:focus { background-color:#ccc; outline:0; } /* META NAVIGATION (Settings, Log out) ---------------------------------------------------------------- */ -#metanav { float:right; position:relative; top:1.5em; list-style:none; margin:0; padding:0; } +#metanav { float:right; position:relative; top:1.5em; right:2.5em; list-style:none; margin:0; padding:0; } #metanav li { display:inline; } #metanav li a { margin:.1em; padding:1em; } -#metanav li a:hover, #metanav li a:focus { background:rgba(0,0,0,.5); -moz-border-radius:5px; -webkit-border-radius:5px; border-radius:5px; outline:0; box-shadow:#444 0 1px 0; -moz-box-shadow:#444 0 1px 0; -webkit-box-shadow:#444 0 1px 0; } +#metanav li a:hover, #metanav li a:focus { background:rgba(0,0,0,.5); -moz-border-radius:5px; -webkit-border-radius:5px; border-radius:5px; outline:0; box-shadow:#555 0 1px 0; -moz-box-shadow:#555 0 1px 0; -webkit-box-shadow:#555 0 1px 0; } #metanav li a img { vertical-align:middle; } /* PLUGINS MENU ------------------------------------------------------------- */ diff --git a/img/header-a.png b/img/header-a.png new file mode 100644 index 00000000000..46fb0977ee2 Binary files /dev/null and b/img/header-a.png differ diff --git a/img/header-settings-a.png b/img/header-settings-a.png new file mode 100644 index 00000000000..a72271be6a4 Binary files /dev/null and b/img/header-settings-a.png differ