Skip to content

Commit

Permalink
Style federal tax page and render on dashboard with link (#54)
Browse files Browse the repository at this point in the history
* Update gems

* update gems and nodes

* Add tailwind script

* Style brackets.

* Style header.

* Update ordering of brackets.

* Add filing status.

* Turbo stream federal tax index.

* Style tabs, render turbo frames.

* Style buttons.

* Lint.
  • Loading branch information
neb417 authored Nov 6, 2024
1 parent cdb9719 commit b64bec9
Show file tree
Hide file tree
Showing 1,243 changed files with 130,568 additions and 136 deletions.
8 changes: 4 additions & 4 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ gem "rails", "~> 7.2"
gem "sprockets-rails"

# Use postgresql as the database for Active Record
gem "pg", "~> 1.1"
gem "pg"

# Use the Puma web server [https://github.com/puma/puma]
gem "puma", "~> 5.0"
gem "puma"

# Use JavaScript with ESM import maps [https://github.com/rails/importmap-rails]
gem "importmap-rails"
Expand All @@ -28,7 +28,7 @@ gem "stimulus-rails"
gem "jbuilder"

# Use Redis adapter to run Action Cable in production
gem "redis", "~> 4.0"
gem "redis"

# Use Kredis to get higher-level data types in Redis [https://github.com/rails/kredis]
# gem "kredis"
Expand Down Expand Up @@ -82,4 +82,4 @@ group :development do
gem "annotate"
end

gem "tailwindcss-rails", "~> 2.0"
gem "tailwindcss-rails"
176 changes: 92 additions & 84 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ GEM
minitest (>= 5.1)
securerandom (>= 0.3)
tzinfo (~> 2.0, >= 2.0.5)
addressable (2.8.1)
public_suffix (>= 2.0.2, < 6.0)
addressable (2.8.7)
public_suffix (>= 2.0.2, < 7.0)
annotate (3.2.0)
activerecord (>= 3.2, < 8.0)
rake (>= 10.4, < 14.0)
Expand All @@ -82,9 +82,9 @@ GEM
benchmark (0.3.0)
bigdecimal (3.1.8)
bindex (0.8.1)
bootsnap (1.16.0)
bootsnap (1.18.4)
msgpack (~> 1.2)
builder (3.2.4)
builder (3.3.0)
byebug (11.1.3)
capybara (3.40.0)
addressable
Expand All @@ -95,6 +95,8 @@ GEM
rack-test (>= 0.6.3)
regexp_parser (>= 1.5, < 3.0)
xpath (~> 3.2)
childprocess (5.1.0)
logger (~> 1.5)
coderay (1.1.3)
concurrent-ruby (1.3.4)
connection_pool (2.4.1)
Expand All @@ -103,19 +105,19 @@ GEM
activerecord (>= 6.1)
railties (>= 6.1)
date (3.4.0)
diff-lcs (1.5.0)
docile (1.4.0)
diff-lcs (1.5.1)
docile (1.4.1)
drb (2.2.1)
erubi (1.12.0)
factory_bot (6.2.1)
erubi (1.13.0)
factory_bot (6.5.0)
activesupport (>= 5.0.0)
factory_bot_rails (6.2.0)
factory_bot (~> 6.2.0)
factory_bot_rails (6.4.4)
factory_bot (~> 6.5)
railties (>= 5.0.0)
faker (3.5.1)
i18n (>= 1.8.11, < 2)
globalid (1.1.0)
activesupport (>= 5.0)
globalid (1.2.1)
activesupport (>= 6.1)
i18n (1.14.6)
concurrent-ruby (~> 1.0)
importmap-rails (2.0.3)
Expand All @@ -130,11 +132,12 @@ GEM
jbuilder (2.13.0)
actionview (>= 5.0.0)
activesupport (>= 5.0.0)
json (2.6.3)
json (2.7.6)
language_server-protocol (3.17.0.3)
launchy (2.5.2)
launchy (3.0.1)
addressable (~> 2.8)
lint_roller (1.0.0)
childprocess (~> 5.0)
lint_roller (1.1.0)
logger (1.6.1)
loofah (2.23.1)
crass (~> 1.0.2)
Expand All @@ -146,20 +149,20 @@ GEM
net-smtp
marcel (1.0.4)
matrix (0.4.2)
method_source (1.0.0)
mini_mime (1.1.2)
minitest (5.18.0)
monetize (1.12.0)
method_source (1.1.0)
mini_mime (1.1.5)
minitest (5.25.1)
monetize (1.13.0)
money (~> 6.12)
money (6.16.0)
money (6.19.0)
i18n (>= 0.6.4, <= 2)
money-rails (1.15.0)
activesupport (>= 3.0)
monetize (~> 1.9)
money (~> 6.13)
railties (>= 3.0)
msgpack (1.7.1)
net-http (0.3.2)
msgpack (1.7.3)
net-http (0.4.1)
uri
net-imap (0.5.0)
date
Expand All @@ -170,35 +173,36 @@ GEM
timeout
net-smtp (0.5.0)
net-protocol
nio4r (2.5.9)
nio4r (2.7.4)
nokogiri (1.16.7-x86_64-darwin)
racc (~> 1.4)
nokogiri (1.16.7-x86_64-linux)
racc (~> 1.4)
orderly (0.1.1)
capybara (>= 1.1)
rspec (>= 2.14)
parallel (1.23.0)
parser (3.2.2.1)
parallel (1.26.3)
parser (3.3.6.0)
ast (~> 2.4.1)
pg (1.5.3)
racc
pg (1.5.9)
pry (0.14.2)
coderay (~> 1.1)
method_source (~> 1.0)
pry-byebug (3.10.1)
byebug (~> 11.0)
pry (>= 0.13, < 0.15)
pry-rails (0.3.9)
pry (>= 0.10.4)
pry-rails (0.3.11)
pry (>= 0.13.0)
pry-rescue (1.6.0)
interception (>= 0.5)
pry (>= 0.12.0)
psych (5.1.2)
stringio
public_suffix (5.0.1)
puma (5.6.5)
public_suffix (6.0.1)
puma (6.4.3)
nio4r (~> 2.0)
racc (1.6.2)
racc (1.8.1)
rack (3.1.8)
rack-session (2.0.0)
rack (>= 3.0.0)
Expand Down Expand Up @@ -236,50 +240,52 @@ GEM
thor (~> 1.0, >= 1.2.2)
zeitwerk (~> 2.6)
rainbow (3.1.1)
rake (13.0.6)
rake (13.2.1)
rdoc (6.7.0)
psych (>= 4.0.0)
redis (4.8.1)
regexp_parser (2.6.2)
redis (5.3.0)
redis-client (>= 0.22.0)
redis-client (0.22.2)
connection_pool
regexp_parser (2.9.2)
reline (0.5.10)
io-console (~> 0.5)
rexml (3.2.5)
rspec (3.12.0)
rspec-core (~> 3.12.0)
rspec-expectations (~> 3.12.0)
rspec-mocks (~> 3.12.0)
rspec-core (3.12.3)
rspec-support (~> 3.12.0)
rspec-expectations (3.12.2)
rspec (3.13.0)
rspec-core (~> 3.13.0)
rspec-expectations (~> 3.13.0)
rspec-mocks (~> 3.13.0)
rspec-core (3.13.2)
rspec-support (~> 3.13.0)
rspec-expectations (3.13.3)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-mocks (3.12.3)
rspec-support (~> 3.13.0)
rspec-mocks (3.13.2)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-rails (6.1.1)
actionpack (>= 6.1)
activesupport (>= 6.1)
railties (>= 6.1)
rspec-core (~> 3.12)
rspec-expectations (~> 3.12)
rspec-mocks (~> 3.12)
rspec-support (~> 3.12)
rspec-support (3.12.0)
rubocop (1.50.2)
rspec-support (~> 3.13.0)
rspec-rails (7.0.1)
actionpack (>= 7.0)
activesupport (>= 7.0)
railties (>= 7.0)
rspec-core (~> 3.13)
rspec-expectations (~> 3.13)
rspec-mocks (~> 3.13)
rspec-support (~> 3.13)
rspec-support (3.13.1)
rubocop (1.66.1)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
parser (>= 3.2.0.0)
parser (>= 3.3.0.2)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0)
rexml (>= 3.2.5, < 4.0)
rubocop-ast (>= 1.28.0, < 2.0)
regexp_parser (>= 2.4, < 3.0)
rubocop-ast (>= 1.32.2, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.28.1)
parser (>= 3.2.1.0)
rubocop-performance (1.16.0)
rubocop (>= 1.7.0, < 2.0)
rubocop-ast (>= 0.4.0)
rubocop-ast (1.34.0)
parser (>= 3.3.1.0)
rubocop-performance (1.22.1)
rubocop (>= 1.48.1, < 2.0)
rubocop-ast (>= 1.31.1, < 2.0)
ruby-progressbar (1.13.0)
securerandom (0.3.1)
shoulda-matchers (6.4.0)
Expand All @@ -288,7 +294,7 @@ GEM
docile (~> 1.1)
simplecov-html (~> 0.11)
simplecov_json_formatter (~> 0.1)
simplecov-html (0.12.3)
simplecov-html (0.13.1)
simplecov_json_formatter (0.1.4)
sprockets (4.2.1)
concurrent-ruby (~> 1.0)
Expand All @@ -297,33 +303,35 @@ GEM
actionpack (>= 6.1)
activesupport (>= 6.1)
sprockets (>= 3.0.0)
standard (1.28.2)
standard (1.41.1)
language_server-protocol (~> 3.17.0.2)
lint_roller (~> 1.0)
rubocop (~> 1.50.2)
rubocop (~> 1.66.0)
standard-custom (~> 1.0.0)
standard-performance (~> 1.0.1)
standard-custom (1.0.0)
lint_roller (~> 1.0)
standard-performance (1.0.1)
standard-performance (~> 1.5)
standard-custom (1.0.2)
lint_roller (~> 1.0)
rubocop-performance (~> 1.16.0)
rubocop (~> 1.50)
standard-performance (1.5.0)
lint_roller (~> 1.1)
rubocop-performance (~> 1.22.0)
stimulus-rails (1.3.4)
railties (>= 6.0.0)
stringio (3.1.1)
tailwindcss-rails (2.0.29-x86_64-darwin)
railties (>= 6.0.0)
tailwindcss-rails (2.0.29-x86_64-linux)
railties (>= 6.0.0)
thor (1.2.2)
tailwindcss-rails (3.0.0)
railties (>= 7.0.0)
tailwindcss-ruby
tailwindcss-ruby (3.4.14-x86_64-darwin)
tailwindcss-ruby (3.4.14-x86_64-linux)
thor (1.3.2)
timeout (0.4.1)
turbo-rails (2.0.11)
actionpack (>= 6.0.0)
railties (>= 6.0.0)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
unicode-display_width (2.4.2)
uri (0.12.1)
unicode-display_width (2.6.0)
uri (0.13.1)
useragent (0.16.10)
web-console (4.2.1)
actionview (>= 6.0.0)
Expand All @@ -335,7 +343,7 @@ GEM
websocket-extensions (0.1.5)
xpath (3.2.0)
nokogiri (~> 1.8)
zeitwerk (2.6.8)
zeitwerk (2.7.1)

