[enh] Use monospaced font only for command display

+ minor comestic fixes
This commit is contained in:
kload 2015-11-13 12:41:14 -05:00
parent ca61a065f1
commit c8825b97aa
4 changed files with 17 additions and 17 deletions

View file

@ -175,7 +175,7 @@ body {
#slider { #slider {
.center-block; .center-block;
padding: 30px 5px; padding: 5px 5px 30px;
width: 100%; width: 100%;
height: 100%; height: 100%;
position: relative; position: relative;
@ -501,14 +501,13 @@ input[type='radio'].nice-radio {
max-height: 30px; max-height: 30px;
opacity: 0.9; opacity: 0.9;
overflow: hidden; overflow: hidden;
box-shadow: 0px 0 1px rgba(0,0,0, 0.2);
.transition(max-height 0.15s); .transition(max-height 0.15s);
&:hover, &:active, &:focus { &:hover, &:active, &:focus {
opacity: 1; opacity: 1;
overflow-y: auto; overflow-y: auto;
height: auto; height: auto;
max-height: 70%; max-height: 70%;
box-shadow: 1px 0 2px rgba(0,0,0, 0.5); border-bottom: #ddd solid 1px;
} }
p { p {
padding: 4px 10px; padding: 4px 10px;
@ -522,14 +521,14 @@ input[type='radio'].nice-radio {
border: 0; border: 0;
border-radius: 0; border-radius: 0;
& + .alert {margin-top: 0;} & + .alert {margin-top: 0;}
// YNH custom
font-family: Consolas,"Liberation Mono",Menlo,Courier,monospace;
} }
.alert-log { .alert-log {
background-color: #eee; background-color: #eee;
color: #333; color: #333;
// YNH custom
font-family: Consolas,"Liberation Mono",Menlo,Courier,monospace;
} }
} }
} }

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -72,6 +72,8 @@ var app = Sammy('#main', function (sam) {
store.set('flash', true); store.set('flash', true);
} }
$('#slider').css('padding-top', '30px');
$('#flashMessage') $('#flashMessage')
.prepend('<div class="alert alert-'+ level +'">'+ .prepend('<div class="alert alert-'+ level +'">'+
'<p>'+ message +'</p></div>'); '<p>'+ message +'</p></div>');