1
1

_say.scss 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. p.contentOld {
  2. color: $oldFontColor;
  3. &:hover {
  4. color: $mainFontColor;
  5. }
  6. }
  7. p.contentOld , p.content {
  8. text-indent: 1rem;
  9. text-align: justify;
  10. padding: 0.5rem;
  11. padding-left: 1.6rem;
  12. padding-right: 1.6rem;
  13. &.centered {
  14. text-indent: 0px;
  15. text-align: center;
  16. }
  17. }
  18. .textIndenter{
  19. margin-right: 1rem;
  20. }
  21. div.choiceContainer {
  22. padding-bottom: 0.8rem;
  23. &:hover {
  24. background-color: rgba(10,10,80,.05);
  25. }
  26. }
  27. .roundButton {
  28. padding: 0.3rem;
  29. @extend .unselectable;
  30. margin: 0.8rem;
  31. margin-bottom: 0.3rem;
  32. margin-top: 0.3rem;
  33. border: solid 1px $linkColor;
  34. border-radius: 1rem;
  35. background-color: #fff;
  36. &[data-shortcut]:before {
  37. content: attr(data-shortcut) ") ";
  38. font-weight: bold;
  39. color: $linkColor;
  40. }
  41. &:hover {
  42. cursor: pointer;
  43. background-color: #eeeeff;
  44. border-color: $linkHoverColor;
  45. &[data-shortcut]:before {
  46. color: $linkHoverColor;
  47. }
  48. }
  49. &:active {
  50. background-color: #c8c8ff;
  51. border-color: $linkActiveColor;
  52. &[data-shortcut]:before {
  53. color: $linkActiveColor;
  54. }
  55. }
  56. }
  57. p.choice {
  58. text-indent: 0.5rem;
  59. text-align: justify;
  60. @extend .roundButton;
  61. &.picked {
  62. color: $oldFontColor;
  63. }
  64. &.small {
  65. display: inline-block;
  66. padding-right: 1rem;
  67. margin-right: 0.25rem;
  68. }
  69. }
  70. .combatChoicesContainer {
  71. display: flex;
  72. flex-direction: row;
  73. flex-wrap: wrap;
  74. justify-content: center;
  75. align-content: stretch;
  76. align-items: stretch;
  77. }
  78. .combatChoice {
  79. flex: 0 0 auto;
  80. align-self: auto;
  81. overflow: hidden;
  82. @extend .roundButton;
  83. padding: 0.6em;
  84. margin: 0.3em;
  85. }
  86. p.turnStart {
  87. display: flex;
  88. flex-basis: 100%;
  89. align-items: center;
  90. font-size: 0.8rem;
  91. font-weight: bold;
  92. line-height: 1em;
  93. &::before {
  94. margin-right: 10px;
  95. }
  96. &::after {
  97. margin-left: 10px;
  98. }
  99. &::before, &::after {
  100. content: "";
  101. flex-grow: 1;
  102. border-bottom: solid 1px rgba(180, 0, 0, 0.6);
  103. }
  104. }
  105. .horFlex {
  106. display: flex;
  107. flex-direction: row;
  108. flex-wrap: nowrap;
  109. justify-content: space-around;
  110. align-content: stretch;
  111. align-items: center;
  112. }
  113. .horFlexColumn {
  114. flex: 0 1 auto;
  115. width: 50%;
  116. align-self: auto;
  117. }
  118. b.action {
  119. color: $actionColor;
  120. &::before{
  121. content: " *";
  122. }
  123. &::after {
  124. content: "* ";
  125. }
  126. }
  127. input.keySelectorInput {
  128. width: 80%;
  129. }