Created
February 15, 2012 17:37
-
-
Save jlong/1837516 to your computer and use it in GitHub Desktop.
Untitled
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.button { | |
-moz-appearance: none; | |
-webkit-appearance: none; | |
appearance: none; | |
-moz-border-radius: 4px; | |
-webkit-border-radius: 4px; | |
-o-border-radius: 4px; | |
-ms-border-radius: 4px; | |
-khtml-border-radius: 4px; | |
border-radius: 4px; | |
-moz-box-shadow: rgba(255, 255, 255, 0.75) 0 1px 0 0 inset, rgba(0, 0, 0, 0.1) 0 1px 0 0; | |
-webkit-box-shadow: rgba(255, 255, 255, 0.75) 0 1px 0 0 inset, rgba(0, 0, 0, 0.1) 0 1px 0 0; | |
-o-box-shadow: rgba(255, 255, 255, 0.75) 0 1px 0 0 inset, rgba(0, 0, 0, 0.1) 0 1px 0 0; | |
box-shadow: rgba(255, 255, 255, 0.75) 0 1px 0 0 inset, rgba(0, 0, 0, 0.1) 0 1px 0 0; | |
background: #c3cad7; | |
background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #dee5ef), color-stop(50%, #c3cad7), color-stop(100%, #9eaabf)); | |
background-image: -webkit-linear-gradient(#dee5ef, #c3cad7, #9eaabf); | |
background-image: -moz-linear-gradient(#dee5ef, #c3cad7, #9eaabf); | |
background-image: -o-linear-gradient(#dee5ef, #c3cad7, #9eaabf); | |
background-image: -ms-linear-gradient(#dee5ef, #c3cad7, #9eaabf); | |
background-image: linear-gradient(#dee5ef, #c3cad7, #9eaabf); | |
border: 1px solid #8f9cb4; | |
border-top-color: #aeb7c9; | |
border-bottom-color: #67799a; | |
color: #292c33; | |
cursor: pointer; | |
font-family: Arial, Helvetica, sans-serif; | |
font-size: 13px; | |
font-weight: bold; | |
line-height: 26px; | |
padding: 0 13px; | |
position: relative; | |
text-shadow: rgba(255, 255, 255, 0.5) 0 1px 0; | |
} | |
.button.primary { | |
-moz-box-shadow: rgba(255, 255, 255, 0.25) 0 1px 0 0 inset; | |
-webkit-box-shadow: rgba(255, 255, 255, 0.25) 0 1px 0 0 inset; | |
-o-box-shadow: rgba(255, 255, 255, 0.25) 0 1px 0 0 inset; | |
box-shadow: rgba(255, 255, 255, 0.25) 0 1px 0 0 inset; | |
background: #2e70b0; | |
background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #3293e0), color-stop(50%, #2e70b0), color-stop(100%, #215180)); | |
background-image: -webkit-linear-gradient(#3293e0, #2e70b0, #215180); | |
background-image: -moz-linear-gradient(#3293e0, #2e70b0, #215180); | |
background-image: -o-linear-gradient(#3293e0, #2e70b0, #215180); | |
background-image: -ms-linear-gradient(#3293e0, #2e70b0, #215180); | |
background-image: linear-gradient(#3293e0, #2e70b0, #215180); | |
border: 1px solid #1c446b; | |
border-top-color: #275e94; | |
border-bottom-color: #0e2337; | |
color: white; | |
text-shadow: rgba(0, 0, 0, 0.5) 0 -1px 0; | |
} | |
.button.secondary { | |
background: #f6f9fc; | |
background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ffffff), color-stop(50%, #f6f9fc), color-stop(100%, #c8daed)); | |
background-image: -webkit-linear-gradient(#ffffff, #f6f9fc, #c8daed); | |
background-image: -moz-linear-gradient(#ffffff, #f6f9fc, #c8daed); | |
background-image: -o-linear-gradient(#ffffff, #f6f9fc, #c8daed); | |
background-image: -ms-linear-gradient(#ffffff, #f6f9fc, #c8daed); | |
background-image: linear-gradient(#ffffff, #f6f9fc, #c8daed); | |
border: 1px solid #a6a9bf; | |
border-top-color: #c4c6d4; | |
border-bottom-color: #7f84a3; | |
color: #36393c; | |
} | |
.button.danger { | |
background: #f8bcbd; | |
background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ffe8ea), color-stop(50%, #f8bcbd), color-stop(100%, #f28586)); | |
background-image: -webkit-linear-gradient(#ffe8ea, #f8bcbd, #f28586); | |
background-image: -moz-linear-gradient(#ffe8ea, #f8bcbd, #f28586); | |
background-image: -o-linear-gradient(#ffe8ea, #f8bcbd, #f28586); | |
background-image: -ms-linear-gradient(#ffe8ea, #f8bcbd, #f28586); | |
background-image: linear-gradient(#ffe8ea, #f8bcbd, #f28586); | |
border: 1px solid #f06e70; | |
border-top-color: #f59c9d; | |
border-bottom-color: #ea3135; | |
color: #4a3838; | |
} | |
.button.disabled { | |
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=50); | |
opacity: 0.5; | |
} | |
.button:hover, .button:focus { | |
-moz-box-shadow: rgba(255, 255, 255, 0.25) 0 1px 0 0 inset; | |
-webkit-box-shadow: rgba(255, 255, 255, 0.25) 0 1px 0 0 inset; | |
-o-box-shadow: rgba(255, 255, 255, 0.25) 0 1px 0 0 inset; | |
box-shadow: rgba(255, 255, 255, 0.25) 0 1px 0 0 inset; | |
background: #2f85d8; | |
background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #4ba7ef), color-stop(50%, #2f85d8), color-stop(100%, #2066aa)); | |
background-image: -webkit-linear-gradient(#4ba7ef, #2f85d8, #2066aa); | |
background-image: -moz-linear-gradient(#4ba7ef, #2f85d8, #2066aa); | |
background-image: -o-linear-gradient(#4ba7ef, #2f85d8, #2066aa); | |
background-image: -ms-linear-gradient(#4ba7ef, #2f85d8, #2066aa); | |
background-image: linear-gradient(#4ba7ef, #2f85d8, #2066aa); | |
border: 1px solid #1c5994; | |
border-top-color: #2473bf; | |
border-bottom-color: #11385d; | |
color: white; | |
text-shadow: rgba(0, 0, 0, 0.5) 0 -1px 0; | |
} | |
.button:focus { | |
outline: none; | |
} | |
.button:active { | |
background: #3282d3; | |
border: 1px solid #154c8c; | |
-moz-box-shadow: #154c8c 0 0 8px 0 inset; | |
-webkit-box-shadow: #154c8c 0 0 8px 0 inset; | |
-o-box-shadow: #154c8c 0 0 8px 0 inset; | |
box-shadow: #154c8c 0 0 8px 0 inset; | |
} | |
.button.small { | |
font-size: 11px; | |
font-weight: normal; | |
line-height: 20px; | |
padding: 0 7px; | |
} | |
.button.large { | |
font-size: 15px; | |
line-height: 30px; | |
padding: 0 15px; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<p> | |
<input type="file" style="font: 16px Arial; color: #4B4D53 | |
" /> | |
<p> | |
<button class="button large secondary disabled">Cancel</button> | |
<button class="button large primary disabled">Insert</button> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"view":"split-vertical","prefixfree":"1","page":"html"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment