Skip to content

Commit

Permalink
styled labels (new tags), closes 11
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitaly Puzrin committed Dec 15, 2011
1 parent 06f9ea4 commit b0c841e
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 0 deletions.
26 changes: 26 additions & 0 deletions skins/default/skeleton/stylesheets/main.css
Expand Up @@ -418,6 +418,10 @@ body {
margin-left: 140px;
margin-bottom: 20px;
}
.article .labels {
margin-left: 140px;
margin-bottom: 10px;
}
.footer {
margin-left: 140px;
}
Expand Down Expand Up @@ -455,6 +459,28 @@ h4 {
margin-left: 10px;
text-decoration: none;
}
.labels span {
-webkit-border-radius: 3px 3px 3px 3px;
-moz-border-radius: 3px 3px 3px 3px;
-o-border-radius: 3px 3px 3px 3px;
border-radius: 3px 3px 3px 3px;
color: #fff;
font-size: 9.75px;
font-weight: bold;
padding: 1px 3px 2px;
text-transform: uppercase;
white-space: nowrap;
margin-right: 10px;
}
span.read-only {
background-color: #888;
}
span.internal {
background-color: #888;
}
span.chainable {
background-color: #888;
}
.deprecated-note {
color: #f00;
}
Expand Down
21 changes: 21 additions & 0 deletions skins/default/templates/styles/api.styl
Expand Up @@ -163,6 +163,10 @@ body
margin-left: 140px
margin-bottom: 20px

.article .labels
margin-left: 140px
margin-bottom: 10px

.footer
margin-left: 140px

Expand Down Expand Up @@ -200,6 +204,23 @@ h4
margin-left: 10px
text-decoration: none

.labels span
border-radius: 3px 3px 3px 3px
color: #FFFFFF
font-size: 9.75px
font-weight: bold
padding: 1px 3px 2px
text-transform: uppercase
white-space: nowrap
margin-right: 10px
span
&.read-only
background-color: #888
&.internal
background-color: #888
&.chainable
background-color: #888

.deprecated-note
color: #F00

Expand Down

0 comments on commit b0c841e

Please sign in to comment.