Skip to content

Commit

Permalink
Styled checkboxes and initial buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
maccman committed Jul 10, 2009
1 parent e58a17e commit 9cc8c7e
Show file tree
Hide file tree
Showing 6 changed files with 61 additions and 0 deletions.
39 changes: 39 additions & 0 deletions css/aristo.css
@@ -0,0 +1,39 @@
/*
CSS 3 Docs
http://qooxdoo.org/documentation/general/webkit_css_styles
http://trac.webkit.org/browser/trunk/LayoutTests//fast/css
*/

input[type="checkbox"] {
-khtml-appearance: none;
background: url(../images/check-box-bezel.png) no-repeat;
width: 15px;
height: 16px;
}

input[type="checkbox"]:checked {
background: url(../images/check-box-bezel-selected.png) no-repeat;
}

button {
-khtml-appearance: none;
background: none;
line-height: 12px;
-webkit-border-image: url(../images/button-bezel.png) 0 0 0 0 stretch stretch;
padding: 4px 6px;
font-family: 'Arial';
font-size: 12px;
font-weight: bold;
color: #4F4F4F;
}

button:hover {
-webkit-border-image: url(../images/button-bezel-selected.png) 0 0 0 0 stretch stretch;
}

button:active {
}

button:disabled {

}
Binary file added images/button-bezel-selected.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/button-bezel.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/check-box-bezel-selected.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/check-box-bezel.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions index.html
@@ -0,0 +1,22 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">

<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Aristo</title>
<meta name="generator" content="TextMate http://macromates.com/">
<meta name="author" content="Alex MacCaw">
<link rel="stylesheet" href="css/aristo.css" type="text/css">
</head>
<body>


<input type="checkbox" />


<button>Test Button</button>

<input type="range" />
</body>
</html>

0 comments on commit 9cc8c7e

Please sign in to comment.