You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

styles.css 5.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441
  1. html {
  2. margin: 0;
  3. padding: 0;
  4. text-align: center;
  5. }
  6. body {
  7. background-color: #fff;
  8. font: normal 14px/20px Helvetica, "Lucida Grande", Arial, Verdana, sans-serif;
  9. color: #464440;
  10. padding: 0;
  11. min-width: 980px;
  12. text-align: left;
  13. margin: 0 auto;
  14. }
  15. .clearer {
  16. height: 0;
  17. overflow: hidden;
  18. clear: both;
  19. }
  20. h1,h2,h3,h4,h5,h6 {
  21. color: #000;
  22. font-weight: normal;
  23. line-height: normal;
  24. }
  25. h1 {
  26. font-size: 48px;
  27. font-weight: bold;
  28. }
  29. h2 {
  30. font-size: 36px;
  31. font-weight: bold;
  32. }
  33. h3 {
  34. font-size: 30px;
  35. font-weight: bold;
  36. margin-bottom: 23px;
  37. }
  38. h4 {
  39. font-size: 18px;
  40. margin-bottom: .8em;
  41. }
  42. h5 {
  43. font-size: 16px;
  44. margin-bottom: .5em;
  45. }
  46. h6 {
  47. font-size: 14px;
  48. margin: .6em 0 .1em;
  49. }
  50. p {
  51. margin: 0 0 1em;
  52. }
  53. a {
  54. text-decoration: none;
  55. padding: 0 3px;
  56. margin: 0 -3px;
  57. -moz-border-radius: 2px;
  58. -webkit-border-radius: 2px;
  59. border-radius: 2px;
  60. }
  61. a:link {
  62. color: #00a2d8;
  63. }
  64. a:visited {
  65. color: #003648;
  66. }
  67. a:hover {
  68. background: #e4e3da;
  69. color: #505048;
  70. }
  71. a:active {
  72. color: #000;
  73. background: #a09f91;
  74. }
  75. ul {
  76. list-style-type: square;
  77. }
  78. .codeblock {
  79. background: #f0efea;
  80. padding: 1em;
  81. margin: 1em 0;
  82. -webkit-border-radius: 8px;
  83. -moz-border-radius: 8px;
  84. }
  85. .codeblock h4 {
  86. margin-top: 0;
  87. }
  88. /***************************************************
  89. * Furniture
  90. ***************************************************/
  91. #header {
  92. height: 93px;
  93. position: relative;
  94. }
  95. #header h1 {
  96. width: 393px;
  97. height: 46px;
  98. background: transparent url(../img/vaadin-logo.png) no-repeat;
  99. position: absolute;
  100. top: 23px;
  101. left: 50%;
  102. margin: 0;
  103. margin-left: -484px;
  104. text-indent: -9999px;
  105. }
  106. #version {
  107. position: absolute;
  108. left: 50%;
  109. top: 38px;
  110. color: #000;
  111. text-align: right;
  112. width: 484px;
  113. }
  114. #version a {
  115. color: #78776d;
  116. display: inline-block;
  117. zoom: 1;
  118. padding: 1px 12px;
  119. font-size: 12px;
  120. background: #e4e3da;
  121. -moz-border-radius: 9px;
  122. -webkit-border-radius: 9px;
  123. border-radius: 9px;
  124. }
  125. #version a:hover {
  126. border: none;
  127. background: #a09f91;
  128. color: #fff;
  129. }
  130. #version .release-notes {
  131. margin-left: 10px;
  132. }
  133. #subheader {
  134. position: relative;
  135. height: 38px;
  136. line-height: 38px;
  137. background: #000;
  138. }
  139. #menu,
  140. #links {
  141. list-style: none;
  142. padding: 0;
  143. margin: 0;
  144. }
  145. #subheader li {
  146. display: inline;
  147. float: left;
  148. padding: 0;
  149. }
  150. #menu {
  151. position: absolute;
  152. left: 50%;
  153. width: 650px;
  154. margin-left: -483px;
  155. font-weight: bold;
  156. white-space: nowrap;
  157. z-index: 2;
  158. }
  159. #menu li {
  160. margin: 0 .3em;
  161. }
  162. #menu li,
  163. #menu a {
  164. color: #d9d8cb;
  165. }
  166. #links {
  167. width: 484px;
  168. position: absolute;
  169. top: 2px;
  170. left: 50%;
  171. z-index: 1;
  172. }
  173. #links li {
  174. float: right;
  175. }
  176. #links a {
  177. font-size: 12px;
  178. line-height: 34px;
  179. color: #a09f91;
  180. margin-left: 14px;
  181. white-space: nowrap;
  182. }
  183. #subheader a:hover {
  184. background: transparent;
  185. color: #fff;
  186. }
  187. ul {
  188. padding-left: 1.3em;
  189. }
  190. #footer {
  191. margin: 0 auto;
  192. width: 968px;
  193. height: 60px;
  194. color: #000;
  195. font-size: 11px;
  196. }
  197. #footer a {
  198. float: right;
  199. }
  200. #footer strong {
  201. font-size: 13px;
  202. }
  203. #footer strong em {
  204. color: #00b4f0;
  205. font-style: normal;
  206. margin: 0 0.2em 0 -0.15em;
  207. }
  208. /***************************************************
  209. * Content wrapper
  210. ***************************************************/
  211. #content {
  212. position: relative;
  213. margin: 0 0 56px -484px;
  214. left: 50%;
  215. width: 968px;
  216. overflow: hidden;
  217. }
  218. /***************************************************
  219. * Vertical tabs
  220. ***************************************************/
  221. #tabs {
  222. float: left;
  223. width: 196px;
  224. }
  225. #tabs .tab {
  226. font-size: 18px;
  227. cursor: pointer;
  228. padding: 8px 14px;
  229. background: #fff;
  230. color: #a09f91;
  231. -webkit-transition: linear .2s color;
  232. }
  233. #tabs .tab * {
  234. vertical-align: middle;
  235. }
  236. #tabs .tab a {
  237. margin: 0;
  238. padding: 0;
  239. color: #00a2d8;
  240. -webkit-transition: linear .2s color;
  241. }
  242. #tabs .tab:hover a,
  243. #tabs .tab a:focus {
  244. background: transparent;
  245. margin: 0;
  246. padding: 0;
  247. color: #464440;
  248. }
  249. #tabs .tab:hover {
  250. color: #464440;
  251. }
  252. #tabs .tab span {
  253. font-size: 9px;
  254. margin-left: .7em;
  255. }
  256. #tabs .selected,
  257. #tabs .selected:hover,
  258. #tabs .selected:hover a,
  259. #tabs .selected a,
  260. #tabs .selected a:hover,
  261. #tabs .selected a:focus {
  262. color: #000;
  263. cursor: default;
  264. -webkit-transition: linear .2s color;
  265. font-weight: bold;
  266. }
  267. #tabs .first {
  268. margin-top: 0;
  269. }
  270. h3.reasons {
  271. color: #78776d;
  272. margin: 0 0 40px;
  273. height: 30px;
  274. }
  275. #reasons {
  276. list-style: none;
  277. margin: 0;
  278. padding: 0;
  279. }
  280. #reasons.js {
  281. float: left;
  282. width: 769px;
  283. }
  284. #reasons .tab {
  285. display: block;
  286. margin: 0 0 1em;
  287. padding: 20px 40px;
  288. background: #efeee9;
  289. -webkit-border-radius: 9px;
  290. -moz-border-radius: 9px;
  291. border-radius: 9px;
  292. clear: left;
  293. overflow: hidden;
  294. }
  295. #reasons.js .tab {
  296. width: 689px;
  297. }
  298. #reasons .tab h4 {
  299. font-weight: bold;
  300. font-size: 24px;
  301. margin: 14px 0 24px;
  302. }
  303. #reasons .tab .col {
  304. width: 22.8%;
  305. margin-right: 2%;
  306. float: left;
  307. margin-bottom: 2em;
  308. }
  309. #reasons .tab .col2 {
  310. width: 47.8%;
  311. margin-right: 2%;
  312. float: left;
  313. margin-bottom: 2em;
  314. }
  315. #reasons .tab .col3 {
  316. width: 72.8%;
  317. margin-right: 2%;
  318. float: left;
  319. margin-bottom: 2em;
  320. }
  321. #reasons .tab .col4 {
  322. clear: left;
  323. margin-bottom: 2em;
  324. }
  325. #reasons .tab .newline {
  326. clear: left;
  327. }
  328. #reasons .tab p:last-child {
  329. margin: 0;
  330. }
  331. #reasons .tab h5 {
  332. margin-top: 0;
  333. }
  334. /***************************************************
  335. * Section specific styles
  336. ***************************************************/
  337. img {
  338. border: none;
  339. }
  340. .book {
  341. overflow: hidden;
  342. }
  343. .book h5 {
  344. font-weight: bold;
  345. font-size: 18px;
  346. }
  347. .book h6 {
  348. margin: -0.7em 0 .7em;
  349. color: #464440;
  350. font-size: 13px;
  351. font-style: italic;
  352. color: #736f5e;
  353. }
  354. .book img {
  355. float: left;
  356. margin-right: 1.2em;
  357. }
  358. .dzone img,
  359. .tutorial img {
  360. float: left;
  361. margin: 0 1em 2em 0;
  362. }
  363. .tools img {
  364. margin: 0em 2em .8em 2em;
  365. float: right;
  366. }