diff --git a/css/003-sugarcube-overwrite/sidebar.css b/css/003-sugarcube-overwrite/sidebar.css index b09893b63ac65cc1c62b2bedf44ecd1bf831cbfd..a43d1b8df06cb7da002cf9538860637ae89bf423 100644 --- a/css/003-sugarcube-overwrite/sidebar.css +++ b/css/003-sugarcube-overwrite/sidebar.css @@ -7,11 +7,19 @@ height: calc(100% - 1.5em); margin: 1.5em 0; } + #ui-bar-body > :not(:first-child) { /* margin-top: 2em; */ margin-top: 1.5em; } + #story-author { /* margin-top: 2em; */ margin-top: 0; } + +/* make cheat text boxes fit in sidebar */ +#story-caption input { + min-width: 0; + width: calc(100% - 0.8em - 2px); +} diff --git a/css/gui/favorite.css b/css/gui/favorite.css new file mode 100644 index 0000000000000000000000000000000000000000..e6069066bcdaa3aa9953bb5751391e7a0e2605b3 --- /dev/null +++ b/css/gui/favorite.css @@ -0,0 +1,9 @@ +.favorite, .favorite:hover { + color: yellow; + text-decoration: none; +} + +.not-favorite, .not-favorite:hover { + color: grey; + text-decoration: none; +} diff --git a/css/gui/tooltips/hasTooltip.css b/css/gui/tooltips/hasTooltip.css new file mode 100644 index 0000000000000000000000000000000000000000..1eaca7af0ac5c88d57e07a07314f5ac8ab93b4eb --- /dev/null +++ b/css/gui/tooltips/hasTooltip.css @@ -0,0 +1,21 @@ +/* TODO unify tooltip systems */ +.hasTooltip { + text-decoration: underline; +} + +/* interactable tooltip-like container - created/destroyed dynamically */ +.details-overlay { + display: inline-block; + font-size: smaller; + width: max-content; + height: max-content; + border-style: solid; + border-color: slategray; + border-width: 2px; + border-radius: 3px; + background-color: rgb(17, 17, 17); + padding: 3px; + position: absolute; + z-index: 2; + text-indent: 0; +} diff --git a/css/interaction/slaveInteract.css b/css/interaction/slaveInteract.css new file mode 100644 index 0000000000000000000000000000000000000000..587ffa7234093ab4d043479cc9ee4c0b403336a8 --- /dev/null +++ b/css/interaction/slaveInteract.css @@ -0,0 +1,7 @@ +.adjacent-slave { + font-weight: bold; +} + +.interact-name { + margin: 0 2em; +} diff --git a/src/gui/css/mainStyleSheet.css b/src/gui/css/mainStyleSheet.css index fc44f3dad147f7b7d247d7eef33ce01efc4ef7a0..47f48a5844fd785b4f465988720cfbe88e119208 100644 --- a/src/gui/css/mainStyleSheet.css +++ b/src/gui/css/mainStyleSheet.css @@ -15,49 +15,3 @@ div.cheat-menu { text-align: center; margin: 0 auto; } - -/* TODO unify tooltip systems */ -.hasTooltip { - text-decoration: underline; -} - -/* interactable tooltip-like container - created/destroyed dynamically */ -.details-overlay { - display: inline-block; - font-size: smaller; - width: max-content; - height: max-content; - border-style: solid; - border-color: slategray; - border-width: 2px; - border-radius: 3px; - background-color: rgb(17, 17, 17); - padding: 3px; - position: absolute; - z-index: 2; - text-indent: 0; -} - -/* make cheat textboxes fit in sidebar */ -#story-caption input { - min-width: 0; - width: calc(100% - 0.8em - 2px); -} - -/* slave interact navigation */ -.adjacent-slave { - font-weight: bold; -} -.interact-name { - margin: 0 2em; -} - -.favorite, .favorite:hover { - color: yellow; - text-decoration: none; -} - -.not-favorite, .not-favorite:hover { - color: grey; - text-decoration: none; -}