PLATFORMS
x86_64-darwin-21
Expand All @@ -356,20 +364,20 @@ DEPENDENCIES
money-rails
net-http
orderly
pg (~> 1.1)
pg
pry-byebug
pry-rails
pry-rescue
puma (~> 5.0)
puma
rails (~> 7.2)
redis (~> 4.0)
redis
rspec-rails
shoulda-matchers
simplecov
sprockets-rails
standard
stimulus-rails
tailwindcss-rails (~> 2.0)
tailwindcss-rails
turbo-rails
tzinfo-data
web-console
Expand Down
28 changes: 27 additions & 1 deletion app/assets/stylesheets/application.tailwind.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

@layer components {
.btn-primary {
@apply rounded-lg px-4 bg-purple-800 inline-block font-medium text-white;
@apply rounded-lg px-4 bg-primary-purple inline-block font-medium text-white;
}

.btn-danger {
Expand Down Expand Up @@ -41,6 +41,32 @@
border-radius: 0.5rem;
color: #2b2b2b;
}

.active-toolbar-tab {
background-color: white;
display: inline-block;
padding: 16px;
color: #5521B5;
border-top-left-radius: 0.5rem;
border-top-right-radius: 0.5rem;
}

.inactive-toolbar-tab {
display: inline-block;
padding: 16px;
border-top-left-radius: 0.5rem;
border-top-right-radius: 0.5rem;
}

.inactive-toolbar-tab:hover {
color: rgb(75 85 99);
background-color: rgb(249 250 251);
}

input[type="radio"].radio-button:checked {
background-color:#5521B5;
border:1px solid black;
}
}


Loading

0 comments on commit b64bec9

Please sign in to comment.