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.

255 lines
8.4 KiB

9 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
10 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
9 years ago
9 years ago
9 years ago
10 years ago
9 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.1.7 - 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: -webkit-transform 0.1s ease, opacity 0.1s ease;
  60. transition: transform 0.1s ease, opacity 0.1s ease;
  61. vertical-align: baseline;
  62. -webkit-transform: none;
  63. -ms-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. -ms-transform: rotate(180deg);
  79. transform: rotate(180deg);
  80. }
  81. /* Header */
  82. .ui.accordion .ui.header .dropdown.icon {
  83. font-size: 1em;
  84. margin: 0em 0.25rem 0em 0rem;
  85. }
  86. /*******************************
  87. States
  88. *******************************/
  89. .ui.accordion .active.title .dropdown.icon,
  90. .ui.accordion .accordion .active.title .dropdown.icon {
  91. -webkit-transform: rotate(90deg);
  92. -ms-transform: rotate(90deg);
  93. transform: rotate(90deg);
  94. }
  95. .ui.accordion.menu .item .active.title > .dropdown.icon {
  96. -webkit-transform: rotate(90deg);
  97. -ms-transform: rotate(90deg);
  98. transform: rotate(90deg);
  99. }
  100. /*******************************
  101. Types
  102. *******************************/
  103. /*--------------
  104. Styled
  105. ---------------*/
  106. .ui.styled.accordion {
  107. width: 600px;
  108. }
  109. .ui.styled.accordion,
  110. .ui.styled.accordion .accordion {
  111. border-radius: 0.28571429rem;
  112. background: #ffffff;
  113. box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15), 0px 0px 0px 1px rgba(34, 36, 38, 0.15);
  114. }
  115. .ui.styled.accordion .title,
  116. .ui.styled.accordion .accordion .title {
  117. margin: 0em;
  118. padding: 0.75em 1em;
  119. color: rgba(0, 0, 0, 0.4);
  120. font-weight: bold;
  121. border-top: 1px solid rgba(34, 36, 38, 0.15);
  122. -webkit-transition: background 0.1s ease, color 0.1s ease;
  123. transition: background 0.1s ease, color 0.1s ease;
  124. }
  125. .ui.styled.accordion > .title:first-child,
  126. .ui.styled.accordion .accordion .title:first-child {
  127. border-top: none;
  128. }
  129. /* Content */
  130. .ui.styled.accordion .content,
  131. .ui.styled.accordion .accordion .content {
  132. margin: 0em;
  133. padding: 0.5em 1em 1.5em;
  134. }
  135. .ui.styled.accordion .accordion .content {
  136. padding: 0em;
  137. padding: 0.5em 1em 1.5em;
  138. }
  139. /* Hover */
  140. .ui.styled.accordion .title:hover,
  141. .ui.styled.accordion .active.title,
  142. .ui.styled.accordion .accordion .title:hover,
  143. .ui.styled.accordion .accordion .active.title {
  144. background: transparent;
  145. color: rgba(0, 0, 0, 0.87);
  146. }
  147. .ui.styled.accordion .accordion .title:hover,
  148. .ui.styled.accordion .accordion .active.title {
  149. background: transparent;
  150. color: rgba(0, 0, 0, 0.87);
  151. }
  152. /* Active */
  153. .ui.styled.accordion .active.title {
  154. background: transparent;
  155. color: rgba(0, 0, 0, 0.95);
  156. }
  157. .ui.styled.accordion .accordion .active.title {
  158. background: transparent;
  159. color: rgba(0, 0, 0, 0.95);
  160. }
  161. /*******************************
  162. States
  163. *******************************/
  164. /*--------------
  165. Active
  166. ---------------*/
  167. .ui.accordion .active.content,
  168. .ui.accordion .accordion .active.content {
  169. display: block;
  170. }
  171. /*******************************
  172. Variations
  173. *******************************/
  174. /*--------------
  175. Fluid
  176. ---------------*/
  177. .ui.fluid.accordion,
  178. .ui.fluid.accordion .accordion {
  179. width: 100%;
  180. }
  181. /*--------------
  182. Inverted
  183. ---------------*/
  184. .ui.inverted.accordion .title:not(.ui) {
  185. color: rgba(255, 255, 255, 0.9);
  186. }
  187. /*******************************
  188. Theme Overrides
  189. *******************************/
  190. @font-face {
  191. font-family: 'Accordion';
  192. src: url(data:application/x-font-ttf;charset=utf-8;base64,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AAAAoANABaAAMAAQQJAAEADAAAAAMAAQQJAAIADgBAAAMAAQQJAAMADAAiAAMAAQQJAAQADABOAAMAAQQJAAUAFgAMAAMAAQQJAAYADAA0AAMAAQQJAAoANABaAHIAYQB0AGkAbgBnAFYAZQByAHMAaQBvAG4AIAAxAC4AMAByAGEAdABpAG4AZ3JhdGluZwByAGEAdABpAG4AZwBSAGUAZwB1AGwAYQByAHIAYQB0AGkAbgBnAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4ALgADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA) 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');
  193. font-weight: normal;
  194. font-style: normal;
  195. }
  196. /* Dropdown Icon */
  197. .ui.accordion .title .dropdown.icon,
  198. .ui.accordion .accordion .title .dropdown.icon {
  199. font-family: Accordion;
  200. line-height: 1;
  201. -webkit-backface-visibility: hidden;
  202. backface-visibility: hidden;
  203. font-weight: normal;
  204. font-style: normal;
  205. text-align: center;
  206. }
  207. .ui.accordion .title .dropdown.icon:before,
  208. .ui.accordion .accordion .title .dropdown.icon:before {
  209. content: '\f0da' /*rtl:'\f0d9'*/;
  210. }
  211. /*******************************
  212. User Overrides
  213. *******************************/