Add a styling for :guilabel: inline markup.

This commit is contained in:
Jonathan Jacobs 2016-02-11 11:13:08 +02:00 committed by Eric Holscher
parent a8b74fff1c
commit 101a2970f2
4 changed files with 14 additions and 2 deletions

View File

@ -106,6 +106,9 @@ RFC reference (:RFC:`2822`); a :sub:`subscript`; a :sup:`superscript`;
and explicit roles for :emphasis:`standard` :strong:`inline`
:literal:`markup`.
GUI labels are a useful way to indicate that :guilabel:`Some action` is
to be taken by the user.
.. DO NOT RE-WRAP THE FOLLOWING PARAGRAPH!
Let's test wrapping and whitespace significance in inline literals:

View File

@ -303,6 +303,15 @@
@extend .fa-download
&:before
margin-right: 4px
.guilabel
border: 1px solid lighten($class-color, 25%)
background: lighten($class-color, 50%)
font-size: 80%
font-weight: 700
text-transform: uppercase
border-radius: $base-line-height / 6
padding: $base-line-height / 6 $base-line-height / 4
// Mobile specific
+media($mobile)

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long