From e623956320825439919c231256d16695c7f4942f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Tue, 26 May 2015 14:57:24 +0200 Subject: [PATCH 2/2] style: add base styles to layout fields on full or half width (#7355) --- data/themes/alto/wcs.css | 1 - wcs/qommon/static/css/qommon.css | 23 +++++++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/data/themes/alto/wcs.css b/data/themes/alto/wcs.css index dea9757..c4f0d39 100644 --- a/data/themes/alto/wcs.css +++ b/data/themes/alto/wcs.css @@ -210,7 +210,6 @@ hr { } textarea { - max-width: 455px; } p#breadcrumb { diff --git a/wcs/qommon/static/css/qommon.css b/wcs/qommon/static/css/qommon.css index 3bf8e1a..bfc4628 100644 --- a/wcs/qommon/static/css/qommon.css +++ b/wcs/qommon/static/css/qommon.css @@ -484,3 +484,26 @@ ul#evolutions li.msg-out div.msg { margin-left: 20%; background: #ddf; } + +div.halfwidth { + width: 45%; + float: left; +} + +div.widget.halfwidth.right { + clear: none; + margin-left: 5%; +} + +div.fullwidth { + width: 95%; +} + +div.halfwidth textarea, +div.fullwidth textarea, +div.halfwidth select, +div.fullwidth select, +div.halfwidth input, +div.fullwidth input { + width: 100%; +} -- 2.1.4