Christophe Dervieux | e1893ae | 2021-10-07 17:09:02 +0200 | [diff] [blame] | 1 | #customcontrols { |
| 2 | z-index: 40; |
| 3 | position: fixed; |
| 4 | left: 70px; |
| 5 | bottom: 30px; |
| 6 | text-align: center; |
| 7 | font-size: 24px; |
| 8 | } |
| 9 | |
| 10 | #customcontrols button { |
| 11 | background: none; |
| 12 | color: var(--r-link-color); |
| 13 | border: none; |
| 14 | padding: 0; |
| 15 | font: inherit; |
| 16 | cursor: pointer; |
| 17 | outline: inherit; |
| 18 | z-index: 40; |
| 19 | } |
| 20 | |
| 21 | #customcontrols button:hover { |
| 22 | color: var(--r-link-color-hover); |
| 23 | } |
| 24 | |
| 25 | #customcontrols > ul { |
| 26 | position: fixed; |
| 27 | left: 54px; |
| 28 | bottom: 64px; |
| 29 | list-style-type: none; |
| 30 | overflow: hidden; |
| 31 | margin: 0; |
Christophe Dervieux | e1893ae | 2021-10-07 17:09:02 +0200 | [diff] [blame] | 32 | border: 1px solid var(--r-link-color); |
| 33 | border-radius: 5px; |
| 34 | padding: 10px; |
| 35 | background-color: var(--r-background-color) |
| 36 | } |
| 37 | |
| 38 | #customcontrols ul > li { |
| 39 | margin: 0px 5px; |
| 40 | padding: 0px 5px; |
| 41 | float: left; |
| 42 | } |
| 43 | |
| 44 | #customcontrols.collapsed #collapse-customcontrols, #customcontrols.collapsed > ul { |
| 45 | display: none; |
| 46 | } |
| 47 | |
| 48 | #customcontrols:not(.collapsed) #expand-customcontrols { |
| 49 | display: none; |
| 50 | } |
| 51 | |
| 52 | @media only screen and (min-width: 500px) { |
| 53 | #customcontrols > button { |
| 54 | display: none; |
| 55 | } |
| 56 | #customcontrols > ul { |
Marc Kupietz | 09b7575 | 2023-10-07 09:32:19 +0200 | [diff] [blame] | 57 | padding-top: 0px; |
| 58 | padding-bottom: 0px; |
| 59 | bottom: 30px; |
Christophe Dervieux | e1893ae | 2021-10-07 17:09:02 +0200 | [diff] [blame] | 60 | border: none; |
| 61 | background: none; |
| 62 | } |
| 63 | } |
Marc Kupietz | 09b7575 | 2023-10-07 09:32:19 +0200 | [diff] [blame] | 64 | |
| 65 | @media print { |
| 66 | #customcontrols { |
| 67 | display: none!important; |
| 68 | } |
| 69 | } |
| 70 | |