Created
July 3, 2013 03:56
-
-
Save wrumsby/5915346 to your computer and use it in GitHub Desktop.
The first commented line is your dabblet’s title
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
| /** | |
| * The first commented line is your dabblet’s title | |
| */ | |
| body { | |
| background-color: #eee; | |
| color: #333; | |
| font-family: "Open Sans", sans-serif; | |
| } | |
| .x-menu > a > * { | |
| margin: 0; | |
| padding: 0; | |
| } | |
| .x-list { | |
| position: absolute; | |
| border-radius: 4px; | |
| box-shadow: 3px 3px 3px #bbb, -2px 3px 3px #bbb; | |
| margin: 4px 0 0 0; | |
| padding: 0; | |
| list-style-type: none; | |
| } | |
| .x-list > li { | |
| border-bottom: 1px solid #eee; | |
| padding: 9px 42px 9px 12px; | |
| background-color: #fff; | |
| } | |
| .x-list > li:hover { | |
| background-color: #e6f5fa; | |
| } | |
| .x-list.with-actions { | |
| min-width: 230px; | |
| } | |
| .x-list > li a { | |
| text-decoration: none; | |
| padding-top: 3px; | |
| padding-bottom: 3px; | |
| display: inline-block; | |
| color: #048abb; | |
| } | |
| .x-list > li > a { | |
| color: #333; | |
| } | |
| .x-list > li > a:last-child { | |
| margin-right: 0; | |
| } | |
| .x-list > li > .actions { | |
| position: absolute; | |
| right: 12px; | |
| margin-left: 12px; | |
| padding-left: 12px; | |
| padding-right: 1px; | |
| text-align: right; | |
| border-left: 1px solid #efefef; | |
| width:30px; | |
| } | |
| .x-list > li:first-child { | |
| border-top-left-radius: 4px; | |
| border-top-right-radius: 4px; | |
| } | |
| .x-list > li:last-child { | |
| border-bottom: none; | |
| border-bottom-left-radius: 4px; | |
| border-bottom-right-radius: 4px; | |
| } | |
| .action-add { | |
| font-weight: bold; | |
| color: #048abb !important; | |
| } |
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="x-menu"> | |
| <a href="#"><h2>Filter</h2></a> | |
| <ul class="x-list with-actions"> | |
| <li> | |
| <a href="#">Super Grover</a> | |
| </li> | |
| <li> | |
| <a href="#">Double Standard Full Cream</a> | |
| </li> | |
| <li> | |
| <a href="#">Boutros Boutros Ghali</a> | |
| <span class="actions"> | |
| <a href="#">Edit</a> | |
| </span> | |
| </li> | |
| <li> | |
| <a href="#">Snuffleupagus</a> | |
| <span class="actions"> | |
| <a href="#">Edit</a> | |
| </span> | |
| </li> | |
| <li> | |
| <a href="#" class="action-add">+ New Item</a> | |
| </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
| // alert('Hello world!'); |
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-vertical","fontsize":"100","seethrough":"","prefixfree":"1","page":"css"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment