layout.css 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257
  1. /* @group <section> */
  2. section {
  3. position: absolute;
  4. width: 100%;
  5. height: 100%;
  6. overflow: hidden;
  7. z-index: 0;
  8. -webkit-backface-visibility: hidden;
  9. -webkit-transform: translate3d(100%, 0, 0);}
  10. section:first-child{
  11. z-index: 1;
  12. -webkit-transform: translate3d(0%, 0, 0);}
  13. section.hide{
  14. z-index: 0;
  15. -webkit-transform: translate3d(-100%, 0, 0);}
  16. section.show{
  17. z-index: 1;
  18. -webkit-transform: translate3d(0%, 0, 0);}
  19. section.static.hide{
  20. -webkit-transform: translate3d(0%, 0, 0);}
  21. section.popup{
  22. -webkit-transform: translate3d(0, 100%, 0);}
  23. section.popup.show{
  24. -webkit-transform: translate3d(0, 0%, 0);}
  25. section.popup.hide{
  26. -webkit-transform: translate3d(0, -100%, 0);}
  27. /* @end */
  28. /* @group <header> & <footer> */
  29. header, footer{
  30. position: absolute;
  31. left: 0px;
  32. width: 100%;
  33. height: 40px;
  34. line-height: 40px;
  35. display: block;
  36. z-index: 2;}
  37. header{
  38. top: 0px
  39. }
  40. footer{
  41. bottom:0px;
  42. }
  43. header .title, footer .title {
  44. float: left;
  45. margin: 0 8px;
  46. font-size: 1.1em;
  47. }
  48. section header a.button, section footer a.button{
  49. margin: 2px 2px auto;
  50. }
  51. section header a.button.icon, section footer a.button.icon{
  52. width: 17px;
  53. font-size: 1.5em;
  54. font-weight: normal;}
  55. /* @end */
  56. /* @group <nav> */
  57. nav{
  58. height: inherit;
  59. text-align: center;
  60. font-weight: normal;}
  61. nav a{
  62. display: inline-block;
  63. padding: 0 9px 0 10px;
  64. height: inherit;
  65. min-width: 22px;
  66. float: left;
  67. font-size: 2.0em;}
  68. nav a abbr{
  69. position: relative;
  70. bottom: 3px;
  71. margin-left: 4px;
  72. display: none;
  73. font-size: 0.5em;
  74. font-weight: bold;}
  75. nav a.current abbr{
  76. display: inline; }
  77. nav a.current{
  78. -webkit-transition: all 0.3s ease-in-out;}
  79. /* @end */
  80. /* @group <article> */
  81. article{
  82. position: absolute;
  83. width: 100%;
  84. height: auto;
  85. top: 0px;
  86. bottom: 0px;
  87. display: block;
  88. z-index: 0;
  89. opacity: 0;}
  90. article.current{
  91. z-index: 1;
  92. opacity: 1; }
  93. /* @end */
  94. /* @group .list */
  95. .list li:not(.toolbar) {
  96. padding: 8px 6px;
  97. list-style-type: none;
  98. }
  99. .list li:not(.toolbar) a {
  100. width: auto;
  101. display: block;
  102. }
  103. .list li:not(.toolbar) img, .list li:not(.toolbar) .icon {
  104. float: left;
  105. width: 32px;
  106. height: 32px;
  107. margin-right: 6px;
  108. font-size: 36px;
  109. font-weight: normal;
  110. line-height: 32px;
  111. }
  112. .list strong, .list small {
  113. overflow: hidden;
  114. white-space: nowrap;
  115. text-overflow: ellipsis;
  116. }
  117. .list strong {
  118. font-size: 1.1em;
  119. width: 75%;
  120. }
  121. .list small {
  122. display: block;
  123. font-size: 0.9em;
  124. font-style: normal;
  125. }
  126. /* @group .anchor */
  127. .list li.anchor {
  128. font-size: 0.9em;
  129. font-weight: bold;
  130. padding-top: 3px;
  131. padding-bottom: 3px;
  132. }
  133. .list .anchor a {
  134. padding: 0px;
  135. }
  136. .list .anchor .icon{
  137. width: 14px !important;
  138. height: 14px !important;
  139. margin-right: 4px !important;
  140. font-size: 1.3em !important;
  141. font-weight: normal;
  142. line-height: 16px !important;
  143. }
  144. .list .anchor .bubble{
  145. display: none;
  146. }
  147. /* @end */
  148. /* @group .info */
  149. .list li.info{
  150. min-height: 48px;
  151. }
  152. .list li.info img, .list li.info .icon{
  153. height: 48px;
  154. width: 48px;
  155. line-height: 48px;
  156. }
  157. /* @end */
  158. /* @group .search */
  159. .list .search input{
  160. width: 88%;
  161. }
  162. .list .search a{
  163. float: right;
  164. height: 30px;
  165. margin: 0px;
  166. padding: 0px;
  167. }
  168. .list .search a .icon{
  169. height: 12px;
  170. width: 30px;
  171. margin: 0px;
  172. font-size: 1.2em;
  173. font-weight: normal;
  174. }
  175. /* @end */
  176. /* @group .arrow */
  177. .list a.arrow:before{
  178. float: right;
  179. content: ">";
  180. position: relative;
  181. top: 6px;
  182. font-size: 16px;
  183. font-family: "Courier New", Courier, mono;
  184. font-weight: bold;
  185. }
  186. /* @end */
  187. /* @group .bubble */
  188. .list .bubble{
  189. position: relative;
  190. right: 2px;
  191. top: 6px;
  192. float: right;
  193. padding: 2px 3px 3px;
  194. line-height: 1.0em;
  195. font-weight: bold;
  196. font-size: 0.85em;
  197. }
  198. /* @end */
  199. /* @end */
  200. /* @group .toolbar */
  201. .toolbar{
  202. height: 48px;
  203. line-height: 44px;
  204. display: block;
  205. }
  206. .toolbar a {
  207. float: left;
  208. padding: 0;
  209. font-size: 2.0em;
  210. }
  211. /* @end */