| OLD | NEW |
| 1 //----------------------------------------------------------------------- | 1 //----------------------------------------------------------------------- |
| 2 // General Elements | 2 // General Elements |
| 3 //----------------------------------------------------------------------- | 3 //----------------------------------------------------------------------- |
| 4 | 4 |
| 5 figure { | 5 figure { |
| 6 margin: $default-padding 0; | 6 margin: $default-padding 0; |
| 7 img { | 7 img { |
| 8 border: $default-border; | 8 border: $default-border; |
| 9 } | 9 } |
| 10 } | 10 } |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 line-height: 1.8em; | 50 line-height: 1.8em; |
| 51 a { | 51 a { |
| 52 text-decoration: underline!important; | 52 text-decoration: underline!important; |
| 53 } | 53 } |
| 54 b { | 54 b { |
| 55 background: yellow; | 55 background: yellow; |
| 56 font-weight: normal; | 56 font-weight: normal; |
| 57 } | 57 } |
| 58 strike { | 58 strike { |
| 59 text-decoration: none; | 59 text-decoration: none; |
| 60 background-image: -webkit-linear-gradient(transparent 7px,#cc1f1f 7px,#cc1f1
f 9px,transparent 9px); | 60 background-image: linear-gradient(transparent 7px,#cc1f1f 7px,#cc1f1f 9px,tr
ansparent 9px); |
| 61 background-image: -moz-linear-gradient(transparent 7px,#cc1f1f 7px,#cc1f1
f 9px,transparent 9px); | |
| 62 background-image: -ms-linear-gradient(transparent 7px,#cc1f1f 7px,#cc1f1
f 9px,transparent 9px); | |
| 63 background-image: -o-linear-gradient(transparent 7px,#cc1f1f 7px,#cc1f1
f 9px,transparent 9px); | |
| 64 background-image: linear-gradient(transparent 7px,#cc1f1f 7px,#cc1f1
f 9px,transparent 9px); | |
| 65 } | 61 } |
| 66 &[data-filename]::after { | 62 &[data-filename]::after { |
| 67 visibility: hidden; | 63 visibility: hidden; |
| 68 } | 64 } |
| 69 &[data-filename]:hover::after { | 65 &[data-filename]:hover::after { |
| 70 visibility: visible; | 66 visibility: visible; |
| 71 } | 67 } |
| 72 } | 68 } |
| 73 | 69 |
| 74 | 70 |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 left: -100%; | 123 left: -100%; |
| 128 } | 124 } |
| 129 &::after { | 125 &::after { |
| 130 left: 100%; | 126 left: 100%; |
| 131 } | 127 } |
| 132 } | 128 } |
| 133 | 129 |
| 134 // Big blue buttonz! | 130 // Big blue buttonz! |
| 135 .button { | 131 .button { |
| 136 background: #0370ea; | 132 background: #0370ea; |
| 137 @include background-image(linear-gradient(top, #008dfd 0%,#0370ea 100%)); | 133 background-image: linear-gradient(top, #008dfd 0%,#0370ea 100%); |
| 138 border: 1px solid #076bd2; | 134 border: 1px solid #076bd2; |
| 139 border-radius: 3px; | 135 border-radius: 3px; |
| 140 color: $white !important; | 136 color: $white !important; |
| 141 display: inline-block; | 137 display: inline-block; |
| 142 font-size: 13px; | 138 font-size: 13px; |
| 143 font-weight: 700; | 139 font-weight: 700; |
| 144 line-height: 1.3; | 140 line-height: 1.3; |
| 145 padding: 5px 20px; | 141 padding: 5px 20px; |
| 146 text-align: center; | 142 text-align: center; |
| 147 text-decoration: none !important; | 143 text-decoration: none !important; |
| 148 text-shadow: 1px 1px 1px #076bd2; | 144 text-shadow: 1px 1px 1px #076bd2; |
| 149 | 145 |
| 150 &:hover { | 146 &:hover { |
| 151 @include background-image(linear-gradient(top, #008dfd 30%,#0370ea 100%)); | 147 background-image: linear-gradient(top, #008dfd 30%,#0370ea 100%); |
| 152 cursor: pointer; | 148 cursor: pointer; |
| 153 } | 149 } |
| 154 | 150 |
| 155 a { | 151 a { |
| 156 color: inherit !important; | 152 color: inherit !important; |
| 157 } | 153 } |
| 158 } | 154 } |
| 159 | 155 |
| 160 .button-alt { | 156 .button-alt { |
| 161 background: #eee; | 157 background: #eee; |
| 162 @include background-image(linear-gradient(bottom, #DCDCDC 46%, #FAFAFA 87%)); | 158 background-image: linear-gradient(bottom, #DCDCDC 46%, #FAFAFA 87%); |
| 163 border: 1px solid #d6d6d6; | 159 border: 1px solid #d6d6d6; |
| 164 border-radius: 3px; | 160 border-radius: 3px; |
| 165 color: #333 !important; | 161 color: #333 !important; |
| 166 display: inline-block; | 162 display: inline-block; |
| 167 font-size: 12px; | 163 font-size: 12px; |
| 168 font-weight: 700; | 164 font-weight: 700; |
| 169 line-height: 24px; | 165 line-height: 24px; |
| 170 padding: 0 15px; | 166 padding: 0 15px; |
| 171 text-align: center; | 167 text-align: center; |
| 172 text-decoration: none !important; | 168 text-decoration: none !important; |
| 173 text-shadow: none; | 169 text-shadow: none; |
| 174 | 170 |
| 175 &:hover { | 171 &:hover { |
| 176 @include background-image(linear-gradient(bottom, #DCDCDC 20%, #FAFAFA 87%))
; | 172 background-image: linear-gradient(bottom, #DCDCDC 20%, #FAFAFA 87%); |
| 177 cursor: pointer; | 173 cursor: pointer; |
| 178 } | 174 } |
| 179 } | 175 } |
| 180 | 176 |
| 181 // Feedback and scroll to top buttons. | 177 // Feedback and scroll to top buttons. |
| 182 .google-button { | 178 .google-button { |
| 183 background-color: $gray-light; | 179 background-color: $gray-light; |
| 184 border-radius: 2px 0 0 0; | 180 border-radius: 2px 0 0 0; |
| 185 border: 1px solid rgba(0,0,0,0.1); | 181 border: 1px solid rgba(0,0,0,0.1); |
| 186 padding: 5px 12px; | 182 padding: 5px 12px; |
| 187 text-align: center; | 183 text-align: center; |
| 188 white-space: nowrap; | 184 white-space: nowrap; |
| 189 | 185 |
| 190 &:hover { | 186 &:hover { |
| 191 border-color: #c6c6c6; | 187 border-color: #c6c6c6; |
| 192 @include box-shadow(0 -1px 1px rgba(0,0,0,0.1)); | 188 box-shadow: 0 -1px 1px rgba(0,0,0,0.1); |
| 193 } | 189 } |
| 194 &:active { | 190 &:active { |
| 195 background-color: #f1f1f1; | 191 background-color: #f1f1f1; |
| 196 @include box-shadow(inset 0 0px 2px rgba(0,0,0,0.2)); | 192 box-shadow: inset 0 0px 2px rgba(0,0,0,0.2); |
| 197 } | 193 } |
| 198 } | 194 } |
| 199 | 195 |
| 200 .screenshot, | 196 .screenshot, |
| 201 .screenshot img { | 197 .screenshot img { |
| 202 margin: 1em 0; | 198 margin: 1em 0; |
| 203 } | 199 } |
| 204 | 200 |
| 201 .video-container { |
| 202 position: relative; |
| 203 padding-bottom: 56.25%; |
| 204 padding-top: 30px; |
| 205 height: 0; |
| 206 overflow: hidden; |
| 207 margin: 0 0 20px 0; |
| 208 } |
| 209 .video-container iframe, |
| 210 .video-container object, |
| 211 .video-container embed { |
| 212 position: absolute; |
| 213 top: 0; |
| 214 left: 0; |
| 215 width: 100%; |
| 216 height: 100%; |
| 217 } |
| 218 |
| 205 p, div, aside { | 219 p, div, aside { |
| 206 &.note, | 220 &.note, |
| 207 &.caution, | 221 &.caution, |
| 208 &.warning { | 222 &.warning { |
| 209 background-color: $gray-light; | 223 background-color: $gray-light; |
| 210 border-bottom: 1px solid; | 224 border-bottom: 1px solid; |
| 211 border-top: 1px solid; | 225 border-top: 1px solid; |
| 212 overflow: hidden; | 226 overflow: hidden; |
| 213 width: 85%; | 227 width: 85%; |
| 214 margin: auto; | 228 margin: auto; |
| 215 padding: 1em; | 229 padding: 1em; |
| 216 //border: none; | 230 //border: none; |
| 217 //box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15), 0 0 3px rgba(0, 0, 0, 0.15); | 231 //box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15), 0 0 3px rgba(0, 0, 0, 0.15); |
| 218 //background-image: -webkit-linear-gradient(top, rgba(51, 102, 204, 0.1), tr
ansparent, rgba(51, 102, 204, 0.1)); | |
| 219 | 232 |
| 220 } | 233 } |
| 221 &.note { | 234 &.note { |
| 222 border-color: #36C; | 235 border-color: #36C; |
| 223 } | 236 } |
| 224 &.caution { | 237 &.caution { |
| 225 border-color: #FC3; | 238 border-color: #FC3; |
| 226 } | 239 } |
| 227 &.warning { | 240 &.warning { |
| 228 border-color: #A03; | 241 border-color: #A03; |
| (...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 608 | 621 |
| 609 .capitalize:first-letter { | 622 .capitalize:first-letter { |
| 610 text-transform: uppercase; | 623 text-transform: uppercase; |
| 611 } | 624 } |
| 612 } | 625 } |
| 613 | 626 |
| 614 .optional { | 627 .optional { |
| 615 color: #7D7D7D; | 628 color: #7D7D7D; |
| 616 } | 629 } |
| 617 */ | 630 */ |
| OLD | NEW |