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