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.
485 lines
15 KiB
485 lines
15 KiB
/*
|
|
* # Semantic - Accordion
|
|
* http://github.com/jlukic/semantic-ui/
|
|
*
|
|
*
|
|
* Copyright 2014 Contributor
|
|
* Released under the MIT license
|
|
* http://opensource.org/licenses/MIT
|
|
*
|
|
*/
|
|
/*******************************
|
|
Theme
|
|
*******************************/
|
|
/*
|
|
|
|
███████╗███████╗███╗ ███╗ █████╗ ███╗ ██╗████████╗██╗ ██████╗ ██╗ ██╗██╗
|
|
██╔════╝██╔════╝████╗ ████║██╔══██╗████╗ ██║╚══██╔══╝██║██╔════╝ ██║ ██║██║
|
|
███████╗█████╗ ██╔████╔██║███████║██╔██╗ ██║ ██║ ██║██║ ██║ ██║██║
|
|
╚════██║██╔══╝ ██║╚██╔╝██║██╔══██║██║╚██╗██║ ██║ ██║██║ ██║ ██║██║
|
|
███████║███████╗██║ ╚═╝ ██║██║ ██║██║ ╚████║ ██║ ██║╚██████╗ ╚██████╔╝██║
|
|
╚══════╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝
|
|
|
|
*/
|
|
/*******************************
|
|
Folders
|
|
*******************************/
|
|
/* Path to theme packages */
|
|
/* Path to site override folder */
|
|
/*******************************
|
|
Themes
|
|
*******************************/
|
|
/* To override a theme for an individual element
|
|
specify theme name below
|
|
|
|
Be sure to update the user folder name (see README)
|
|
*/
|
|
/* Global */
|
|
/* Elements */
|
|
/* Collections */
|
|
/* Modules */
|
|
/* Views */
|
|
/*******************************
|
|
Import Directives
|
|
*******************************/
|
|
/*------------------
|
|
Load Defaults
|
|
-------------------*/
|
|
/*******************************
|
|
Site Settings
|
|
*******************************/
|
|
/*-------------------
|
|
Paths
|
|
--------------------*/
|
|
/*-------------------
|
|
Fonts
|
|
--------------------*/
|
|
/*-------------------
|
|
Site Colors
|
|
--------------------*/
|
|
/*--- Colors ---*/
|
|
/*--- Light Colors ---*/
|
|
/*-------------------
|
|
Page
|
|
--------------------*/
|
|
/*-------------------
|
|
Background Colors
|
|
--------------------*/
|
|
/* Used for differentiating neutrals */
|
|
/* Used for differentiating layers */
|
|
/*-------------------
|
|
Grid
|
|
--------------------*/
|
|
/*-------------------
|
|
Breakpoints
|
|
--------------------*/
|
|
/*******************************
|
|
Power-User
|
|
*******************************/
|
|
/*-------------------
|
|
Icons
|
|
--------------------*/
|
|
/* Max Width of Icon */
|
|
/*-------------------
|
|
Easing
|
|
--------------------*/
|
|
/*--- Neutrals ---*/
|
|
/*--- Colored Backgrounds ---*/
|
|
/*--- Colored Text ---*/
|
|
/*--- Colored Headers ---*/
|
|
/*-------------------
|
|
Emotive Colors
|
|
--------------------*/
|
|
/* Mood */
|
|
/* Status */
|
|
/*-------------------
|
|
Neutral Text
|
|
--------------------*/
|
|
/*-------------------
|
|
Brand Colors
|
|
--------------------*/
|
|
/*-------------------
|
|
Borders
|
|
--------------------*/
|
|
/*-------------------
|
|
Sizes
|
|
--------------------*/
|
|
/*-------------------
|
|
Transitions
|
|
--------------------*/
|
|
/*-------------------
|
|
Derived Values
|
|
--------------------*/
|
|
/* Makes sure padded grid can fit at 320px */
|
|
/* Used to match floats with text */
|
|
/* Positive / Negative Dupes */
|
|
/* Header Colors */
|
|
/* Responsive */
|
|
/* Columns */
|
|
/*******************************
|
|
States
|
|
*******************************/
|
|
/*-------------------
|
|
Disabled
|
|
--------------------*/
|
|
/*-------------------
|
|
Hover
|
|
--------------------*/
|
|
/*--- Colors ---*/
|
|
/*--- Emotive ---*/
|
|
/*--- Neutrals ---*/
|
|
/*-------------------
|
|
Down (:active)
|
|
--------------------*/
|
|
/*--- Colors ---*/
|
|
/*--- Emotive ---*/
|
|
/*--- Neutrals ---*/
|
|
/*-------------------
|
|
Active
|
|
--------------------*/
|
|
/*--- Standard ---*/
|
|
/*--- Emotive ---*/
|
|
/*--- Neutrals ---*/
|
|
/*******************************
|
|
Accordion
|
|
*******************************/
|
|
/* Title */
|
|
/* Icon */
|
|
/* Child Accordion */
|
|
/* Content */
|
|
/*-------------------
|
|
Coupling
|
|
--------------------*/
|
|
/*-------------------
|
|
States
|
|
--------------------*/
|
|
/*-------------------
|
|
Variations
|
|
--------------------*/
|
|
/* Styled */
|
|
/* Content */
|
|
/* Child Content */
|
|
/* Styled Title */
|
|
/* Styled Title States */
|
|
/* Styled Child Title States */
|
|
/*------------------
|
|
Load Theme
|
|
-------------------*/
|
|
/*******************************
|
|
Site Settings
|
|
*******************************/
|
|
/*-------------------
|
|
Paths
|
|
--------------------*/
|
|
/*-------------------
|
|
Fonts
|
|
--------------------*/
|
|
/*-------------------
|
|
Site Colors
|
|
--------------------*/
|
|
/*--- Colors ---*/
|
|
/*--- Light Colors ---*/
|
|
/*-------------------
|
|
Page
|
|
--------------------*/
|
|
/*-------------------
|
|
Background Colors
|
|
--------------------*/
|
|
/* Used for differentiating neutrals */
|
|
/* Used for differentiating layers */
|
|
/*-------------------
|
|
Grid
|
|
--------------------*/
|
|
/*-------------------
|
|
Breakpoints
|
|
--------------------*/
|
|
/*******************************
|
|
Power-User
|
|
*******************************/
|
|
/*-------------------
|
|
Icons
|
|
--------------------*/
|
|
/* Max Width of Icon */
|
|
/*-------------------
|
|
Easing
|
|
--------------------*/
|
|
/*--- Neutrals ---*/
|
|
/*--- Colored Backgrounds ---*/
|
|
/*--- Colored Text ---*/
|
|
/*--- Colored Headers ---*/
|
|
/*-------------------
|
|
Emotive Colors
|
|
--------------------*/
|
|
/* Mood */
|
|
/* Status */
|
|
/*-------------------
|
|
Neutral Text
|
|
--------------------*/
|
|
/*-------------------
|
|
Brand Colors
|
|
--------------------*/
|
|
/*-------------------
|
|
Borders
|
|
--------------------*/
|
|
/*-------------------
|
|
Sizes
|
|
--------------------*/
|
|
/*-------------------
|
|
Transitions
|
|
--------------------*/
|
|
/*-------------------
|
|
Derived Values
|
|
--------------------*/
|
|
/* Makes sure padded grid can fit at 320px */
|
|
/* Used to match floats with text */
|
|
/* Positive / Negative Dupes */
|
|
/* Header Colors */
|
|
/* Responsive */
|
|
/* Columns */
|
|
/*******************************
|
|
States
|
|
*******************************/
|
|
/*-------------------
|
|
Disabled
|
|
--------------------*/
|
|
/*-------------------
|
|
Hover
|
|
--------------------*/
|
|
/*--- Colors ---*/
|
|
/*--- Emotive ---*/
|
|
/*--- Neutrals ---*/
|
|
/*-------------------
|
|
Down (:active)
|
|
--------------------*/
|
|
/*--- Colors ---*/
|
|
/*--- Emotive ---*/
|
|
/*--- Neutrals ---*/
|
|
/*-------------------
|
|
Active
|
|
--------------------*/
|
|
/*--- Standard ---*/
|
|
/*--- Emotive ---*/
|
|
/*--- Neutrals ---*/
|
|
/*******************************
|
|
Accordion
|
|
*******************************/
|
|
/* Title */
|
|
/* Icon */
|
|
/* Child Accordion */
|
|
/* Content */
|
|
/*-------------------
|
|
Coupling
|
|
--------------------*/
|
|
/*-------------------
|
|
States
|
|
--------------------*/
|
|
/*-------------------
|
|
Variations
|
|
--------------------*/
|
|
/* Styled */
|
|
/* Content */
|
|
/* Child Content */
|
|
/* Styled Title */
|
|
/* Styled Title States */
|
|
/* Styled Child Title States */
|
|
/*------------------
|
|
Load Site
|
|
-------------------*/
|
|
/*******************************
|
|
User Global Variables
|
|
*******************************/
|
|
/*******************************
|
|
User Variable Overrides
|
|
*******************************/
|
|
/*------------------
|
|
Override Loader
|
|
-------------------*/
|
|
/*******************************
|
|
Accordion
|
|
*******************************/
|
|
.ui.accordion,
|
|
.ui.accordion .accordion {
|
|
max-width: 100%;
|
|
font-size: 1em;
|
|
}
|
|
.ui.accordion .accordion {
|
|
margin: 1em 0em 0em;
|
|
padding: 0em;
|
|
}
|
|
/* Title */
|
|
.ui.accordion .title,
|
|
.ui.accordion .accordion .title {
|
|
cursor: pointer;
|
|
}
|
|
/* Default Styling */
|
|
.ui.accordion .title:not(.ui) {
|
|
padding: 0.5em 0em;
|
|
font-family: 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif;
|
|
font-size: 1em;
|
|
color: rgba(0, 0, 0, 0.8);
|
|
}
|
|
/* Content */
|
|
.ui.accordion .title ~ .content,
|
|
.ui.accordion .accordion .title ~ .content {
|
|
display: none;
|
|
}
|
|
/* Default Styling */
|
|
.ui.accordion:not(.styled) .title ~ .content:not(.ui),
|
|
.ui.accordion:not(.styled) .accordion .title ~ .content:not(.ui) {
|
|
margin: 0em;
|
|
padding: 0.5em 0em 1em;
|
|
}
|
|
.ui.accordion:not(.styled) .title ~ .content:not(.ui):last-child {
|
|
padding-bottom: 0em;
|
|
}
|
|
/* Arrow */
|
|
.ui.accordion .title .dropdown.icon,
|
|
.ui.accordion .accordion .title .dropdown.icon {
|
|
display: inline-block;
|
|
float: none;
|
|
opacity: 0.75;
|
|
width: 1.25em;
|
|
height: 1em;
|
|
margin: 0em 0.25rem 0em 0rem;
|
|
padding: 0em;
|
|
-webkit-transition: -webkit-transform 0.2s ease, opacity 0.2s ease;
|
|
transition: transform 0.2s ease, opacity 0.2s ease;
|
|
vertical-align: baseline;
|
|
-webkit-transform: rotate(0deg);
|
|
-ms-transform: rotate(0deg);
|
|
transform: rotate(0deg);
|
|
}
|
|
/* Coupling with accordion */
|
|
.ui.accordion.menu .item .title {
|
|
display: block;
|
|
padding: 0em;
|
|
}
|
|
.ui.accordion.menu .item .title > .dropdown.icon {
|
|
float: right;
|
|
margin: 0.165em 0em 0em 1em;
|
|
-webkit-transform: rotate(180deg);
|
|
-ms-transform: rotate(180deg);
|
|
transform: rotate(180deg);
|
|
}
|
|
/*******************************
|
|
States
|
|
*******************************/
|
|
.ui.accordion .active.title .dropdown.icon,
|
|
.ui.accordion .accordion .active.title .dropdown.icon {
|
|
-webkit-transform: rotate(90deg);
|
|
-ms-transform: rotate(90deg);
|
|
transform: rotate(90deg);
|
|
}
|
|
.ui.accordion.menu .item .active.title > .dropdown.icon {
|
|
-webkit-transform: rotate(90deg);
|
|
-ms-transform: rotate(90deg);
|
|
transform: rotate(90deg);
|
|
}
|
|
/*******************************
|
|
Types
|
|
*******************************/
|
|
/*--------------
|
|
Styled
|
|
---------------*/
|
|
.ui.styled.accordion {
|
|
width: 600px;
|
|
}
|
|
.ui.styled.accordion,
|
|
.ui.styled.accordion .accordion {
|
|
border-radius: 0.3125em;
|
|
background: #ffffff;
|
|
box-shadow: 0px 1px 2px 0 rgba(0, 0, 0, 0.05), 0px 0px 0px 1px rgba(0, 0, 0, 0.15);
|
|
}
|
|
.ui.styled.accordion .title,
|
|
.ui.styled.accordion .accordion .title {
|
|
margin: 0em;
|
|
padding: 0.75em 1em;
|
|
color: rgba(0, 0, 0, 0.4);
|
|
font-weight: bold;
|
|
border-top: 1px solid rgba(0, 0, 0, 0.15);
|
|
-webkit-transition: background 0.2s ease, color 0.2s ease;
|
|
transition: background 0.2s ease, color 0.2s ease;
|
|
}
|
|
.ui.styled.accordion .title:first-child,
|
|
.ui.styled.accordion .accordion .title:first-child {
|
|
border-top: none;
|
|
}
|
|
/* Content */
|
|
.ui.styled.accordion .content,
|
|
.ui.styled.accordion .accordion .content {
|
|
margin: 0em;
|
|
padding: 0.5em 1em 1.5em;
|
|
}
|
|
.ui.styled.accordion .accordion .content {
|
|
padding: 0em;
|
|
padding: 0.5em 1em 1.5em;
|
|
}
|
|
/* Hover */
|
|
.ui.styled.accordion .title:hover,
|
|
.ui.styled.accordion .active.title,
|
|
.ui.styled.accordion .accordion .title:hover,
|
|
.ui.styled.accordion .accordion .active.title {
|
|
background: transparent;
|
|
color: rgba(0, 0, 0, 0.8);
|
|
}
|
|
.ui.styled.accordion .accordion .title:hover,
|
|
.ui.styled.accordion .accordion .active.title {
|
|
background: transparent;
|
|
color: rgba(0, 0, 0, 0.8);
|
|
}
|
|
/* Active */
|
|
.ui.styled.accordion .active.title {
|
|
background: transparent;
|
|
color: rgba(0, 0, 0, 0.8);
|
|
}
|
|
.ui.styled.accordion .accordion .active.title {
|
|
background: transparent;
|
|
color: rgba(0, 0, 0, 0.8);
|
|
}
|
|
/*******************************
|
|
States
|
|
*******************************/
|
|
/*--------------
|
|
Active
|
|
---------------*/
|
|
.ui.accordion .active.content,
|
|
.ui.accordion .accordion .active.content {
|
|
display: block;
|
|
}
|
|
/*******************************
|
|
Variations
|
|
*******************************/
|
|
/*--------------
|
|
Fluid
|
|
---------------*/
|
|
.ui.fluid.accordion,
|
|
.ui.fluid.accordion .accordion {
|
|
width: 100%;
|
|
}
|
|
/*******************************
|
|
Overrides
|
|
*******************************/
|
|
@font-face {
|
|
font-family: 'Accordion';
|
|
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/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AGwAYQByAHIAYQB0AGkAbgBnAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4ALgADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA) format('woff');
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
}
|
|
/* Dropdown Icon */
|
|
.ui.accordion .title .dropdown.icon,
|
|
.ui.accordion .accordion .title .dropdown.icon {
|
|
font-family: Accordion;
|
|
line-height: 1;
|
|
-webkit-backface-visibility: hidden;
|
|
backface-visibility: hidden;
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
text-align: center;
|
|
}
|
|
.ui.accordion .title .dropdown.icon:before,
|
|
.ui.accordion .accordion .title .dropdown.icon:before {
|
|
content: '\f0da' /*rtl:'\f0d9'*/;
|
|
}
|
|
/*******************************
|
|
User Overrides
|
|
*******************************/
|