diff options
author | Teddy Wing | 2014-04-20 20:45:01 -0400 |
---|---|---|
committer | Teddy Wing | 2014-04-20 20:45:01 -0400 |
commit | b124dbe733a6f4a4bdf1429ca82d9ffa0ccbf4a4 (patch) | |
tree | bf78edccfdbc12c2bb393b1ff88cb7a07603cd45 | |
parent | caaf6d1d4ea3cae012aca99685fdb043a822e295 (diff) | |
download | django-sneak-peek-b124dbe733a6f4a4bdf1429ca82d9ffa0ccbf4a4.tar.bz2 |
sneak_peek CSS: add descriptive comments
-rw-r--r-- | sneak_peek_tag/static/sneak_peek_tag/css/django-sneak-peek.css | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sneak_peek_tag/static/sneak_peek_tag/css/django-sneak-peek.css b/sneak_peek_tag/static/sneak_peek_tag/css/django-sneak-peek.css index 2e33fce..79b1fe2 100644 --- a/sneak_peek_tag/static/sneak_peek_tag/css/django-sneak-peek.css +++ b/sneak_peek_tag/static/sneak_peek_tag/css/django-sneak-peek.css @@ -1,3 +1,7 @@ +/* Sneak Peek */ +/* Styles that appear on elements declared as sneak_peek */ + + /* 'Under construction' border around sneak peek features */ .django-sneak-peek { border-style: solid; @@ -8,15 +12,21 @@ border-image: url('../images/django-sneak-peek-under-construction-border-image.png') 10 round; } + +/* Use an outline instaed of a border to reduce box-model interference */ .django-sneak-peek.outline { border: none; outline: 10px dashed #fbe500; } + +/* Borderless style allows the markup to appear without differentiation */ .django-sneak-peek.borderless { border: none; } + +/* Additional display styles for inline & inline-block elements */ .django-sneak-peek.inline { display: inline; } |