The buttons inside and outside of postings are the same class. I would like to release a blackgreen style and i need two different classes for this buttons. Since i dont want to touch the prosilver-template (theme-only style) i ask for a new button-class for all buttons inside the posting for prosilver.
[Edit] deleted RFC
prosilver template - different style for post-buttons
Forum rules
Please do not post support questions regarding installing, updating, or upgrading phpBB 3.3.x. If you need support for phpBB 3.3.x please visit the 3.3.x Support Forum on phpbb.com.
If you have questions regarding writing extensions please post in Extension Writers Discussion to receive proper guidance from our staff and community.
Please do not post support questions regarding installing, updating, or upgrading phpBB 3.3.x. If you need support for phpBB 3.3.x please visit the 3.3.x Support Forum on phpbb.com.
If you have questions regarding writing extensions please post in Extension Writers Discussion to receive proper guidance from our staff and community.
prosilver template - different style for post-buttons
Last edited by nachtelb on Sun Jul 13, 2014 3:22 pm, edited 1 time in total.
Re: [RFC] prosilver template - new button-class needed
Can't you just use:
.post-buttons .button { }
?Re: prosilver template - different style for post-buttons
Thank you PayBas! I didn't know.
Solution:
Solution:
Code: Select all
.post-buttons .button {
border-color: #909090;
background-color: #000;
background-image: -moz-linear-gradient(top, #909090, #000);
background-image: -webkit-linear-gradient(top, #909090, #000);
background-image: -o-linear-gradient(top, #909090, #000);
background-image: linear-gradient(to bottom, #909090, #000);
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#909090', EndColorStr='#000')";
box-shadow: 0 0 0 1px #606060 inset;
-webkit-box-shadow: 0 0 0 1px #002000 inset;
color: #F90;
}
.post-buttons .button:hover {
border-color: #909090;
background-image: -moz-linear-gradient(top, #002000, #000);
background-image: -webkit-linear-gradient(top, #002000, #000);
background-image: -o-linear-gradient(top, #002000, #000);
background-image: linear-gradient(to bottom, #002000, #000);
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#002000', EndColorStr='#000')";
text-shadow: 1px 1px 0 #505050, -1px -1px 0 #000, -1px -1px 0 rgba(188, 42, 77, 0.2);
}