New Paste

 

Recent Pastes

Administrate




PageLines PasteBin.

PasteID: 08d
Pasted by Bestrag, 2013-05-28 11:23:09 GMT
Expires Never
Paste size 1.21 Kb
Toggle Expand   Wrap   Raw
Copy Contents   Copy URL
 
  1. //Spynav fix (removes active button styles)
  2. .spynav_mix{
  3. 	padding-left:12px !important;
  4. 	.box-shadow(inset 0 0 0);
  5. 	color: @textColorAlt;
  6. 	border-top-color: darken(@baseContrastMore, 10);
  7. }
  8.  
  9. section#scrollspy{
  10. 	.spynav {
  11. 		.border-radius(4px);
  12. 		&.spynav-fixed{
  13. 			.border-radius(0px);
  14. 		}
  15. 	}
  16. 	.spynav .nav > li.active > a{
  17. 		.buttonBackground(@baseContrastSlight, @baseContrastMore);
  18. 		.border-radius(0px);
  19. 		border-left: 1px solid rgba(255,255,255,0.4);
  20. 		border-right: 1px solid darken(@baseContrastMore, 10);
  21. 		.spynav_mix;
  22. 	}
  23. 	.spynav .nav > li.active > a:hover{
  24. 		.buttonBackground(darken(@baseContrastMore, 5), @baseContrast);
  25. 		border-left: 1px solid darken(@baseContrastMore, 10);
  26. 		border-right: 1px solid rgba(0,0,0,0.1);
  27. 		.spynav_mix;
  28. 	}
  29. 	.spynav .nav > li.active:first-child > a{
  30. 		border-radius: 4px 0 0 4px;
  31. 		&:hover {
  32. 			border-radius: 4px 0 0 4px;
  33. 		}
  34. 	}
  35. 	.spynav.spynav-fixed .nav {
  36. 		&> li:first-child, &> li.active:first-child {
  37. 			&:hover{
  38. 				border-left: 1px solid darken(@baseContrastMore, 10);
  39. 			}
  40. 			&> a {
  41. 				border-left: 1px solid darken(@baseContrastMore, 10);
  42. 				.border-radius(0px);
  43. 				&:hover{
  44. 					padding-left: 11px !important;
  45. 				}
  46. 			}
  47. 		}
  48. 	}
  49. }
 
 
 

 
 
 
 
 
Written by Xan Manning, 2010.
YOU NEED FLASH!