Skip to content
Snippets Groups Projects
Commit ea0ca94e authored by Paul Kaplan's avatar Paul Kaplan
Browse files

Update sprite info header sizes

parent 156c91da
Branches
No related tags found
No related merge requests found
...@@ -2,7 +2,8 @@ ...@@ -2,7 +2,8 @@
@import "../../css/colors.css"; @import "../../css/colors.css";
.input-form { .input-form {
padding: $space 0.75rem; height: 2rem;
padding: 0 0.75rem;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 0.625rem; font-size: 0.625rem;
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
.sprite-info { .sprite-info {
height: $sprite-info-height; height: $sprite-info-height;
padding: $space; padding: 0.75rem;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
background-color: white; background-color: white;
color: #575e75; color: #575e75;
...@@ -17,7 +17,9 @@ ...@@ -17,7 +17,9 @@
justify-content: space-between; justify-content: space-between;
} }
.row-primary { margin-bottom: $space; } .row-primary {
margin-bottom: 0.5rem;
}
.label { opacity: 0.8; } .label { opacity: 0.8; }
...@@ -29,15 +31,9 @@ ...@@ -29,15 +31,9 @@
.icon-wrapper { .icon-wrapper {
display: inline-block; display: inline-block;
width: 2rem;
/* height: 2rem;
content-box is normally the browser's default. padding: 0.5rem;
We're overriding the global, which we set to border-box
*/
box-sizing: content-box;
width: 1.0rem;
height: 1.0rem;
padding: 0.25rem;
outline: none; outline: none;
user-select: none; user-select: none;
} }
......
@import "../../css/units.css"; @import "../../css/units.css";
@import "../../css/colors.css"; @import "../../css/colors.css";
$header-height: calc(2rem - 2px); /* @todo: half the SpriteInfo area header? */ $header-height: calc($stage-menu-height - 2px);
.stage-selector { .stage-selector {
position: relative; /* for the child element border */ position: relative; /* for the child element border */
......
...@@ -3,8 +3,8 @@ $space: 0.5rem; ...@@ -3,8 +3,8 @@ $space: 0.5rem;
$sprites-per-row: 5; $sprites-per-row: 5;
$menu-bar-height: 3rem; $menu-bar-height: 3rem;
$sprite-info-height: 5.25rem; /* @todo: SpriteInfo isn't explicitly set to this height yet */ $sprite-info-height: 6rem;
$stage-menu-height: 3rem; $stage-menu-height: 2.75rem;
$library-header-height: 4.375rem; $library-header-height: 4.375rem;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment