Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 5C24EE00870 for ; Thu, 16 Jan 2014 02:51:16 -0800 (PST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP; 16 Jan 2014 02:47:13 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.95,667,1384329600"; d="scan'208";a="439748314" Received: from irsmsx104.ger.corp.intel.com ([163.33.3.159]) by orsmga001.jf.intel.com with ESMTP; 16 Jan 2014 02:51:15 -0800 Received: from irsmsx151.ger.corp.intel.com (163.33.192.59) by IRSMSX104.ger.corp.intel.com (163.33.3.159) with Microsoft SMTP Server (TLS) id 14.3.123.3; Thu, 16 Jan 2014 10:51:00 +0000 Received: from irsmsx106.ger.corp.intel.com ([169.254.8.188]) by IRSMSX151.ger.corp.intel.com ([169.254.4.126]) with mapi id 14.03.0123.003; Thu, 16 Jan 2014 10:51:00 +0000 From: "Barros Pena, Belen" To: "'toaster@yoctoproject.org'" Thread-Topic: [PATCH] Set .error styles for tables Thread-Index: AQHPEqjXkNG3TuFnV02XahrG1pnkDg== Date: Thu, 16 Jan 2014 10:50:59 +0000 Message-ID: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.3.9.131030 x-originating-ip: [10.237.224.34] MIME-Version: 1.0 Subject: [PATCH] Set .error styles for tables X-BeenThere: toaster@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Web based interface for BitBake List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jan 2014 10:51:18 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable Override the default styles of Twitter Bootstrap for table rows with the .error class applied, and ensure that table cells and anchor tags inherit the .error styles when their table row has that class applied. Signed-off-by: Belen Barros --- .../lib/toaster/toastergui/static/css/default.css | 29 ++++++++++++-------- 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/bitbake/lib/toaster/toastergui/static/css/default.css b/bitbake/lib/toaster/toastergui/static/css/default.css index 53c5004..cc93478 100644 --- a/bitbake/lib/toaster/toastergui/static/css/default.css +++ b/bitbake/lib/toaster/toastergui/static/css/default.css @@ -1,14 +1,5 @@ .block-centered { margin: auto; display: block;} -.error, .red { color: #b94a48;} =20 -.error:hover {color:#943A38;text-decoration:none;} - -.success,=20 -.green { color: /*#4EAC4B*/#468847;} - -.success:hover {color:#347132;text-decoration: underline;} -td > .success:hover {text-decoration: underline;} -.warning, .yellow { color: #c09853;} .overflow-hidden { overflow: hidden;} .large { font-size: x-large; font-weight: normal; line-height: 30px;} .max-width { width: 100%;} @@ -103,12 +94,26 @@ tr.selected {background-color: yellow;} .dropdown-menu {padding: 10px;} .modal-footer .btn {float: left;} =20 -a.error:hover, a.error:focus {color:#943A38;text-decoration:underline;} +/* override default Twitter Boostrap styles for anchor tags inside tables */ +td a {color: #333333;} +td a:hover {color: #000000;text-decoration: underline;} + +/* override default Twitter Bootstrap styles for tr.error */ +.table tbody tr.error > td { background-color:#FFFFFF; } +.table-hover tbody tr.error:hover > td { background-color: #F5F5F5; } + +/* set .error styles */ +.error, .red, tr.error a { color:#B94A48; } +a.error:hover, a.error:focus, tr.error a:hover {color:#943A38;text-decoration:underline;} + +.success, .green { color: /*#4EAC4B*/#468847;} + +.success:hover {color:#347132;text-decoration: underline;} +td > .success:hover {text-decoration: underline;} +.warning, .yellow { color: #c09853;} a.warning {background-color: transparent;} a.warning:hover, a.warning:focus {color:#B38942;text-decoration:underline;} .clickable_row:hover {background-color: #FAFAFA;cursor: pointer;} -td a {color: #333333;} -td a:hover {color: #000000;text-decoration: underline;} =20 .get-help {color:#CCCCCC;} .get-help:hover {color:#999999;cursor:pointer;} --=20 1.7.9.5