diff options
author | Barros Pena, Belen <belen.barros.pena@intel.com> | 2014-01-16 10:50:59 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-01-27 21:01:07 +0000 |
commit | 594eeeba71b820fa2eb4019d92a509bff34fba21 (patch) | |
tree | 50248721b9526b7070981ea0b21c1b8f7fcb8e01 /bitbake/lib | |
parent | 47d19237ef6c492f7c2226952f8094d853893754 (diff) | |
download | poky-594eeeba71b820fa2eb4019d92a509bff34fba21.tar.gz |
bitbake: toaster: Set .error styles for tables
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.
(Bitbake rev: 8b44955bb836ccad384718247ceb08d713ebc152)
Signed-off-by: Belen Barros <belen.barros.pena@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/toaster/toastergui/static/css/default.css | 29 |
1 files 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 fe3881eea1..775f52d00b 100644 --- a/bitbake/lib/toaster/toastergui/static/css/default.css +++ b/bitbake/lib/toaster/toastergui/static/css/default.css | |||
@@ -1,14 +1,5 @@ | |||
1 | .block-centered { margin: auto; display: block;} | 1 | .block-centered { margin: auto; display: block;} |
2 | .error, .red { color: #b94a48;} | ||
3 | 2 | ||
4 | .error:hover {color:#943A38;text-decoration:none;} | ||
5 | |||
6 | .success, | ||
7 | .green { color: /*#4EAC4B*/#468847;} | ||
8 | |||
9 | .success:hover {color:#347132;text-decoration: underline;} | ||
10 | td > .success:hover {text-decoration: underline;} | ||
11 | .warning, .yellow { color: #c09853;} | ||
12 | .overflow-hidden { overflow: hidden;} | 3 | .overflow-hidden { overflow: hidden;} |
13 | .large { font-size: x-large; font-weight: normal; line-height: 30px;} | 4 | .large { font-size: x-large; font-weight: normal; line-height: 30px;} |
14 | .max-width { width: 100%;} | 5 | .max-width { width: 100%;} |
@@ -103,12 +94,26 @@ tr.selected {background-color: yellow;} | |||
103 | .dropdown-menu {padding: 10px;} | 94 | .dropdown-menu {padding: 10px;} |
104 | .modal-footer .btn {float: left;} | 95 | .modal-footer .btn {float: left;} |
105 | 96 | ||
106 | a.error:hover, a.error:focus {color:#943A38;text-decoration:underline;} | 97 | /* override default Twitter Boostrap styles for anchor tags inside tables */ |
98 | td a {color: #333333;} | ||
99 | td a:hover {color: #000000;text-decoration: underline;} | ||
100 | |||
101 | /* override default Twitter Bootstrap styles for tr.error */ | ||
102 | .table tbody tr.error > td { background-color:#FFFFFF; } | ||
103 | .table-hover tbody tr.error:hover > td { background-color: #F5F5F5; } | ||
104 | |||
105 | /* set .error styles */ | ||
106 | .error, .red, tr.error a { color:#B94A48; } | ||
107 | a.error:hover, a.error:focus, tr.error a:hover {color:#943A38;text-decoration:underline;} | ||
108 | |||
109 | .success, .green { color: /*#4EAC4B*/#468847;} | ||
110 | |||
111 | .success:hover {color:#347132;text-decoration: underline;} | ||
112 | td > .success:hover {text-decoration: underline;} | ||
113 | .warning, .yellow { color: #c09853;} | ||
107 | a.warning {background-color: transparent;} | 114 | a.warning {background-color: transparent;} |
108 | a.warning:hover, a.warning:focus {color:#B38942;text-decoration:underline;} | 115 | a.warning:hover, a.warning:focus {color:#B38942;text-decoration:underline;} |
109 | .clickable_row:hover {background-color: #FAFAFA;cursor: pointer;} | 116 | .clickable_row:hover {background-color: #FAFAFA;cursor: pointer;} |
110 | td a {color: #333333;} | ||
111 | td a:hover {color: #000000;text-decoration: underline;} | ||
112 | 117 | ||
113 | .get-help {color:#CCCCCC;} | 118 | .get-help {color:#CCCCCC;} |
114 | .get-help:hover {color:#999999;cursor:pointer;} | 119 | .get-help:hover {color:#999999;cursor:pointer;} |