actions.css 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. #actions:empty {
  2. display: none;
  3. }
  4. #actions{
  5. position: fixed;
  6. bottom: 0px;
  7. height: 5em;
  8. width: inherit;
  9. right: 2.5em;
  10. display: block;
  11. max-width: inherit;
  12. left: 20em;
  13. overflow: auto;
  14. transition: left .2s ease-in
  15. }
  16. #ui-bar.stowed ~ #story #actions{
  17. left: 4.5em;
  18. }
  19. #actions a,
  20. #npcActions a,
  21. .button a,
  22. .buttonRadio span{
  23. display: block;
  24. color: black;
  25. padding: 1em;
  26. border: 2px black solid;
  27. margin: 0.1em;
  28. border-radius: 0.4em;
  29. background: white;
  30. text-decoration: none;
  31. }
  32. #actions a:hover ,
  33. #npcActions a:hover,
  34. .button a:hover,
  35. .buttonRadio>input:checked+span{
  36. background: #aaa;
  37. }
  38. #actions .disabled a,
  39. #npcActions .disabled a{
  40. background: red;
  41. color: black;
  42. }
  43. .buttonRadio > input{
  44. display: none;
  45. }
  46. .buttonRadio>input:checked+span {
  47. font-weight: bold;
  48. }
  49. @media(max-width: 1699px){
  50. #actions .action{
  51. display: inline-block;
  52. }
  53. #passages{
  54. height: calc(100vh - 7.5em);
  55. overflow: auto;
  56. }
  57. }
  58. @media(max-width: 799px){
  59. #actions{
  60. position: static;
  61. height: unset;
  62. }
  63. #passages{
  64. height: unset;
  65. }
  66. }
  67. @media(min-width: 1700px) {
  68. #actions {
  69. right: unset;
  70. top: 0px;
  71. height: 100%;
  72. width: 14em;
  73. }
  74. }