Skip to content

Commit

Permalink
Align top menu items
Browse files Browse the repository at this point in the history
  • Loading branch information
piatra committed Feb 28, 2014
1 parent de2c3d3 commit 979ddef
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 4 deletions.
12 changes: 10 additions & 2 deletions css/kreator.css
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ body {
padding: 5px;
border: 1px solid rgba(0,0,0,0.4);
height: 1.5rem;
line-height: 1.5rem;
border-radius: 3px;
margin: 0 0.2rem;
}
.menu-item a,
.menu-item--group a {
Expand Down Expand Up @@ -84,22 +86,28 @@ body {
#topmenu button,
#topmenu input,
#topmenu select {
vertical-align: top;
display: inline-block;
font-size: 1rem;
line-height: 1rem;
line-height: 1.5rem;
height: 1.5rem;
border: none;
border-bottom: 1px solid #222;
border-right: 1px solid #444;
background: #858585;
padding: 3px 9px;
color: #f4f4f4;
text-shadow: 0 1px 0 #333;
}
#topmenu input[type=color],
#topmenu input[type=file] {
padding: 0;
}
.topmenu {
height: 1.5rem;
line-height: 1.5rem;
text-align: center;
white-space: nowrap;
}
.sidemenu {
position: absolute;
top: 0;
Expand Down
12 changes: 10 additions & 2 deletions css/kreator.styl
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ body
padding: 5px;
border: 1px solid hsla(0, 0, 0, .4);
height: 1.5rem;
line-height 1.5rem;
border-radius: 3px;
margin 0 .2rem
a
color: #f4f4f4;
button, input, select
Expand All @@ -76,21 +78,27 @@ body
button,
input,
select
vertical-align: top;
display: inline-block;
font-size: 1rem;
line-height: 1rem;
line-height: 1.5rem;
height: 1.5rem;
border: none;
border-bottom: 1px solid #222;
border-right: 1px solid #444;
background: #858585;
padding:3px 9px;
color: #f4f4f4;
text-shadow:0 1px 0 #333;
input[type=color],
input[type=file]
padding: 0;

.topmenu
height: 1.5rem;
line-height: 1.5rem;
text-align: center;
white-space: nowrap;

.sidemenu
position: absolute;
top: 0;
Expand Down

0 comments on commit 979ddef

Please sign in to comment.