body {
font-family: Helvetica, Arial, sans-serif;
}
+
+.container {
+ width: 750px;
+ margin: 0 auto;
+}
+
+.header {
+ display: flex;
+ align-items: center;
+}
+
+.header h1 {
+ flex: 2;
+ font-size: 24pt;
+ margin: 10px 0;
+ color: #555;
+}
+
+.header select {
+ font-size: 14pt;
+ height: 24pt;
+}
import FormView from './FormView';
-import './App.css';
+const S = require('./App.css');
interface AppProps {
tr: TaxReturn;
);
return (
- <>
- <h1>Hello World</h1>
- {formSelector}
+ <div class={S.container}>
+ <div class={S.header}>
+ <h1>ustaxlib Federal {props.tr.year}</h1>
+ {formSelector}
+ </div>
<FormView tr={props.tr} form={state.form as Form<any>} />
- </>
+ </div>
);
}
+.form-name {
+ margin: 0;
+ border: 3px solid black;
+ border-bottom-width: 2px;
+ padding: 5px;
+}
+
.table {
border: 1px solid black;
border-collapse: collapse;
+ width: 100%;
}
.line {
border: 1px solid black;
}
+.line:hover {
+ background-color: #dfdfdf;
+}
+
.id {
background-color: black;
color: white;
font-weight: bold;
padding: 0 5px;
+ text-align: center;
}
.description {
return (
<>
- <h1>Form {props.form.name}</h1>
+ <h2 class={S.formName}>Form {props.form.name}</h2>
<table class={S.table}>
<For each={lineKeys()}>
{
loader: 'css-loader',
options: {
+ localsConvention: 'camelCaseOnly',
modules: {
- mode: 'local',
localIdentName: '[path][name]_[local]_[hash:base64:2]'
}
}