Here is the CSS I am currently using:
.navbar-inverse .nav > li > youtube-dialog > a {
color: #999999;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
padding: 10px 15px 10px;
display: block;
text-decoration: none; /*underline*/
}
.navbar-inverse .nav > li > youtube-dialog > a:hover {color: #ffffff;}
And now I have made a similar set of styles for another element:
.navbar-inverse .nav > li > video-server-dialog > a {
color: #999999;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
padding: 10px 15px 10px;
display: block;
text-decoration: none; /*underline*/
}
.navbar-inverse .nav > li > video-server-dialog > a:hover {color: #ffffff;}
Although the second set of styles is almost identical to the first one, the only difference is the name of an element.
Is there a more efficient way to achieve this without repeating so much code?