general.less 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. /*--------------------------------------------------------------------------
  2. General Style
  3. --------------------------------------------------------------------------*/
  4. body{
  5. background: @body-background;
  6. }
  7. .section{
  8. padding: 30px 0;
  9. .translateZ(0);
  10. }
  11. .section-white{
  12. background: #FFF;
  13. }
  14. .section .container:first-child h1, .section .container:first-child h2, .section .container:first-child h3{
  15. margin-top: 0;
  16. font-weight: 700;
  17. }
  18. .input-micro{
  19. width: 50px;
  20. margin-bottom: 0 !important;
  21. }
  22. textarea:focus,
  23. input[type="text"]:focus,
  24. input[type="password"]:focus,
  25. input[type="datetime"]:focus,
  26. input[type="datetime-local"]:focus,
  27. input[type="date"]:focus,
  28. input[type="month"]:focus,
  29. input[type="time"]:focus,
  30. input[type="week"]:focus,
  31. input[type="number"]:focus,
  32. input[type="email"]:focus,
  33. input[type="url"]:focus,
  34. input[type="search"]:focus,
  35. input[type="tel"]:focus,
  36. input[type="color"]:focus,
  37. .uneditable-input:focus {
  38. border-color: fade(@theme-color, 80%);
  39. outline: 0;
  40. outline: thin dotted \9;
  41. /* IE6-9 */
  42. @glow-color: fade(@theme-color, 60%);
  43. .box-shadow(~"inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px @{glow-color}");
  44. }
  45. ul.no-list-style{
  46. list-style-type: none;
  47. margin-left: 0;
  48. }
  49. ul.no-list-style li{
  50. line-height: 28px;
  51. }
  52. div[class*="span"]{
  53. .transition(~"all .4s linear");
  54. }
  55. /*--------------------------------------------------------------------------
  56. Typography Style
  57. --------------------------------------------------------------------------*/
  58. body{
  59. font-family: Arial, Helvetica, sans-serif;
  60. font-size: 14px;
  61. line-height: 20px;
  62. color: @font-color;
  63. }
  64. h1{
  65. color: @heading-color;
  66. font-family: 'Open Sans', sans-serif;
  67. font-weight: 800;
  68. }
  69. h2{
  70. color: @heading-color;
  71. font-family: 'Open Sans', sans-serif;
  72. font-size: 2em;
  73. border-bottom: 2px solid @heading-color;
  74. line-height: 1.5em;
  75. margin: 30px 0;
  76. padding-left: 10px;
  77. }
  78. h3{
  79. font-family: 'Open Sans', sans-serif;
  80. color: @heading-color;
  81. font-size: 1.5em;
  82. }
  83. h4{
  84. font-family: 'Open Sans', sans-serif;
  85. color: @heading-color;
  86. margin-bottom: 10px;
  87. }
  88. a{
  89. color: @theme-color;
  90. }
  91. a:hover{
  92. color: darken(@theme-color, 20%);
  93. }