Created
March 28, 2012 15:10
-
-
Save sanbor/2227012 to your computer and use it in GitHub Desktop.
less makes hard to understand something simple like css
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
| ul { | |
| margin:0; | |
| padding:0; | |
| li { | |
| list-style:none; | |
| text-align: left; | |
| position: relative; | |
| a, | |
| p { | |
| line-height: 16px; | |
| font-size: 11px; | |
| border-bottom: 1px solid; | |
| } | |
| a { | |
| display: block; | |
| font-weight: bold; | |
| text-decoration: none; | |
| padding: 3px 7px; | |
| } | |
| a.delete, | |
| &.last-child a.delete { | |
| display: block; | |
| position: absolute; | |
| top: 4px; | |
| right: 4px; | |
| padding: 0; | |
| margin: 0; | |
| height: 14px; | |
| width: 14px; | |
| background: url("${contextPath}/images/icons-sprite.png") left -1484px no-repeat; | |
| } | |
| a.delete:hover { | |
| background: url("${contextPath}/images/icons-sprite.png") left -1502px no-repeat; | |
| } | |
| &.last-child { | |
| a, | |
| p { | |
| position: relative; | |
| -webkit-border-radius: 0 0 10px 10px; | |
| -moz-border-radius: 0 0 10px 10px; | |
| border-radius: 0 0 10px 10px; | |
| border-bottom: 0; | |
| padding-bottom: 5px; | |
| z-index: 1; | |
| .ie & { | |
| behavior: url(${contextPath}/js/libs/PIE.htc); | |
| } | |
| } | |
| &:hover { | |
| a { | |
| -webkit-border-radius: 0; | |
| -moz-border-radius: 0; | |
| border-radius: 0; | |
| .ie & { | |
| behavior: url(${contextPath}/js/libs/PIE.htc); | |
| } | |
| } | |
| } | |
| } | |
| p { | |
| display:none; | |
| margin:0; | |
| padding:5px 9px; | |
| color:#707070; | |
| font-size:12px; | |
| font-family:"Humanist521BT-Roman",Arial; | |
| background: #fff !important; | |
| } | |
| &:hover p { | |
| display:block; | |
| } | |
| } | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment