Design tweaks.
This commit is contained in:
parent
3128e979d6
commit
d7be502e0a
2 changed files with 36 additions and 29 deletions
2
TODO.md
2
TODO.md
|
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
- [ ] Minimize the number of times the user is asked for access. If possible ask for all the access required at one time.
|
- [ ] Minimize the number of times the user is asked for access. If possible ask for all the access required at one time.
|
||||||
|
|
||||||
- [ ] Give each column a max width of 450px and have them stretch to fill the area up to that.
|
- [x] Give each column a max width of 450px and have them stretch to fill the area up to that.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
63
index.html
63
index.html
|
|
@ -10,9 +10,6 @@
|
||||||
--bg: #112;
|
--bg: #112;
|
||||||
--shade: #889;
|
--shade: #889;
|
||||||
--radius: 4px;
|
--radius: 4px;
|
||||||
--card-bg: #223;
|
|
||||||
--column-bg: #1a1a2a;
|
|
||||||
--font-family: Helvetica, Arial, sans-serif;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
html {
|
html {
|
||||||
|
|
@ -22,13 +19,14 @@
|
||||||
|
|
||||||
*, ::after, ::before {
|
*, ::after, ::before {
|
||||||
box-sizing: inherit;
|
box-sizing: inherit;
|
||||||
|
text-decoration-thickness: .1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
background: var(--bg);
|
background: var(--bg);
|
||||||
color: var(--fg);
|
color: var(--fg);
|
||||||
font-family: var(--font-family);
|
font-family: Helvetica, Arial, sans-serif;
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
@ -36,17 +34,21 @@
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: var(--fg);
|
||||||
|
}
|
||||||
|
|
||||||
button {
|
button {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
padding: .5rem 1rem;
|
vertical-align: middle;
|
||||||
|
padding: .4rem .8rem;
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
|
font-weight: normal;
|
||||||
background: var(--fg);
|
background: var(--fg);
|
||||||
color: var(--bg);
|
color: var(--bg);
|
||||||
border: .1rem solid var(--fg);
|
border: .1rem solid var(--fg);
|
||||||
border-radius: var(--radius);
|
border-radius: var(--radius);
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
font-family: var(--font-family);
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
button:hover {
|
button:hover {
|
||||||
|
|
@ -56,10 +58,12 @@
|
||||||
button:disabled {
|
button:disabled {
|
||||||
cursor: not-allowed;
|
cursor: not-allowed;
|
||||||
background: var(--shade);
|
background: var(--shade);
|
||||||
border-color: var(--shade);
|
border: .1rem solid var(--shade);
|
||||||
opacity: 0.7;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
h1 { font-size: 2em; }
|
||||||
|
h2 { font-size: 1.5em; }
|
||||||
|
h3 { font-size: 1.17em; }
|
||||||
h1, h2, h3 { margin-top: 0; }
|
h1, h2, h3 { margin-top: 0; }
|
||||||
|
|
||||||
/* Layouts */
|
/* Layouts */
|
||||||
|
|
@ -95,7 +99,7 @@
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding-bottom: 1em;
|
padding-bottom: 1em;
|
||||||
border-bottom: 1px solid var(--shade);
|
border-bottom: .1rem solid var(--shade);
|
||||||
margin-bottom: 1em;
|
margin-bottom: 1em;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
}
|
}
|
||||||
|
|
@ -110,23 +114,21 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.column {
|
.column {
|
||||||
background: var(--column-bg);
|
background: transparent;
|
||||||
border-radius: var(--radius);
|
border-radius: var(--radius);
|
||||||
min-width: 320px;
|
min-width: 200px;
|
||||||
max-width: 320px;
|
max-width: 450px;
|
||||||
|
flex: 1 1 0;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
max-height: 100%;
|
max-height: 100%;
|
||||||
border: 1px solid var(--shade);
|
border: .1rem solid var(--shade);
|
||||||
flex-shrink: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.column-header {
|
.column-header {
|
||||||
padding: 0.75em;
|
padding: 0.75em;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
border-bottom: 1px solid var(--shade);
|
border-bottom: .1rem solid var(--shade);
|
||||||
background: rgba(255,255,255,0.05);
|
|
||||||
border-radius: var(--radius) var(--radius) 0 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-list {
|
.card-list {
|
||||||
|
|
@ -140,14 +142,13 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.card {
|
.card {
|
||||||
background: var(--card-bg);
|
background: transparent;
|
||||||
padding: 0.75em;
|
padding: 0.75em;
|
||||||
border-radius: var(--radius);
|
border-radius: var(--radius);
|
||||||
border: 1px solid var(--shade);
|
border: .1rem solid var(--shade);
|
||||||
cursor: grab;
|
cursor: grab;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
position: relative;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.card:hover {
|
.card:hover {
|
||||||
|
|
@ -165,7 +166,7 @@
|
||||||
|
|
||||||
.card.dragging {
|
.card.dragging {
|
||||||
opacity: 0.5;
|
opacity: 0.5;
|
||||||
border: 1px dashed var(--fg);
|
border: .1rem dashed var(--fg);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Section Picker */
|
/* Section Picker */
|
||||||
|
|
@ -183,9 +184,9 @@
|
||||||
width: 100%;
|
width: 100%;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
background: var(--column-bg);
|
background: transparent;
|
||||||
color: var(--fg);
|
color: var(--fg);
|
||||||
border: 1px solid var(--shade);
|
border: .1rem solid var(--shade);
|
||||||
}
|
}
|
||||||
|
|
||||||
.section-btn:hover {
|
.section-btn:hover {
|
||||||
|
|
@ -193,11 +194,9 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.error {
|
.error {
|
||||||
color: #ff6b6b;
|
background-color: #782828;
|
||||||
background: rgba(255, 0, 0, 0.1);
|
padding: 0.5em 1em;
|
||||||
padding: 1em;
|
|
||||||
border-radius: var(--radius);
|
border-radius: var(--radius);
|
||||||
border: 1px solid #ff6b6b;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Scrollbar styling */
|
/* Scrollbar styling */
|
||||||
|
|
@ -215,6 +214,14 @@
|
||||||
::-webkit-scrollbar-thumb:hover {
|
::-webkit-scrollbar-thumb:hover {
|
||||||
background: var(--fg);
|
background: var(--fg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
hr {
|
||||||
|
border: .05rem solid var(--fg);
|
||||||
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
|
line-height: 1.4;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue