Created
April 1, 2012 09:49
-
-
Save dziudek/2274159 to your computer and use it in GitHub Desktop.
Simple CSS UI Kit
This file contains hidden or 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
/** | |
* Simple CSS UI Kit | |
*/ | |
body { | |
font-family: Arial, sans-serif; | |
margin: 0; | |
padding: 0; | |
} | |
div.toolbar { | |
margin: 0; | |
background: linear-gradient(90deg, #ccc, #fff); | |
height: 48px; | |
border-bottom: 4px solid #333; | |
box-shadow: 0 1px 10px rgba(0, 0, 0, 0.5); | |
overflow: hidden; | |
} | |
ul.tabs { | |
list-style-type: none; | |
padding: 0; | |
margin: 16px 0 0 10px; | |
} | |
ul.tabs li { | |
float: left; | |
height: 32px; | |
line-height: 32px; | |
margin: 0 0 0 5px; | |
padding: 0 15px; | |
background: linear-gradient(90deg, #bbb, #ddd); | |
color: #333; | |
text-shadow: 1px 1px 0 #fff; | |
border-radius: 5px 5px 0 0; | |
font-size: 12px; | |
border: 1px solid #bbb; | |
} | |
ul.tabs li.active, | |
ul.tabs li:hover { | |
background: linear-gradient(90deg, #333, #555); | |
border: 1px solid #000; | |
text-shadow: 1px 1px 0 #000; | |
color:#fff; | |
} |
This file contains hidden or 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
<!-- content to be placed inside <body>…</body> --> | |
<div class="toolbar"> | |
<ul class="tabs"> | |
<li class="active">Your topics</li> | |
<li>Statistics</li> | |
<li>Topics without reply</li> | |
</ul> | |
</div> |
This file contains hidden or 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","seethrough":"","prefixfree":"1","page":"html"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment