From 80e0e9c41309f0ac525aa6f67bccb91916637351 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 21 Aug 2011 20:03:12 -0700 Subject: [PATCH] updated list html, tweaks to patterns --- docs/index.html | 76 ++++++++++++++++++++--------------------------- lib/patterns.less | 25 ++++++++-------- 2 files changed, 45 insertions(+), 56 deletions(-) diff --git a/docs/index.html b/docs/index.html index 18be5f1588..efcf19746a 100644 --- a/docs/index.html +++ b/docs/index.html @@ -359,64 +359,54 @@

Unordered <ul>

Unstyled <ul.unstyled>

Ordered <ol>

    -
  1. Jeremy Bixby
  2. -
  3. Robert Dezure
  4. -
  5. Josh Washington
  6. -
  7. Anton Capresi
  8. -
  9. My Team Mates -
      -
    1. George Castanza
    2. -
    3. Jerry Seinfeld
    4. -
    5. Cosmo Kramer
    6. -
    7. Elaine Bennis
    8. -
    9. Newman
    10. -
    -
  10. -
  11. John Jacob
  12. -
  13. Paul Pierce
  14. -
  15. Kevin Garnett
  16. +
  17. Lorem ipsum dolor sit amet
  18. +
  19. Consectetur adipiscing elit
  20. +
  21. Integer molestie lorem at massa
  22. +
  23. Facilisis in pretium nisl aliquet
  24. +
  25. Nulla volutpat aliquam velit
  26. +
  27. Faucibus porta lacus fringilla vel
  28. +
  29. Aenean sit amet erat nunc
  30. +
  31. Eget porttitor lorem
@@ -1172,8 +1162,6 @@ Lorem ipsum dolar sit amet illo error ipsum verita
- - diff --git a/lib/patterns.less b/lib/patterns.less index 229218eb64..6506287a2f 100644 --- a/lib/patterns.less +++ b/lib/patterns.less @@ -261,7 +261,7 @@ div.topbar { // PAGE HEADERS // ------------ -div.page-header { +.page-header { margin-bottom: @baseline - 1; border-bottom: 1px solid #ddd; .box-shadow(0 1px 0 rgba(255,255,255,.5)); @@ -275,8 +275,7 @@ div.page-header { // ------------ // One-liner alert bars -div.alert-message { -// #gradient > .vertical(rgba(0,0,0,.01), rgba(0,0,0,0.15)); +.alert-message { background-color: @grayLighter; margin-bottom: @baseline; padding: 8px 15px; @@ -323,7 +322,7 @@ div.alert-message { } // Block-level Alerts -div.block-message { +.block-message { margin-bottom: @baseline; padding: 14px; color: @grayDark; @@ -365,8 +364,8 @@ div.block-message { // ---------- // Common tab and pill styles -ul.tabs, -ul.pills { +.tabs, +.pills { margin: 0 0 20px; padding: 0; .clearfix(); @@ -380,7 +379,7 @@ ul.pills { } // Basic Tabs -ul.tabs { +.tabs { width: 100%; border-bottom: 1px solid @grayLight; li { @@ -406,7 +405,7 @@ ul.tabs { } // Basic pill nav -ul.pills { +.pills { li { a { margin: 5px 3px 5px 0; @@ -433,12 +432,13 @@ ul.pills { // PAGINATION // ---------- -div.pagination { +.pagination { height: @baseline * 2; margin: @baseline 0; ul { float: left; margin: 0; + border: 1px solid #ddd; border: 1px solid rgba(0,0,0,.15); .border-radius(3px); .box-shadow(0 1px 2px rgba(0,0,0,.075); @@ -448,6 +448,7 @@ div.pagination { float: left; padding: 0 14px; line-height: (@baseline * 2) - 2; + border-right: 1px solid #ddd; border-right: 1px solid rgba(0,0,0,.15); text-decoration: none; } @@ -487,7 +488,7 @@ div.pagination { // MODALS // ------ -div.modal-backdrop { +.modal-backdrop { background-color: rgba(0,0,0,.5); position: fixed; top: 0; @@ -496,7 +497,7 @@ div.modal-backdrop { bottom: 0; z-index: 1000; } -div.modal { +.modal { position: fixed; top: 50%; left: 50%; @@ -579,7 +580,7 @@ div.modal { // TWIPSY // ------ -div.twipsy { +.twipsy { display: block; position: absolute; visibility: visible;