Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 1 | espaco | 1 | /*** |
| 2 | Page footer |
||
| 3 | ***/ |
||
| 4 | |||
| 5 | .page-footer { |
||
| 6 | padding: 8px 20px 5px 20px; |
||
| 7 | font-size: 12px; |
||
| 8 | height: $page-footer-height; |
||
| 9 | |||
| 10 | @include clearfix(); |
||
| 11 | |||
| 12 | .page-footer-inner { |
||
| 13 | float: left; |
||
| 14 | display: inline-block; |
||
| 15 | } |
||
| 16 | |||
| 17 | .page-footer-fixed.page-footer-fixed-mobile & { |
||
| 18 | position: fixed; |
||
| 19 | left: 0; |
||
| 20 | right: 0; |
||
| 21 | z-index: $zindex-footer-fixed; |
||
| 22 | bottom: 0; |
||
| 23 | } |
||
| 24 | |||
| 25 | .page-footer-fixed.page-footer-fixed-mobile.page-sidebar-fixed & { |
||
| 26 | margin-left: 0 !important; |
||
| 27 | } |
||
| 28 | } |
||
| 29 | |||
| 30 | @media (min-width: $screen-md-min) { /* 992px */ |
||
| 31 | |||
| 32 | /* Default footer */ |
||
| 33 | .page-footer { |
||
| 34 | clear: left; |
||
| 35 | } |
||
| 36 | |||
| 37 | /* Fixed footer */ |
||
| 38 | .page-footer-fixed { |
||
| 39 | .page-footer { |
||
| 40 | position: fixed; |
||
| 41 | left: 0; |
||
| 42 | right: 0; |
||
| 43 | z-index: $zindex-footer-fixed; |
||
| 44 | bottom: 0; |
||
| 45 | } |
||
| 46 | } |
||
| 47 | |||
| 48 | /* Footer with footer sidebar */ |
||
| 49 | .page-sidebar-fixed { |
||
| 50 | &.page-sidebar-closed { |
||
| 51 | .page-footer { |
||
| 52 | margin-left: $sidebar-collapsed-width; |
||
| 53 | } |
||
| 54 | } |
||
| 55 | |||
| 56 | &.page-footer-fixed { |
||
| 57 | .page-footer { |
||
| 58 | margin-left: 0 !important; |
||
| 59 | } |
||
| 60 | } |
||
| 61 | } |
||
| 62 | |||
| 63 | /* Fixed Sidebar */ |
||
| 64 | .page-sidebar-fixed { |
||
| 65 | .page-footer { |
||
| 66 | margin-left: $sidebar-width; |
||
| 67 | padding: 8px 20px 5px 20px; |
||
| 68 | } |
||
| 69 | } |
||
| 70 | |||
| 71 | /* Boxed page */ |
||
| 72 | .page-boxed { |
||
| 73 | .page-footer { |
||
| 74 | padding: 8px 0 5px 0; |
||
| 75 | } |
||
| 76 | |||
| 77 | &.page-sidebar-fixed .page-footer { |
||
| 78 | padding-right: 20px; |
||
| 79 | padding-left: 20px; |
||
| 80 | } |
||
| 81 | } |
||
| 82 | |||
| 83 | /* Page sidebar reversed */ |
||
| 84 | .page-sidebar-reversed.page-sidebar-fixed { |
||
| 85 | .page-footer { |
||
| 86 | margin-left: 0; |
||
| 87 | margin-right: $sidebar-width; |
||
| 88 | padding: 8px 20px 5px 20px; |
||
| 89 | } |
||
| 90 | |||
| 91 | &.page-footer-fixed { |
||
| 92 | .page-footer { |
||
| 93 | margin-left: 0; |
||
| 94 | margin-right: 0; |
||
| 95 | } |
||
| 96 | } |
||
| 97 | |||
| 98 | &.page-sidebar-closed { |
||
| 99 | .page-footer { |
||
| 100 | margin-right: $sidebar-collapsed-width; |
||
| 101 | } |
||
| 102 | } |
||
| 103 | } |
||
| 104 | } |
||
| 105 | |||
| 106 | @media (max-width: $screen-sm-max) { /* 991px */ |
||
| 107 | |||
| 108 | /* Boxed Layout */ |
||
| 109 | .page-boxed { |
||
| 110 | .page-footer { |
||
| 111 | padding-left: 0px; |
||
| 112 | padding-right: 0px; |
||
| 113 | } |
||
| 114 | } |
||
| 115 | } |
||
| 116 | |||
| 117 | @media (max-width: $screen-xs-max) { /* 767px */ |
||
| 118 | |||
| 119 | /* Default footer & boxed footer */ |
||
| 120 | .page-footer, |
||
| 121 | .page-boxed .page-footer { |
||
| 122 | padding-left: 10px; |
||
| 123 | padding-right: 10px; |
||
| 124 | } |
||
| 125 | |||
| 126 | /* Fixed footer */ |
||
| 127 | .page-footer-fixed { |
||
| 128 | .page-footer { |
||
| 129 | .container { |
||
| 130 | padding-left: 0; |
||
| 131 | padding-right: 0; |
||
| 132 | } |
||
| 133 | } |
||
| 134 | } |
||
| 135 | } |
||
| 136 | |||
| 137 | /* Scroll Top Top */ |
||
| 138 | |||
| 139 | .scroll-to-top { |
||
| 140 | display: inline-block; |
||
| 141 | padding: 1px; |
||
| 142 | text-align:center; |
||
| 143 | position:fixed; |
||
| 144 | bottom: 10px; |
||
| 145 | z-index: $zindex-go-to-top; |
||
| 146 | display:none; |
||
| 147 | right: 10px; |
||
| 148 | |||
| 149 | > i { |
||
| 150 | display: inline-block; |
||
| 151 | color: darken(#94A0B2, 15%); |
||
| 152 | font-size: 30px; |
||
| 153 | @include opacity(0.6); |
||
| 154 | } |
||
| 155 | |||
| 156 | &:hover { |
||
| 157 | cursor: pointer; |
||
| 158 | |||
| 159 | > i { |
||
| 160 | @include opacity(1); |
||
| 161 | } |
||
| 162 | } |
||
| 163 | } |
||
| 164 | |||
| 165 | @media (min-width: $screen-md-min) { /* 992px */ |
||
| 166 | .scroll-to-top { |
||
| 167 | right: 20px; |
||
| 168 | } |
||
| 169 | } |
||
| 170 | |||
| 171 | @media (max-width: $screen-sm-max) { /* 991px */ |
||
| 172 | .scroll-to-top { |
||
| 173 | bottom: 10px; |
||
| 174 | right: 10px; |
||
| 175 | |||
| 176 | > i { |
||
| 177 | font-size: 28px; |
||
| 178 | } |
||
| 179 | } |
||
| 180 | } |