2023-04-19 23:16:43 +12:00
|
|
|
/**
|
|
|
|
* Operations component styles
|
2023-04-20 14:59:22 +12:00
|
|
|
*
|
|
|
|
* For consistency sake I'm using an ID, but the custom wrapper / dropdown component
|
|
|
|
* can ( should ) be made into a reusable, generic component
|
2023-04-19 23:16:43 +12:00
|
|
|
*/
|
|
|
|
|
2023-05-02 16:58:20 +12:00
|
|
|
#operations {
|
|
|
|
background-color: var(--primary-background-colour);
|
2023-08-14 18:48:59 +12:00
|
|
|
}
|
|
|
|
|
|
|
|
#operations > .title {
|
|
|
|
padding: 8px 8px 8px 12px;
|
2023-05-02 16:58:20 +12:00
|
|
|
}
|
|
|
|
|
2023-04-20 14:59:22 +12:00
|
|
|
#operations-wrapper {
|
2023-04-19 23:16:43 +12:00
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2023-04-20 14:59:22 +12:00
|
|
|
#operations-dropdown {
|
|
|
|
position: absolute;
|
2024-02-03 18:07:09 +13:00
|
|
|
top: calc(var(--banner-height) + 1);
|
2023-04-20 14:59:22 +12:00
|
|
|
width: 100%;
|
|
|
|
height: auto;
|
|
|
|
overflow: auto;
|
|
|
|
z-index: 20; /* to dropdown on top of all the other elements */
|
2023-04-23 11:20:01 +12:00
|
|
|
background-color: var(--secondary-background-colour);
|
2023-04-20 14:59:22 +12:00
|
|
|
}
|
|
|
|
|
2023-06-16 12:09:04 +12:00
|
|
|
/* 'hidden' is used to handle the visibility of a variety of mobile only elements */
|
2023-05-23 20:19:20 +12:00
|
|
|
#close-ops-dropdown-icon.hidden,
|
2023-04-19 23:16:43 +12:00
|
|
|
#search-results.hidden,
|
|
|
|
#categories.hidden {
|
|
|
|
z-index: -10;
|
|
|
|
display: none;
|
|
|
|
}
|
2023-04-20 14:59:22 +12:00
|
|
|
|
2023-08-16 16:42:05 +12:00
|
|
|
@media only screen and ( min-width: 1024px ){
|
2023-04-20 14:59:22 +12:00
|
|
|
#operations-dropdown {
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
2023-04-20 18:33:03 +12:00
|
|
|
|
2023-06-16 12:09:04 +12:00
|
|
|
/* On desktop UI, the categories are always visible */
|
|
|
|
/*#search-results.hidden,*/
|
2023-04-20 18:33:03 +12:00
|
|
|
#categories.hidden {
|
|
|
|
z-index: initial;
|
|
|
|
display: block;
|
|
|
|
}
|
2023-04-20 14:59:22 +12:00
|
|
|
}
|