From 4e32b9f6f32eea0e4a5bb9d83c5c5f45f775f799 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Thibault=20Delavall=C3=A9e?= Date: Wed, 20 Aug 2014 16:29:56 +0200 Subject: [PATCH] [FIX] web: fixed css of hidden input file: a hidden element could interfere with other elements in the dom, leading to some fields not being accessible. --- addons/web/static/src/css/base.css | 5 ++++- addons/web/static/src/css/base.sass | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index 62b65b0..3aa06c5 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -8,6 +8,7 @@ font-weight: normal; font-style: normal; } + @font-face { font-family: "EntypoRegular"; src: url("/web/static/src/font/entypo-webfont.eot") format("eot"); @@ -2217,7 +2218,8 @@ line-height: 0; font-size: 12px; position: absolute; - top: 1px; + top: -30px; + width: 100%; left: 0; right: 0; opacity: 0; @@ -2996,6 +2998,7 @@ top: 0px; } } + .kitten-mode-activated { background-size: cover; background-attachment: fixed; diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index efc51a7..d238522 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -1826,7 +1826,8 @@ $sheet-padding: 16px line-height: 0 font-size: 12px position: absolute - top: 1px + top: -30px + width: 100% left: 0 right: 0 opacity: 0 -- 1.7.10.4