1
0
Fork 0
mirror of https://github.com/thoughtbot/shoulda-matchers.git synced 2022-11-09 12:01:38 -05:00

Add styling for documented deprecated methods

This commit is contained in:
Elliot Winkler 2014-07-22 22:51:34 -06:00
parent 93c2336e98
commit 06070f9400

View file

@ -209,6 +209,10 @@ h4 + h5 {
/* Class/Module */
.summary .deprecated {
display: none;
}
.method_details {}
.method_details td {
padding: 10px;
@ -253,6 +257,28 @@ h4 + h5 {
color: #93a1a1 /* Comment */
}
.method_details .deprecated {
margin-bottom: 1em;
font-size: 1.1em;
}
.method_details .deprecated strong {
background-color: #F03434;
color: white;
text-transform: uppercase;
border-radius: 3px;
padding: 0 4px;
}
.method_details .deprecated .inline {
padding-left: 3px;
}
.method_details .deprecated div,
.method_details .deprecated p {
display: inline
}
.docstring, .method_details .showSource, .method_details .source_code {
margin-left: 1em;
}