2015-05-14 16:45:37 +03:00
|
|
|
/* Dropdowns
|
|
|
|
/* ---------------------------------------------------------- */
|
|
|
|
|
2017-04-05 17:26:01 +03:00
|
|
|
.ember-basic-dropdown-content {
|
|
|
|
z-index: 1100;
|
|
|
|
}
|
|
|
|
|
2015-05-14 16:45:37 +03:00
|
|
|
.dropdown {
|
|
|
|
position: relative;
|
2017-04-05 17:26:01 +03:00
|
|
|
z-index: 1100;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-toggle:focus {
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-menu {
|
|
|
|
position: absolute;
|
|
|
|
top: 100%;
|
|
|
|
left: 0;
|
|
|
|
float: left;
|
|
|
|
margin: 2px 0 0;
|
2015-06-08 16:08:28 +03:00
|
|
|
padding: 10px;
|
2015-08-27 14:27:49 +03:00
|
|
|
min-width: 200px;
|
2015-05-16 14:43:12 +03:00
|
|
|
background-color: #fff;
|
|
|
|
background-clip: padding-box;
|
2015-05-14 16:45:37 +03:00
|
|
|
border-radius: 4px;
|
2017-02-27 13:02:10 +03:00
|
|
|
box-shadow: 0 0 0 1px rgba(99,114,130,0.16), 0 8px 16px rgba(27,39,51,0.08);
|
2015-05-14 16:45:37 +03:00
|
|
|
list-style: none;
|
2015-05-16 14:43:12 +03:00
|
|
|
text-align: left;
|
2015-05-14 16:45:37 +03:00
|
|
|
text-transform: none;
|
2015-05-16 14:43:12 +03:00
|
|
|
font-size: 1.4rem;
|
|
|
|
font-weight: normal;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-menu.pull-right {
|
|
|
|
right: 0;
|
|
|
|
left: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-menu .divider {
|
|
|
|
overflow: hidden;
|
2015-06-08 16:08:28 +03:00
|
|
|
margin: 8px 0;
|
2015-05-16 14:43:12 +03:00
|
|
|
height: 1px;
|
2018-04-03 13:52:18 +03:00
|
|
|
background: color-mod(#dfe1e3 lightness(+5%));
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
2017-02-17 08:50:07 +03:00
|
|
|
.dropdown-menu li {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2015-05-14 16:45:37 +03:00
|
|
|
.dropdown-menu > li > a,
|
|
|
|
.dropdown-menu > li > button {
|
2015-06-03 17:44:12 +03:00
|
|
|
display: flex;
|
2015-06-08 16:08:28 +03:00
|
|
|
align-items: center;
|
2015-05-14 16:45:37 +03:00
|
|
|
clear: both;
|
2015-06-08 16:08:28 +03:00
|
|
|
padding: 6px 10px;
|
2015-05-16 14:43:12 +03:00
|
|
|
width: 100%;
|
2015-06-08 16:08:28 +03:00
|
|
|
border-radius: 3px;
|
2018-04-03 13:52:18 +03:00
|
|
|
color: color-mod(var(--darkgrey) lightness(+20%));
|
2015-05-16 14:43:12 +03:00
|
|
|
text-align: left;
|
2015-05-14 16:45:37 +03:00
|
|
|
white-space: nowrap;
|
2015-06-08 16:08:28 +03:00
|
|
|
font-size: 1.3rem;
|
|
|
|
line-height: 1em;
|
2015-05-16 14:43:12 +03:00
|
|
|
font-weight: normal;
|
2015-05-14 16:45:37 +03:00
|
|
|
transition: none;
|
|
|
|
}
|
|
|
|
|
2017-04-07 18:23:45 +03:00
|
|
|
.dropdown-menu svg {
|
|
|
|
margin-right: 10px;
|
|
|
|
height: 14px;
|
|
|
|
width: 14px;
|
|
|
|
line-height: 1em;
|
2018-04-03 13:52:18 +03:00
|
|
|
fill: color-mod(var(--darkgrey) lightness(+20%));
|
2017-04-07 18:23:45 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-menu svg path {
|
2018-04-03 13:52:18 +03:00
|
|
|
stroke: color-mod(var(--darkgrey) lightness(+20%));
|
2017-04-07 18:23:45 +03:00
|
|
|
}
|
|
|
|
|
2015-08-25 19:01:26 +03:00
|
|
|
@media (max-width: 500px) {
|
|
|
|
.dropdown-menu > li > a,
|
|
|
|
.dropdown-menu > li > button {
|
|
|
|
padding: 7px 8px;
|
|
|
|
font-size: 1.5rem;
|
|
|
|
}
|
2017-04-07 18:23:45 +03:00
|
|
|
.dropdown-menu svg {
|
|
|
|
height: 16px;
|
|
|
|
}
|
2015-08-25 19:01:26 +03:00
|
|
|
}
|
|
|
|
|
2015-05-14 16:45:37 +03:00
|
|
|
|
|
|
|
/* States
|
|
|
|
/* ---------------------------------------------------------- */
|
|
|
|
|
|
|
|
/* Hover/Focus */
|
|
|
|
.dropdown-menu > li > a:hover,
|
|
|
|
.dropdown-menu > li > a:focus,
|
|
|
|
.dropdown-menu > li > button:hover,
|
|
|
|
.dropdown-menu > li > button:focus {
|
2018-04-03 13:52:18 +03:00
|
|
|
background: color-mod(var(--blue) alpha(-85%));
|
2015-06-08 16:08:28 +03:00
|
|
|
color: var(--darkgrey);
|
2015-05-16 14:43:12 +03:00
|
|
|
text-decoration: none;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Active */
|
|
|
|
.dropdown-menu > .active > a,
|
|
|
|
.dropdown-menu > .active > a:hover,
|
|
|
|
.dropdown-menu > .active > a:focus,
|
|
|
|
.dropdown-menu > .active > button,
|
|
|
|
.dropdown-menu > .active > button:hover,
|
|
|
|
.dropdown-menu > .active > button:focus {
|
|
|
|
outline: 0;
|
2016-11-14 12:55:08 +03:00
|
|
|
background-color: var(--blue);
|
2015-05-16 14:43:12 +03:00
|
|
|
color: #fff;
|
|
|
|
text-decoration: none;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Disabled */
|
|
|
|
.dropdown-menu > .disabled > a,
|
|
|
|
.dropdown-menu > .disabled > a:hover,
|
|
|
|
.dropdown-menu > .disabled > a:focus,
|
|
|
|
.dropdown-menu > .disabled > button,
|
|
|
|
.dropdown-menu > .disabled > button:hover,
|
|
|
|
.dropdown-menu > .disabled > button:focus {
|
2016-11-14 12:55:08 +03:00
|
|
|
color: var(--midgrey);
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-menu > .disabled > a:hover,
|
|
|
|
.dropdown-menu > .disabled > a:focus,
|
|
|
|
.dropdown-menu > .disabled > button:hover,
|
|
|
|
.dropdown-menu > .disabled > button:focus {
|
|
|
|
background-color: transparent;
|
|
|
|
background-image: none;
|
2015-05-16 14:43:12 +03:00
|
|
|
text-decoration: none;
|
2015-05-14 16:45:37 +03:00
|
|
|
cursor: not-allowed;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Open / Close
|
|
|
|
/* ---------------------------------------------------------- */
|
|
|
|
|
|
|
|
.open > .dropdown-menu {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.open > a {
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.closed > .dropdown-menu {
|
|
|
|
display: none;
|
|
|
|
}
|