styles.less 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254
  1. /**
  2. * Primary Drupal Styles
  3. * Author: g-u-i.net
  4. */
  5. @import "gui.less";
  6. body{font-size:16px; font-family: Arial, "MS Trebuchet", sans-serif;}
  7. a{color: #007BC2; text-decoration: none;}
  8. h1{font-size:1.6em;}
  9. h2{font-size:1.5em;}
  10. h3{font-size:1.4em;}
  11. h4{font-size:1.3em;}
  12. h5{font-size:1.2em;}
  13. h6{font-size:1.1em;}
  14. input{font-family: Arial, "MS Trebuchet", sans-serif; font-size:0.8em;}
  15. /** layout */
  16. #center, #sidebar-first, #sidebar-second, .footer-block .region, .header-block{ display:inline-block; vertical-align: top;}
  17. body.two-sidebars #center { width: 54%; }
  18. body.sidebar-first #center { width: 73%; }
  19. body.sidebar-second #center { width: 80%; }
  20. body.no-sidebars #center { width: 100%; }
  21. #sidebar-first { width: 24%; }
  22. #sidebar-second { width: 18%; }
  23. #header, #main, #footer{ padding:1em; }
  24. body{background-color: #DFDFDF;}
  25. #container{width:1024px; margin:0 auto; background-color: #FFF;}
  26. #header, #footer{background-color: #535353; color:#fff;}
  27. .block, .panel-pane{
  28. border: 1px solid #D1D1D1; padding:0.5em; margin:0.5em;
  29. -moz-border-radius: 5px;
  30. -webkit-border-radius: 5px;
  31. border-radius: 5px;
  32. background-color: #EAEAEA;
  33. }
  34. .footer-block .block{
  35. background-color: #353535; border: 1px solid #1a1a1a;
  36. }
  37. #footer-bottom{ text-align: center;}
  38. #footer-bottom .block{ background-color: transparent; border: 0 solid #999; font-size:0.7em;}
  39. #content{padding:1em;}
  40. .logo h1, h1.page-title{font-size:2em;}
  41. #header ul.menu li,
  42. #content-top ul.menu li,
  43. #content-bottom ul.menu li,
  44. #footer ul.menu li{display:inline-block; vertical-align:top; }
  45. .views-row{margin-bottom:1em;}
  46. .views-field-title{font-size:1.1em; font-weight:bold;}
  47. .views-field-title a{color: #444444; text-decoration:none;}
  48. li, .item-list ul li{list-style: none inside url(); margin-left:0;}
  49. /** Messages. */
  50. div.messages {
  51. padding: 9px;
  52. margin: 0.5em 0 0;
  53. color: #036;
  54. background: #bdf;
  55. border: 1px solid #ace;
  56. -moz-border-radius: 5px;
  57. -webkit-border-radius: 5px;
  58. border-radius: 5px;
  59. }
  60. div.warning {
  61. color: #840;
  62. background: #fe6;
  63. border-color: #ed5;
  64. }
  65. div.error {
  66. color: #fff;
  67. background: #e63;
  68. border-color: #d52;
  69. }
  70. div.error p.error {
  71. color: #333;
  72. }
  73. div.status {
  74. color: #360;
  75. background: #cf8;
  76. border-color: #be7;
  77. }
  78. /** Tab navigation */
  79. ul.primary, .views-admin-links ul {
  80. font:13px/1.231 sans-serif; *font-size:small;
  81. border-collapse: collapse;
  82. padding: 0 0 0 1em; /* LTR */
  83. white-space: nowrap;
  84. list-style: none;
  85. margin: 5px;
  86. height: auto;
  87. line-height: normal;
  88. border-bottom: 1px solid #bbb;
  89. }
  90. ul.primary li, .views-admin-links li{
  91. display: inline;
  92. }
  93. ul.primary li a, .views-admin-links li a {
  94. background-color: #ddd;
  95. border-color: #bbb;
  96. border-width: 1px;
  97. border-style: solid solid none solid;
  98. height: auto;
  99. margin-right: 0.5em; /* LTR */
  100. padding: 0 1em;
  101. text-decoration: none;
  102. -moz-border-radius-topleft: 5px;
  103. -webkit-border-top-left-radius: 5px;
  104. border-top-left-radius: 5px;
  105. -moz-border-radius-topright: 5px;
  106. -webkit-border-top-right-radius: 5px;
  107. border-top-right-radius: 5px;
  108. }
  109. ul.primary li.active a {
  110. background-color: #fff;
  111. border: 1px solid #bbb;
  112. border-bottom: #fff 1px solid;
  113. }
  114. ul.primary li a:hover, .views-admin-links li a:hover{
  115. background-color: #eee;
  116. border-color: #ccc;
  117. border-bottom-color: #eee;
  118. }
  119. ul.secondary {
  120. border-bottom: 1px solid #bbb;
  121. padding: 0.5em 1em;
  122. margin: 5px;
  123. }
  124. ul.secondary li {
  125. display: inline;
  126. padding: 0 1em;
  127. border-right: 1px solid #ccc; /* LTR */
  128. }
  129. ul.secondary a {
  130. padding: 0;
  131. text-decoration: none;
  132. }
  133. ul.secondary a.active {
  134. border-bottom: 4px solid #999;
  135. }
  136. /** Form */
  137. #node-form .form-region-main{border-right: 1px solid #BFBFBF; padding-right:10px; width:68%;}
  138. #node-form .form-region-main label{float:left; min-width:25%;}
  139. #node-form .form-region-main input.form-text{width:40%;}
  140. #node-form .form-region-right{padding-left:5px;}
  141. #node-form .form-region-right label{float:left; min-width:35%;}
  142. #node-form .form-region-right input.form-text{width:60%;}
  143. #node-form .form-region-main label.option, #node-form .form-region-right label.option{float: none;}
  144. form:not( #views-ui-config-item-form ) .form-item {
  145. position:relative;
  146. /* padding:9px;*/
  147. }
  148. form:not( #views-ui-config-item-form ) .form-item .description{
  149. position:absolute;
  150. bottom:140%;
  151. /* right:-15px;*/
  152. z-index:5;
  153. left:50%;
  154. color:#1A1A1A;
  155. line-height:1.1;
  156. background:url(../images/popup.png) 50% 100% no-repeat;
  157. width:240px;
  158. margin:0px 0px -15px;
  159. padding:9px 10px 20px;
  160. display:none;
  161. border-top: 1px solid #9F9F9F;
  162. }
  163. form:not( #views-ui-config-item-form ) .form-item:hover {
  164. z-index:1;
  165. height:auto; /* Fix for flicker in IE7 */
  166. }
  167. form:not( #views-ui-config-item-form ) .form-item:hover > .description { display:block; }
  168. fieldset{
  169. border: 1px solid #D4D4D4;
  170. padding:10px;
  171. margin-bottom:1em;
  172. -moz-border-radius: 5px;
  173. -webkit-border-radius: 5px;
  174. border-radius: 5px;
  175. }
  176. fieldset legend{
  177. font-size:1.6em;
  178. }
  179. input.form-text{max-width:95%;}
  180. /** TABLE */
  181. table{width:100%;
  182. -moz-border-radius: 5px;
  183. -webkit-border-radius: 5px;
  184. border-radius: 5px;
  185. }
  186. table thead th{
  187. background-color: #CCC;
  188. padding:0.5em 1em;
  189. text-align: left;
  190. }
  191. table tbody tr.even, table tbody tr.odd{
  192. border-bottom: 0 solid #CCCCCC;
  193. padding: 0.1em 0.6em;
  194. }
  195. table tbody tr.even{background-color: #EEE;}
  196. table tbody tr.odd{background-color: #E5E5E5;}
  197. table tbody td{
  198. padding:0.5em 1em;
  199. text-align: left;
  200. }
  201. td.active {background-color: transparent;}