squiffy-runtime 7.0.0-beta.3 → 7.0.0-beta.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -99,7 +99,7 @@ select.squiffy-invalid:focus
99
99
  box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--squiffy-error) 50%, transparent);
100
100
  }
101
101
 
102
- /* Header button styles: the Restart button */
102
+ /* Header button styles: the Back and Restart buttons */
103
103
  button.squiffy-header-button
104
104
  {
105
105
  color: var(--squiffy-muted);
@@ -114,12 +114,19 @@ button.squiffy-header-button
114
114
  transition: color 0.2s ease-in-out, text-decoration-color 0.2s ease-in-out;
115
115
  }
116
116
 
117
- button.squiffy-header-button:hover
117
+ button.squiffy-header-button:hover:not(:disabled)
118
118
  {
119
119
  color: var(--squiffy-text);
120
120
  text-decoration-color: currentColor;
121
121
  }
122
122
 
123
+ /* The Back button, when there's nothing to go back to */
124
+ button.squiffy-header-button:disabled
125
+ {
126
+ cursor: default;
127
+ opacity: 0.5;
128
+ }
129
+
123
130
  /* Output block spacing */
124
131
  div.squiffy-output-block:not(:last-child),
125
132
  div.squiffy-output-passage:not(:last-child),