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.

254 lines
8.5KB

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