global.dev.css 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608
  1. /* http://meyerweb.com/eric/tools/css/reset/ */
  2. /* v1.0 | 20080212 */
  3. html, body, div, span, applet, object, iframe,
  4. h1, h2, h3, h4, h5, h6, p, blockquote, pre,
  5. a, abbr, acronym, address, big, cite, code,
  6. del, dfn, em, font, img, ins, kbd, q, s, samp,
  7. small, strike, strong, sub, sup, tt, var,
  8. b, u, i, center,
  9. dl, dt, dd, ol, ul, li,
  10. fieldset, form, label, legend,
  11. table, caption, tbody, tfoot, thead, tr, th, td {
  12. margin: 0;
  13. padding: 0;
  14. border: 0;
  15. outline: 0;
  16. /* font-size: 100%;
  17. vertical-align: baseline; */
  18. background: transparent;
  19. }
  20. body {
  21. line-height: 1;
  22. }
  23. ol, ul {
  24. list-style: none;
  25. }
  26. blockquote, q {
  27. quotes: none;
  28. }
  29. blockquote:before, blockquote:after,
  30. q:before, q:after {
  31. content: '';
  32. content: none;
  33. }
  34. /* remember to define focus styles! */
  35. /*
  36. :focus {
  37. outline: 0;
  38. }
  39. */
  40. /* remember to highlight inserts somehow! */
  41. ins {
  42. text-decoration: none;
  43. }
  44. del {
  45. text-decoration: line-through;
  46. }
  47. /* tables still need 'cellspacing="0"' in the markup */
  48. /*
  49. table {
  50. border-collapse: collapse;
  51. border-spacing: 0;
  52. }
  53. */
  54. /* end reset css */
  55. /* 2 column liquid layout */
  56. #wpwrap {
  57. height: auto;
  58. min-height: 100%;
  59. width: 100%;
  60. position: relative;
  61. }
  62. #wpcontent {
  63. height: 100%;
  64. }
  65. #wpcontent,
  66. #footer {
  67. margin-left: 165px;
  68. }
  69. #wpbody-content {
  70. padding-bottom: 65px;
  71. }
  72. .js.folded #wpcontent,
  73. .js.folded #footer {
  74. margin-left: 52px;
  75. }
  76. #wpbody-content {
  77. float: left;
  78. width: 100%;
  79. }
  80. #adminmenuback,
  81. #adminmenuwrap,
  82. #adminmenu,
  83. .js.folded #adminmenu .wp-submenu.sub-open,
  84. .js.folded #adminmenu .wp-submenu-wrap {
  85. width: 145px;
  86. }
  87. #adminmenuback {
  88. position: absolute;
  89. top: 0;
  90. bottom: 0;
  91. z-index: -1;
  92. }
  93. #adminmenuwrap {
  94. float: left;
  95. }
  96. #adminmenu {
  97. clear: left;
  98. padding: 0;
  99. list-style: none;
  100. }
  101. .js.folded #adminmenuback,
  102. .js.folded #adminmenuwrap,
  103. .js.folded #adminmenu,
  104. .js.folded #adminmenu li.menu-top {
  105. width: 32px;
  106. }
  107. #footer {
  108. position: relative;
  109. }
  110. /* inner 2 column liquid layout */
  111. .inner-sidebar {
  112. float: right;
  113. clear: right;
  114. display: none;
  115. width: 281px;
  116. position: relative;
  117. }
  118. .inner-sidebar #side-sortables {
  119. width: 280px;
  120. min-height: 300px;
  121. }
  122. .has-right-sidebar .inner-sidebar {
  123. display: block;
  124. }
  125. .has-right-sidebar #post-body {
  126. float: left;
  127. clear: left;
  128. width: 100%;
  129. margin-right: -340px;
  130. }
  131. .has-right-sidebar #post-body-content {
  132. margin-right: 300px;
  133. }
  134. /* 2 columns main area */
  135. #col-container {
  136. overflow: hidden;
  137. padding: 0;
  138. margin: 0;
  139. }
  140. #col-left {
  141. padding: 0;
  142. margin: 0;
  143. overflow: hidden;
  144. width: 39%;
  145. }
  146. #col-right {
  147. float: right;
  148. clear: right;
  149. overflow: hidden;
  150. padding: 0;
  151. margin: 0;
  152. width: 59%;
  153. }
  154. /* utility classes */
  155. .alignleft {
  156. float: left;
  157. }
  158. .alignright {
  159. float: right;
  160. }
  161. .textleft {
  162. text-align: left;
  163. }
  164. .textright {
  165. text-align: right;
  166. }
  167. .clear {
  168. clear: both;
  169. }
  170. /* Hide visually but not from screen readers */
  171. .screen-reader-text,
  172. .screen-reader-text span {
  173. position: absolute;
  174. left: -1000em;
  175. height: 1px;
  176. width: 1px;
  177. overflow: hidden;
  178. }
  179. .hidden,
  180. .js .closed .inside,
  181. .js .hide-if-js,
  182. .no-js .hide-if-no-js {
  183. display: none;
  184. }
  185. /* include margin and padding in the width calculation of input and textarea */
  186. input[type="text"],
  187. input[type="password"],
  188. textarea {
  189. -moz-box-sizing: border-box;
  190. -webkit-box-sizing: border-box;
  191. -ms-box-sizing: border-box; /* ie8 only */
  192. box-sizing: border-box;
  193. }
  194. input[type="checkbox"],
  195. input[type="radio"] {
  196. vertical-align: middle;
  197. }
  198. /* styles for use by people extending the WordPress interface */
  199. html,
  200. body {
  201. height: 100%;
  202. }
  203. body,
  204. td,
  205. textarea,
  206. input,
  207. select {
  208. font-family: sans-serif;
  209. font-size: 13px;
  210. }
  211. body,
  212. textarea {
  213. line-height: 1.4em;
  214. }
  215. input,
  216. select {
  217. line-height: 15px;
  218. }
  219. p {
  220. margin: 1em 0;
  221. }
  222. blockquote {
  223. margin: 1em;
  224. }
  225. label {
  226. cursor: pointer;
  227. }
  228. li,
  229. dd {
  230. margin-bottom: 6px;
  231. }
  232. p,
  233. li,
  234. dl,
  235. dd,
  236. dt {
  237. line-height: 140%;
  238. }
  239. textarea,
  240. input,
  241. select {
  242. margin: 1px;
  243. padding: 3px;
  244. }
  245. h1 {
  246. display: block;
  247. font-size: 2em;
  248. font-weight: bold;
  249. margin: .67em 0;
  250. }
  251. h2 {
  252. display: block;
  253. font-size: 1.5em;
  254. font-weight: bold;
  255. margin: .83em 0;
  256. }
  257. h3 {
  258. display: block;
  259. font-size: 1.17em;
  260. font-weight: bold;
  261. margin: 1em 0;
  262. }
  263. h4 {
  264. display: block;
  265. font-size: 1em;
  266. font-weight: bold;
  267. margin: 1.33em 0;
  268. }
  269. h5 {
  270. display: block;
  271. font-size: 0.83em;
  272. font-weight: bold;
  273. margin: 1.67em 0;
  274. }
  275. h6 {
  276. display: block;
  277. font-size: 0.67em;
  278. font-weight: bold;
  279. margin: 2.33em 0;
  280. }
  281. ul.ul-disc {
  282. list-style: disc outside;
  283. }
  284. ul.ul-square {
  285. list-style: square outside;
  286. }
  287. ol.ol-decimal {
  288. list-style: decimal outside;
  289. }
  290. ul.ul-disc,
  291. ul.ul-square,
  292. ol.ol-decimal {
  293. margin-left: 1.8em;
  294. }
  295. ul.ul-disc > li,
  296. ul.ul-square > li,
  297. ol.ol-decimal > li {
  298. margin: 0 0 0.5em;
  299. }
  300. .subsubsub {
  301. list-style: none;
  302. margin: 8px 0 5px;
  303. padding: 0;
  304. white-space: nowrap;
  305. font-size: 12px;
  306. float: left;
  307. }
  308. .subsubsub a {
  309. line-height: 2;
  310. padding: .2em;
  311. text-decoration: none;
  312. }
  313. .subsubsub a .count, .subsubsub a.current .count {
  314. color: #999;
  315. font-weight: normal;
  316. }
  317. .subsubsub a.current {
  318. font-weight: bold;
  319. background: none;
  320. border: none;
  321. }
  322. .subsubsub li {
  323. display: inline;
  324. margin: 0;
  325. padding: 0;
  326. }
  327. .widefat {
  328. border-width: 1px;
  329. border-style: solid;
  330. border-spacing: 0;
  331. width: 100%;
  332. clear: both;
  333. margin: 0;
  334. -moz-border-radius: 3px;
  335. -khtml-border-radius: 3px;
  336. -webkit-border-radius: 3px;
  337. border-radius: 3px;
  338. }
  339. .widefat * {
  340. word-wrap: break-word;
  341. }
  342. .widefat a {
  343. text-decoration: none;
  344. }
  345. .widefat thead th:first-of-type {
  346. -moz-border-radius-topleft: 3px;
  347. -khtml-border-top-left-radius: 3px;
  348. -webkit-border-top-left-radius: 3px;
  349. border-top-left-radius: 3px;
  350. }
  351. .widefat thead th:last-of-type {
  352. -moz-border-radius-topright: 3px;
  353. -khtml-border-top-right-radius: 3px;
  354. -webkit-border-top-right-radius: 3px;
  355. border-top-right-radius: 3px;
  356. }
  357. .widefat tfoot th:first-of-type {
  358. -moz-border-radius-bottomleft: 3px;
  359. -khtml-border-bottom-left-radius: 3px;
  360. -webkit-border-bottom-left-radius: 3px;
  361. border-bottom-left-radius: 3px;
  362. }
  363. .widefat tfoot th:last-of-type {
  364. -moz-border-radius-bottomright: 3px;
  365. -khtml-border-bottom-right-radius: 3px;
  366. -webkit-border-bottom-right-radius: 3px;
  367. border-bottom-right-radius: 3px;
  368. }
  369. .widefat td,
  370. .widefat th {
  371. border-width: 1px 0;
  372. border-style: solid;
  373. }
  374. .widefat tfoot th {
  375. border-bottom: none;
  376. }
  377. .widefat .no-items td {
  378. border-bottom-width: 0;
  379. }
  380. .widefat td {
  381. font-size: 12px;
  382. padding: 4px 7px 2px;
  383. vertical-align: top;
  384. }
  385. .widefat td p,
  386. .widefat td ol,
  387. .widefat td ul {
  388. font-size: 12px;
  389. }
  390. .widefat th {
  391. padding: 7px 7px 8px;
  392. text-align: left;
  393. line-height: 1.3em;
  394. font-size: 14px;
  395. }
  396. .widefat th input {
  397. margin: 0 0 0 8px;
  398. padding: 0;
  399. vertical-align: text-top;
  400. }
  401. .widefat .check-column {
  402. width: 2.2em;
  403. padding: 11px 0 0;
  404. vertical-align: top;
  405. }
  406. .widefat tbody th.check-column {
  407. padding: 9px 0 22px;
  408. }
  409. .widefat .num,
  410. .column-comments,
  411. .column-links,
  412. .column-posts {
  413. text-align: center;
  414. }
  415. .widefat th#comments {
  416. vertical-align: middle;
  417. }
  418. .wrap {
  419. margin: 0 15px 0 0;
  420. }
  421. div.updated,
  422. div.error {
  423. border-width: 1px;
  424. border-style: solid;
  425. padding: 0 0.6em;
  426. margin: 5px 15px 2px;
  427. -moz-border-radius: 3px;
  428. -khtml-border-radius: 3px;
  429. -webkit-border-radius: 3px;
  430. border-radius: 3px;
  431. }
  432. div.updated p,
  433. div.error p {
  434. margin: 0.5em 0;
  435. padding: 2px;
  436. }
  437. .wrap div.updated,
  438. .wrap div.error {
  439. margin: 5px 0 15px;
  440. }
  441. .wrap h2,
  442. .subtitle {
  443. font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", sans-serif;
  444. font-weight: normal;
  445. margin: 0;
  446. text-shadow: rgba(255,255,255,1) 0 1px 0;
  447. }
  448. .wrap h2 {
  449. font-size: 23px;
  450. padding: 9px 15px 4px 0;
  451. line-height: 29px;
  452. }
  453. .subtitle {
  454. font-size: 14px;
  455. padding-left: 25px;
  456. }
  457. .wrap .add-new-h2 {
  458. font-family: sans-serif;
  459. margin-left: 4px;
  460. padding: 3px 8px;
  461. position: relative;
  462. top: -3px;
  463. -moz-border-radius: 3px;
  464. -khtml-border-radius: 3px;
  465. -webkit-border-radius: 3px;
  466. border-radius: 3px;
  467. text-decoration: none;
  468. font-size: 12px;
  469. }
  470. .wrap h2.long-header {
  471. padding-right: 0;
  472. }
  473. /* =CSS 3 transitions
  474. -------------------------------------------------------------- */
  475. .fade-1000 {
  476. opacity: 0;
  477. -moz-transition-property: opacity;
  478. -moz-transition-duration: 1s;
  479. -webkit-transition-property: opacity;
  480. -webkit-transition-duration: 1s;
  481. -o-transition-property: opacity;
  482. -o-transition-duration: 1s;
  483. transition-property: opacity;
  484. transition-duration: 1s;
  485. }
  486. .fade-600 {
  487. opacity: 0;
  488. -moz-transition-property: opacity;
  489. -moz-transition-duration: 0.6s;
  490. -webkit-transition-property: opacity;
  491. -webkit-transition-duration: 0.6s;
  492. -o-transition-property: opacity;
  493. -o-transition-duration: 0.6s;
  494. transition-property: opacity;
  495. transition-duration: 0.6s;
  496. }
  497. .fade-400 {
  498. opacity: 0;
  499. -moz-transition-property: opacity;
  500. -moz-transition-duration: 0.4s;
  501. -webkit-transition-property: opacity;
  502. -webkit-transition-duration: 0.4s;
  503. -o-transition-property: opacity;
  504. -o-transition-duration: 0.4s;
  505. transition-property: opacity;
  506. transition-duration: 0.4s;
  507. }
  508. .fade-300 {
  509. opacity: 0;
  510. -moz-transition-property: opacity;
  511. -moz-transition-duration: 0.3s;
  512. -webkit-transition-property: opacity;
  513. -webkit-transition-duration: 0.3s;
  514. -o-transition-property: opacity;
  515. -o-transition-duration: 0.3s;
  516. transition-property: opacity;
  517. transition-duration: 0.3s;
  518. }
  519. .fade-trigger {
  520. opacity: 1;
  521. }