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.

257 lines
8.6 KiB

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