Fixing a CSS issue with the content items list, causing the last item to not have a border (this change was introduced when implementing content definitions changes and part descriptions).

--HG--
branch : 1.x
This commit is contained in:
Sipke Schoorstra
2013-03-30 13:00:37 +01:00
parent 525a02d30f
commit 8a59cb2d43

View File

@@ -661,23 +661,23 @@ button.remove:focus::-moz-focus-inner, .remove.button:focus::-moz-focus-inner {
float:right;
}
.button.grey {
color:#5d615d;
background:#f5f5f5;
border:1px solid #999;
color:#5d615d;
background:#f5f5f5;
border:1px solid #999;
/*CSS3 properties*/
text-shadow:none;
-webkit-box-shadow: inset 0px 0px 1px rgba(255, 255, 255, 1.0);
/*CSS3 properties*/
text-shadow:none;
-webkit-box-shadow: inset 0px 0px 1px rgba(255, 255, 255, 1.0);
-moz-box-shadow: inset 0px 0px 1px rgba(255, 255, 255, 1.0);
box-shadow: inset 0px 0px 1px rgba(255, 255, 255, 1.0);
/*----In ie the first couplet sets the alpha value so 00=transparent and ff=opaque)----*/
/*----In ie the first couplet sets the alpha value so 00=transparent and ff=opaque)----*/
filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0, startColorstr='#fff5f5f5', endColorstr='#ffd9d9d9');
background: -webkit-gradient(linear, 0 0, 0 100%, from(rgba(245, 245, 245, 1.0)), to(rgba(217, 217, 217, 1.0)));
background: -moz-linear-gradient(top, rgba(245, 245, 245, 1.0), rgba(217, 217, 217, 1.0));
-webkit-border-radius: 2px;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
}
@@ -703,7 +703,7 @@ button, .button, a.button {
/*----In ie the first couplet sets the alpha value so 00=transparent and ff=opaque)----*/
filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0, startColorstr='#ff9bb36c', endColorstr='#ff809f43');
background: -webkit-gradient(linear, 0 0, 0 100%, from(rgba(155, 179, 108, 1.0)), to(rgba(128, 159, 67, 1.0)));
background: -webkit-gradient(linear, 0 0, 0 100%, from(rgba(155, 179, 108, 1.0)), to(rgba(128, 159, 67, 1.0)));
background: -moz-linear-gradient(top, rgba(155, 179, 108, 1.0), rgba(128, 159, 67, 1.0));
/*test - base green in pallet is 155,179,108*/
@@ -744,7 +744,7 @@ button:active, .buton:active, a.button:active {
/*CSS3 properties*/
text-shadow: rgba(0,0,0,.5) 0px 0px 1px;
filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0, startColorstr='#ff9bb36c', endColorstr='#ff809f43');
background: -webkit-gradient(linear, 0 0, 0 100%, from(rgba(155, 179, 108, 1.0)), to(rgba(128, 159, 67, 1.0)));
background: -webkit-gradient(linear, 0 0, 0 100%, from(rgba(155, 179, 108, 1.0)), to(rgba(128, 159, 67, 1.0)));
background: -moz-linear-gradient(top, rgba(155, 179, 108, 1.0), rgba(128, 159, 67, 1.0));
}
button:focus::-moz-focus-inner, .button:focus::-moz-focus-inner {
@@ -752,19 +752,19 @@ button:focus::-moz-focus-inner, .button:focus::-moz-focus-inner {
}
/*disabled*/
.button.disabled, .button.disabled:visited, .button.disabled:hover, .button.disabled:active, .button.disabled:focus {
background-color:#eee;
border:1px solid #ababab;
color:#ababab;
cursor:default;
filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0, startColorstr='#ffeeeeee', endColorstr='#ffeeeeee');
background: -webkit-gradient(linear, 0 0, 0 100%, from(rgba(238, 238, 238, 1.0)), to(rgba(238, 238, 238, 1.0)));
background-color:#eee;
border:1px solid #ababab;
color:#ababab;
cursor:default;
filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0, startColorstr='#ffeeeeee', endColorstr='#ffeeeeee');
background: -webkit-gradient(linear, 0 0, 0 100%, from(rgba(238, 238, 238, 1.0)), to(rgba(238, 238, 238, 1.0)));
background: -moz-linear-gradient(top, rgba(238, 238, 238, 1.0), rgba(238, 238, 238, 1.0));
text-shadow: none;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
text-shadow: none;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
}
/* and allow all of that button style to be undone and beyond - to look like a link */
button.link {
@@ -911,9 +911,6 @@ table.items td .add
padding:0 1.4em .8em;
border-bottom:1px solid #eaeaea;
}
.contentItems li.last {
border-bottom:none;
}
.contentItems.bulk-items li {
padding-bottom:.6em;
padding-left:.6em;