diff options
author | ArthurHoaro <arthur@hoa.ro> | 2016-02-27 21:59:27 +0100 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2016-08-07 12:17:36 +0200 |
commit | d63f7cf5b8a25bba0de8ee11202edda3ca062eb4 (patch) | |
tree | 62a0ba8e7df90f9ee110d57e57f6deca200e1dc6 /tpl/default/css | |
parent | dfb058c616a29cc712832e7e00a25e2f96eb44ce (diff) | |
download | Shaarli-d63f7cf5b8a25bba0de8ee11202edda3ca062eb4.tar.gz Shaarli-d63f7cf5b8a25bba0de8ee11202edda3ca062eb4.tar.zst Shaarli-d63f7cf5b8a25bba0de8ee11202edda3ca062eb4.zip |
Desktop search fields
Diffstat (limited to 'tpl/default/css')
-rw-r--r-- | tpl/default/css/shaarli.css | 46 |
1 files changed, 38 insertions, 8 deletions
diff --git a/tpl/default/css/shaarli.css b/tpl/default/css/shaarli.css index 8deb008e..4ec976b1 100644 --- a/tpl/default/css/shaarli.css +++ b/tpl/default/css/shaarli.css | |||
@@ -119,16 +119,15 @@ body { | |||
119 | #header { | 119 | #header { |
120 | width: 100%; | 120 | width: 100%; |
121 | height: 150px; | 121 | height: 150px; |
122 | background: url(../img/noise.png), #1fa67a url(../img/logo.png) no-repeat fixed center 2.5em; | 122 | background: url(../img/noise.png), #1fa67a url(../img/logo2.png) no-repeat fixed 10px 2.5em; |
123 | } | 123 | } |
124 | 124 | ||
125 | #header h1 { | 125 | #header h1 { |
126 | position: fixed; | 126 | position: fixed; |
127 | float: left; | 127 | float: left; |
128 | margin: 45px 0 0 0; | 128 | margin: 45px 0 0 125px; |
129 | width: 44%; | 129 | width: 55%; |
130 | height: 100px; | 130 | height: 100px; |
131 | text-align: right; | ||
132 | } | 131 | } |
133 | 132 | ||
134 | #header h1 a, #header h1 a:visited { | 133 | #header h1 a, #header h1 a:visited { |
@@ -152,7 +151,8 @@ body { | |||
152 | } | 151 | } |
153 | 152 | ||
154 | #linkcount { | 153 | #linkcount { |
155 | position: fixed; | 154 | /* position: fixed; */ |
155 | position: absolute; | ||
156 | top: 40px; | 156 | top: 40px; |
157 | right: 10px; | 157 | right: 10px; |
158 | color: #b0ddce; | 158 | color: #b0ddce; |
@@ -160,13 +160,43 @@ body { | |||
160 | } | 160 | } |
161 | 161 | ||
162 | #search { | 162 | #search { |
163 | position: fixed; | 163 | /** |
164 | top: 55px; | 164 | * Can't make it work with awesomplete list z-index. Any idea? |
165 | * position: fixed; | ||
166 | */ | ||
167 | position: absolute; | ||
168 | top: 60px; | ||
165 | right: 10px; | 169 | right: 10px; |
166 | width: 44%; | 170 | width: 30%; |
167 | text-align: right; | 171 | text-align: right; |
168 | } | 172 | } |
169 | 173 | ||
174 | #search input[type="text"] { | ||
175 | margin: 0 0 5px 0; | ||
176 | padding: 5px 5px 3px 15px; | ||
177 | height: 20px; | ||
178 | width: 140px; | ||
179 | transition: width .5s ease; | ||
180 | background: #1b926c; | ||
181 | border: medium none currentColor; | ||
182 | border-radius: 25px; | ||
183 | box-shadow: 0 1px 0 rgba(255, 255, 255, 0.078), 0 1px 4px rgba(0, 0, 0, 0.298) inset; | ||
184 | color: #b0ddce; | ||
185 | } | ||
186 | |||
187 | #search button { | ||
188 | background: transparent; | ||
189 | border: none; | ||
190 | color: #b0ddce; | ||
191 | } | ||
192 | |||
193 | #search button:hover { | ||
194 | color: #fff; | ||
195 | } | ||
196 | |||
197 | /** | ||
198 | * CONTENT | ||
199 | */ | ||
170 | #content { | 200 | #content { |
171 | position: relative; | 201 | position: relative; |
172 | box-shadow: 0 -2px 1em #797979; | 202 | box-shadow: 0 -2px 1em #797979; |