few styles

This commit is contained in:
ntr 2019-08-08 20:43:41 +10:00
parent 4b5aa62140
commit 65503c6800
5 changed files with 11 additions and 16 deletions

View File

@ -3,6 +3,7 @@
*PRODUCTION* *PRODUCTION*
* serde serialize privatise * serde serialize privatise
* stripe prod * stripe prod
* mobile styles
* account page * account page
* graphs n shit * graphs n shit
* acp init * acp init

View File

@ -83,7 +83,7 @@ template {
========================================================================== */ ========================================================================== */
/** /**
* Remove the gray background color from active links in IE 10. * Remove the gray color, background from active links in IE 10.
*/ */
a { a {

View File

@ -143,7 +143,7 @@ tr.right:focus, tr.right:hover {
} }
tr { tr {
transition-property: background, color; transition-property: color, background;
transition-duration: 0.5s; transition-duration: 0.5s;
transition-delay: 0; transition-delay: 0;
transition-timing-function: ease; transition-timing-function: ease;
@ -162,7 +162,7 @@ button, input {
flex: 1; flex: 1;
/*the transitions */ /*the transitions */
transition-property: color background; transition-property: color, background;
transition-duration: 0.5s; transition-duration: 0.5s;
transition-delay: 0; transition-delay: 0;
transition-timing-function: ease; transition-timing-function: ease;
@ -187,7 +187,7 @@ a {
svg { svg {
fill: none; fill: none;
stroke: whitesmoke; stroke: whitesmoke;
stroke-width: 5px; stroke-width: 0.5em;
height: 2em; height: 2em;
} }
@ -229,7 +229,7 @@ table tr {
} }
table td svg { table td svg {
stroke-width: 2px; stroke-width: 0.5em;
overflow: hidden; overflow: hidden;
height: 1.5em; height: 1.5em;
vertical-align: text-bottom; vertical-align: text-bottom;
@ -580,7 +580,6 @@ figure.gray {
.stats svg, .specs svg { .stats svg, .specs svg {
height: 2em; height: 2em;
stroke-width: 7px;
fill: none; fill: none;
} }
@ -595,7 +594,7 @@ main .top button {
.ready { .ready {
color: forestgreen; color: forestgreen;
transition-property: color background; transition-property: color, background;
transition-duration: 0.5s; transition-duration: 0.5s;
transition-timing-function: ease; transition-timing-function: ease;
} }

View File

@ -32,9 +32,8 @@
width: 100%; width: 100%;
margin: 0; margin: 0;
background-color: @gray-box; background-color: @gray-box;
border-width: 0;
height: 3em; height: 3em;
border-width: 0;
:active, :hover, :focus { :active, :hover, :focus {
color: white; color: white;
@ -63,7 +62,7 @@
} }
} }
svg { svg {
stroke-width: 8px; stroke-width: 0.75em;
} }
.white { .white {
stroke: black; stroke: black;
@ -87,7 +86,7 @@
// overwrite the classes on white svg elements // overwrite the classes on white svg elements
svg { svg {
stroke-width: 8px; stroke-width: 0.75em;
} }
.white { .white {
@ -96,10 +95,6 @@
} }
} }
svg {
stroke-width: 4px;
}
// figures don't scale well // figures don't scale well
figure { figure {
svg { svg {

View File

@ -365,7 +365,7 @@ function Vbox(args) {
return ( return (
<div class={inventoryClass} <div class={inventoryClass}
onClick={inventoryClick} onClick={inventoryClick}
style={vboxSelecting || itemUnequip ? { cursor: 'pointer' } : null} style={vboxSelecting || itemUnequip.length ? { cursor: 'pointer' } : null}
onMouseOver={e => hoverInfo(e, 'inventory')}> onMouseOver={e => hoverInfo(e, 'inventory')}>
<div class="vbox-hdr"> <div class="vbox-hdr">
<h3 onTouchStart={e => e.target.scrollIntoView(true)}>INVENTORY</h3> <h3 onTouchStart={e => e.target.scrollIntoView(true)}>INVENTORY</h3>