base.less 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. /* ====================================================================================================================
  2. * BASE STYLES
  3. * ====================================================================================================================*/
  4. .flexslider {
  5. margin: 0;
  6. padding: 0;
  7. .slides {
  8. > li {
  9. display: none;
  10. -webkit-backface-visibility: hidden;
  11. }
  12. img{
  13. width: 100%;
  14. display: block;
  15. }
  16. //
  17. // Clearfix for the .slides element
  18. //
  19. &:after{
  20. content: "\0020";
  21. display: block;
  22. clear: both;
  23. visibility: hidden;
  24. line-height: 0;
  25. height: 0;
  26. }
  27. html[xmlns] &{
  28. display: block;
  29. }
  30. * html &{
  31. height: 1%;
  32. }
  33. //
  34. // No JavaScript Fallback
  35. // If you are not using another script, such as Modernizr, make sure you
  36. // include js that eliminates this class on page load
  37. //
  38. .no-js &{
  39. > li{
  40. &:first-child{
  41. display: block;
  42. }
  43. }
  44. }
  45. }
  46. }