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.

249 lines
8.4 KiB

10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
  1. /*
  2. * # Semantic UI
  3. * https://github.com/Semantic-Org/Semantic-UI
  4. * http://www.semantic-ui.com/
  5. *
  6. * Copyright 2014 Contributors
  7. * Released under the MIT license
  8. * http://opensource.org/licenses/MIT
  9. *
  10. */
  11. /*******************************
  12. Accordion
  13. *******************************/
  14. .ui.accordion,
  15. .ui.accordion .accordion {
  16. max-width: 100%;
  17. font-size: 1em;
  18. }
  19. .ui.accordion .accordion {
  20. margin: 1em 0em 0em;
  21. padding: 0em;
  22. }
  23. /* Title */
  24. .ui.accordion .title,
  25. .ui.accordion .accordion .title {
  26. cursor: pointer;
  27. }
  28. /* Default Styling */
  29. .ui.accordion .title:not(.ui) {
  30. padding: 0.5em 0em;
  31. font-family: 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif;
  32. font-size: 1em;
  33. color: rgba(0, 0, 0, 0.8);
  34. }
  35. /* Content */
  36. .ui.accordion .title ~ .content,
  37. .ui.accordion .accordion .title ~ .content {
  38. display: none;
  39. }
  40. /* Default Styling */
  41. .ui.accordion:not(.styled) .title ~ .content:not(.ui),
  42. .ui.accordion:not(.styled) .accordion .title ~ .content:not(.ui) {
  43. margin: 0em;
  44. padding: 0.5em 0em 1em;
  45. }
  46. .ui.accordion:not(.styled) .title ~ .content:not(.ui):last-child {
  47. padding-bottom: 0em;
  48. }
  49. /* Arrow */
  50. .ui.accordion .title .dropdown.icon,
  51. .ui.accordion .accordion .title .dropdown.icon {
  52. display: inline-block;
  53. float: none;
  54. opacity: 0.75;
  55. width: 1.25em;
  56. height: 1em;
  57. margin: 0em 0.25rem 0em 0rem;
  58. padding: 0em;
  59. font-size: 1em;
  60. -webkit-transition: -webkit-transform 0.2s ease, opacity 0.2s ease;
  61. transition: transform 0.2s ease, opacity 0.2s ease;
  62. vertical-align: baseline;
  63. -webkit-transform: rotate(0deg);
  64. -ms-transform: rotate(0deg);
  65. transform: rotate(0deg);
  66. }
  67. /*--------------
  68. Coupling
  69. ---------------*/
  70. /* Menu */
  71. .ui.accordion.menu .item .title {
  72. display: block;
  73. padding: 0em;
  74. }
  75. .ui.accordion.menu .item .title > .dropdown.icon {
  76. float: right;
  77. margin: 0.165em 0em 0em 1em;
  78. -webkit-transform: rotate(180deg);
  79. -ms-transform: rotate(180deg);
  80. transform: rotate(180deg);
  81. }
  82. /* Header */
  83. .ui.accordion .ui.header .dropdown.icon {
  84. font-size: 1em;
  85. margin: 0em 0.25rem 0em 0rem;
  86. }
  87. /*******************************
  88. States
  89. *******************************/
  90. .ui.accordion .active.title .dropdown.icon,
  91. .ui.accordion .accordion .active.title .dropdown.icon {
  92. -webkit-transform: rotate(90deg);
  93. -ms-transform: rotate(90deg);
  94. transform: rotate(90deg);
  95. }
  96. .ui.accordion.menu .item .active.title > .dropdown.icon {
  97. -webkit-transform: rotate(90deg);
  98. -ms-transform: rotate(90deg);
  99. transform: rotate(90deg);
  100. }
  101. /*******************************
  102. Types
  103. *******************************/
  104. /*--------------
  105. Styled
  106. ---------------*/
  107. .ui.styled.accordion {
  108. width: 600px;
  109. }
  110. .ui.styled.accordion,
  111. .ui.styled.accordion .accordion {
  112. border-radius: 0.2857rem;
  113. background: #ffffff;
  114. box-shadow: 0px 1px 2px 0 rgba(0, 0, 0, 0.05), 0px 0px 0px 1px rgba(39, 41, 43, 0.15);
  115. }
  116. .ui.styled.accordion .title,
  117. .ui.styled.accordion .accordion .title {
  118. margin: 0em;
  119. padding: 0.75em 1em;
  120. color: rgba(0, 0, 0, 0.4);
  121. font-weight: bold;
  122. border-top: 1px solid rgba(39, 41, 43, 0.15);
  123. -webkit-transition: background 0.2s ease, color 0.2s ease;
  124. transition: background 0.2s ease, color 0.2s ease;
  125. }
  126. .ui.styled.accordion > .title:first-child,
  127. .ui.styled.accordion > .accordion .title:first-child {
  128. border-top: none;
  129. }
  130. /* Content */
  131. .ui.styled.accordion .content,
  132. .ui.styled.accordion .accordion .content {
  133. margin: 0em;
  134. padding: 0.5em 1em 1.5em;
  135. }
  136. .ui.styled.accordion .accordion .content {
  137. padding: 0em;
  138. padding: 0.5em 1em 1.5em;
  139. }
  140. /* Hover */
  141. .ui.styled.accordion .title:hover,
  142. .ui.styled.accordion .active.title,
  143. .ui.styled.accordion .accordion .title:hover,
  144. .ui.styled.accordion .accordion .active.title {
  145. background: transparent;
  146. color: rgba(0, 0, 0, 0.8);
  147. }
  148. .ui.styled.accordion .accordion .title:hover,
  149. .ui.styled.accordion .accordion .active.title {
  150. background: transparent;
  151. color: rgba(0, 0, 0, 0.8);
  152. }
  153. /* Active */
  154. .ui.styled.accordion .active.title {
  155. background: transparent;
  156. color: rgba(0, 0, 0, 0.8);
  157. }
  158. .ui.styled.accordion .accordion .active.title {
  159. background: transparent;
  160. color: rgba(0, 0, 0, 0.8);
  161. }
  162. /*******************************
  163. States
  164. *******************************/
  165. /*--------------
  166. Active
  167. ---------------*/
  168. .ui.accordion .active.content,
  169. .ui.accordion .accordion .active.content {
  170. display: block;
  171. }
  172. /*******************************
  173. Variations
  174. *******************************/
  175. /*--------------
  176. Fluid
  177. ---------------*/
  178. .ui.fluid.accordion,
  179. .ui.fluid.accordion .accordion {
  180. width: 100%;
  181. }
  182. /*******************************
  183. Theme Overrides
  184. *******************************/
  185. @font-face {
  186. font-family: 'Accordion';
  187. src: url(data:application/x-font-ttf;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMggjB5AAAAC8AAAAYGNtYXAPfOIKAAABHAAAAExnYXNwAAAAEAAAAWgAAAAIZ2x5Zryj6HgAAAFwAAAAyGhlYWT/0IhHAAACOAAAADZoaGVhApkB5wAAAnAAAAAkaG10eAJuABIAAAKUAAAAGGxvY2EAjABWAAACrAAAAA5tYXhwAAgAFgAAArwAAAAgbmFtZfC1n04AAALcAAABPHBvc3QAAwAAAAAEGAAAACAA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AIABnAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4ALgADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA) format('truetype'), url(data:application/font-woff;charset=utf-8;base64,d09GRk9UVE8AAASwAAoAAAAABGgAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABDRkYgAAAA9AAAAS0AAAEtFpovuE9TLzIAAAIkAAAAYAAAAGAIIweQY21hcAAAAoQAAABMAAAATA984gpnYXNwAAAC0AAAAAgAAAAIAAAAEGhlYWQAAALYAAAANgAAADb/0IhHaGhlYQAAAxAAAAAkAAAAJAKZAedobXR4AAADNAAAABgAAAAYAm4AEm1heHAAAANMAAAABgAAAAYABlAAbmFtZQAAA1QAAAE8AAABPPC1n05wb3N0AAAEkAAAACAAAAAgAAMAAAEABAQAAQEBB3JhdGluZwABAgABADr4HAL4GwP4GAQeCgAZU/+Lix4KABlT/4uLDAeLa/iU+HQFHQAAAHkPHQAAAH4RHQAAAAkdAAABJBIABwEBBw0PERQZHnJhdGluZ3JhdGluZ3UwdTF1MjB1RjBEOXVGMERBAAACAYkABAAGAQEEBwoNVp38lA78lA78lA77lA773Z33bxWLkI2Qj44I9xT3FAWOj5CNkIuQi4+JjoePiI2Gi4YIi/uUBYuGiYeHiIiHh4mGi4aLho2Ijwj7FPcUBYeOiY+LkAgO+92L5hWL95QFi5CNkI6Oj4+PjZCLkIuQiY6HCPcU+xQFj4iNhouGi4aJh4eICPsU+xQFiIeGiYaLhouHjYePiI6Jj4uQCA74lBT4lBWLDAoAAAAAAwIAAZAABQAAAUwBZgAAAEcBTAFmAAAA9QAZAIQAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADw2gHg/+D/4AHgACAAAAABAAAAAAAAAAAAAAAgAAAAAAACAAAAAwAAABQAAwABAAAAFAAEADgAAAAKAAgAAgACAAEAIPDa//3//wAAAAAAIPDZ//3//wAB/+MPKwADAAEAAAAAAAAAAAAAAAEAAf//AA8AAQAAAAEAADfYOJZfDzz1AAsCAAAAAADP/aPuAAAAAM/9o+4AAAAAALcBbgAAAAgAAgAAAAAAAAABAAAB4P/gAAACAAAAAAAAtwABAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAEAAAAAtwASALcAAAAAUAAABgAAAAAADgCuAAEAAAAAAAEADAAAAAEAAAAAAAIADgBAAAEAAAAAAAMADAAiAAEAAAAAAAQADABOAAEAAAAAAAUAFgAMAAEAAAAAAAYABgAuAAEAAAAAAAoANABaAAMAAQQJAAEADAAAAAMAAQQJAAIADgBAAAMAAQQJAAMADAAiAAMAAQQJAAQADABOAAMAAQQJAAUAFgAMAAMAAQQJAAYADAA0AAMAAQQJAAoANABaAHIAYQB0AGkAbgBnAFYAZQByAHMAaQBvAG4AIAAxAC4AMAByAGEAdABpAG4AZ3JhdGluZwByAGEAdABpAG4AZwBSAGUAZwB1AGwAYQByAHIAYQB0AGkAbgBnAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4ALgADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA) format('woff');
  188. font-weight: normal;
  189. font-style: normal;
  190. }
  191. /* Dropdown Icon */
  192. .ui.accordion .title .dropdown.icon,
  193. .ui.accordion .accordion .title .dropdown.icon {
  194. font-family: Accordion;
  195. line-height: 1;
  196. -webkit-backface-visibility: hidden;
  197. backface-visibility: hidden;
  198. font-weight: normal;
  199. font-style: normal;
  200. text-align: center;
  201. }
  202. .ui.accordion .title .dropdown.icon:before,
  203. .ui.accordion .accordion .title .dropdown.icon:before {
  204. content: '\f0da' /*rtl:'\f0d9'*/;
  205. }
  206. /*******************************
  207. User Overrides
  208. *******************************/