Skip to content

Commit 9ddf3fc

Browse files
authored
ux and paths and stuff (#8)
1 parent 26d1086 commit 9ddf3fc

29 files changed

+1162
-968
lines changed

Gemfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ gem "stripe"
1818
gem "rollbar"
1919
gem "oj" # per rollbar recommendation
2020

21+
# needing this locally for the moment
22+
# gem "openssl"
23+
2124
group :development, :test do
2225
# See https://guides.rubyonrails.org/debugging_rails_applications.html#debugging-with-the-debug-gem
2326
gem "debug", platforms: [ :mri, :windows ]

app/assets/stylesheets/application.css

Lines changed: 73 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
:root {
1313
--background: #0a0a0f;
14-
--foreground: #e8e8f0;
14+
--foreground: #d4d0c8;
1515
--border: #1a1a2e;
1616
--border-light: #2a2a3e;
1717
--accent: #00d9ff;
@@ -36,12 +36,36 @@ body {
3636
color: var(--foreground);
3737
font-family: "Lightward Favorit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
3838
line-height: 1.6;
39+
40+
/* Flex column layout */
41+
display: flex;
42+
flex-direction: column;
43+
min-height: 100vh;
44+
45+
/* Responsive viewport padding and gap */
46+
padding: 1rem;
47+
gap: 1rem;
48+
}
49+
50+
@media (min-width: 768px) {
51+
body {
52+
padding: 2rem;
53+
gap: 1.5rem;
54+
}
55+
}
56+
57+
@media (min-width: 1024px) {
58+
body {
59+
padding: 3rem;
60+
gap: 2rem;
61+
}
3962
}
4063

4164
h1, h2, h3, h4, h5, h6 {
4265
font-family: "Lightward Favorit Expanded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
4366
font-weight: normal;
4467
letter-spacing: 0.02em;
68+
text-transform: uppercase;
4569
}
4670

4771
a {
@@ -55,9 +79,11 @@ a:hover {
5579

5680
button, input[type="submit"] {
5781
font-family: "Lightward Favorit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
82+
font-size: 1em;
5883
background: var(--border-light);
5984
color: var(--accent);
60-
border: 1px solid var(--accent);
85+
border: none;
86+
border-left: 3px solid var(--accent);
6187
cursor: pointer;
6288
transition: all 0.2s;
6389
padding: 0.5rem 1rem;
@@ -67,47 +93,63 @@ button, input[type="submit"] {
6793
button:hover, input[type="submit"]:hover {
6894
background: var(--accent);
6995
color: var(--background);
70-
border-color: var(--accent);
71-
box-shadow: 0 0 12px var(--accent);
96+
border-left-color: var(--accent);
7297
}
7398

7499
button.secondary {
75-
background: transparent;
100+
background: var(--background);
76101
color: var(--foreground);
77-
border-color: var(--border-light);
102+
border-left-color: var(--border-light);
78103
}
79104

80105
button.secondary:hover {
81106
background: var(--border-light);
82107
color: var(--foreground);
83-
border-color: var(--accent);
84-
box-shadow: 0 0 8px var(--accent);
108+
border-left-color: var(--accent);
85109
}
86110

87111
button.danger {
88-
background: transparent;
112+
background: var(--background);
89113
color: var(--error);
90-
border-color: var(--error);
114+
border-left-color: var(--error);
91115
}
92116

93117
button.danger:hover {
94118
background: var(--error);
95119
color: var(--background);
96-
border-color: var(--error);
97-
box-shadow: 0 0 12px var(--error);
120+
border-left-color: var(--error);
121+
}
122+
123+
button.exit, a.exit {
124+
background: var(--background);
125+
color: var(--foreground);
126+
border: none;
127+
border-left: 3px solid var(--accent-active);
128+
border-radius: 4px;
129+
transition: all 0.2s;
130+
}
131+
132+
button.exit:hover, a.exit:hover {
133+
background: var(--border-light);
134+
color: var(--foreground);
135+
border-left-color: var(--accent-active);
98136
}
99137

100138
textarea {
101139
font-family: "Lightward Favorit Mono", "Courier New", monospace;
102-
background: var(--background);
140+
font-size: 1em;
141+
background: var(--user-message-bg);
103142
color: var(--foreground);
104-
border: 1px solid var(--border);
143+
border: none;
144+
border-left: 3px solid var(--accent);
145+
border-radius: 8px;
146+
padding: 1rem;
105147
resize: vertical;
106148
}
107149

108150
textarea:focus {
109151
outline: none;
110-
border-color: var(--border-light);
152+
border-left-color: var(--accent-active);
111153
}
112154

113155
input {
@@ -130,3 +172,19 @@ input:focus {
130172
opacity: 1;
131173
}
132174
}
175+
176+
dl {
177+
display: grid;
178+
grid-template-columns: auto 1fr;
179+
gap: 0.75rem 1.5rem;
180+
margin: 1.5rem 0;
181+
}
182+
183+
dt {
184+
font-weight: normal;
185+
opacity: 0.6;
186+
}
187+
188+
dd {
189+
margin: 0;
190+
}

0 commit comments

Comments
 (0)