Rev | Line | |
---|
[780] | 1 | //some page-content variables |
---|
| 2 | @content-bg:#FFF; |
---|
| 3 | @content-header-border:#E2E2E2; |
---|
| 4 | @content-header-color:#2679B5; |
---|
| 5 | @content-header-size:24px; |
---|
| 6 | @content-header-small-color:#8089A0; |
---|
| 7 | @content-header-small-size:14px; |
---|
| 8 | |
---|
| 9 | |
---|
| 10 | |
---|
| 11 | html { |
---|
| 12 | min-height:100%; |
---|
| 13 | position:relative; |
---|
| 14 | } |
---|
| 15 | |
---|
| 16 | body { |
---|
| 17 | padding-bottom: 0; |
---|
| 18 | background-color:@body-bg; |
---|
| 19 | min-height:100%; |
---|
| 20 | |
---|
| 21 | font-family: 'Open Sans'; |
---|
| 22 | font-size:13px; |
---|
| 23 | color:@text-color; |
---|
| 24 | |
---|
| 25 | line-height:1.5; |
---|
| 26 | |
---|
| 27 | |
---|
| 28 | // &:before{ |
---|
| 29 | // content:""; |
---|
| 30 | // display:none; |
---|
| 31 | // position:fixed; |
---|
| 32 | // top:0; bottom:0; left:0; right:0; z-index:-1; |
---|
| 33 | // background-color:#FFF; |
---|
| 34 | // } |
---|
| 35 | &.navbar-fixed { |
---|
| 36 | padding-top:@navbar-mh; |
---|
| 37 | } |
---|
| 38 | &.breadcrumbs-fixed { |
---|
| 39 | padding-top:@navbar-mh + @breadcrumb-height; |
---|
| 40 | } |
---|
| 41 | } |
---|
| 42 | |
---|
| 43 | |
---|
| 44 | |
---|
| 45 | /* ace default theme layout sections */ |
---|
| 46 | .main-container { |
---|
| 47 | position: static; |
---|
| 48 | padding:0; |
---|
| 49 | } |
---|
| 50 | .main-container:after { |
---|
| 51 | background-color: #FFF; |
---|
| 52 | bottom: 0; |
---|
| 53 | content: ""; |
---|
| 54 | display: block; |
---|
| 55 | max-width: inherit; |
---|
| 56 | //position: absolute; |
---|
| 57 | position:fixed; |
---|
| 58 | top: 0; |
---|
| 59 | width: 100%; |
---|
| 60 | z-index: -2; |
---|
| 61 | } |
---|
| 62 | @media (min-width: @screen-tablet) { |
---|
| 63 | .container.main-container:after { |
---|
| 64 | .box-shadow(~"0 0 0 1px rgba(0,0,0,0.1)"); |
---|
| 65 | } |
---|
| 66 | } |
---|
| 67 | |
---|
| 68 | .main-container > .main-container-inner{ |
---|
| 69 | position: relative; |
---|
| 70 | } |
---|
| 71 | .container.main-container { |
---|
| 72 | .sidebar.sidebar-fixed { |
---|
| 73 | & , &:before { |
---|
| 74 | left: auto; |
---|
| 75 | } |
---|
| 76 | } |
---|
| 77 | } |
---|
| 78 | |
---|
| 79 | |
---|
| 80 | |
---|
| 81 | |
---|
| 82 | .main-content { |
---|
| 83 | margin-left:@sidebar-width; |
---|
| 84 | margin-right:0; margin-top:0; |
---|
| 85 | min-height:100%; |
---|
| 86 | padding:0; |
---|
| 87 | } |
---|
| 88 | |
---|
| 89 | .page-content { |
---|
| 90 | background:@content-bg; |
---|
| 91 | margin:0; |
---|
| 92 | padding:8px 20px 24px; |
---|
| 93 | }//.page-content |
---|
| 94 | |
---|
| 95 | .page-header { |
---|
| 96 | margin:0 0 12px; |
---|
| 97 | border-bottom:1px dotted @content-header-border; |
---|
| 98 | |
---|
| 99 | padding-bottom: 16px; |
---|
| 100 | padding-top: 7px; |
---|
| 101 | |
---|
| 102 | h1 { |
---|
| 103 | padding:0; |
---|
| 104 | margin:0 8px; |
---|
| 105 | font-size:@content-header-size; |
---|
| 106 | font-weight:lighter; |
---|
| 107 | color:@content-header-color; |
---|
| 108 | |
---|
| 109 | small { |
---|
| 110 | margin:0 6px; |
---|
| 111 | font-size:@content-header-small-size; |
---|
| 112 | font-weight:normal; |
---|
| 113 | color:@content-header-small-color; |
---|
| 114 | }//small |
---|
| 115 | }//h1 |
---|
| 116 | }//.page-header |
---|
| 117 | |
---|
| 118 | |
---|
Note: See
TracBrowser
for help on using the repository browser.