From d9182dd2f469ec9305021c1a25b73efe9dfc5c33 Mon Sep 17 00:00:00 2001 From: SuperBFG7 Date: Mon, 18 Dec 2017 15:00:28 +0100 Subject: [PATCH] merge branch lmanul-master --- .gitignore | 1 + htdocs/css/bootstrap.css | 41 +++++++++++----------------------------- htdocs/index.html | 24 +++++++++++------------ htdocs/js/mpd.js | 2 +- 4 files changed, 25 insertions(+), 43 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..567609b --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +build/ diff --git a/htdocs/css/bootstrap.css b/htdocs/css/bootstrap.css index 14cc1f4..bceb082 100644 --- a/htdocs/css/bootstrap.css +++ b/htdocs/css/bootstrap.css @@ -1993,6 +1993,7 @@ select[multiple].input-lg { font-weight: normal; line-height: 1.428571429; text-align: center; + text-overflow: ellipsis; white-space: nowrap; vertical-align: middle; cursor: pointer; @@ -2073,6 +2074,11 @@ fieldset[disabled] .btn-default.active { color: #fff; background-color: #333; } +.btn-label { + margin-left: 8px; + text-overflow: ellipsis; + vertical-align: middle; +} .btn-primary { color: #fff; background-color: #428bca; @@ -2370,14 +2376,13 @@ input[type="button"].btn-block { src: url('../fonts/glyphicons-halflings-regular.eot'); src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg'); } +#currenttrack { + vertical-align: middle; +} .glyphicon { - position: relative; - top: 1px; display: inline-block; font-family: 'Glyphicons Halflings'; - font-style: normal; - font-weight: normal; - line-height: 1; + vertical-align: middle; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; @@ -2415,9 +2420,6 @@ input[type="button"].btn-block { .glyphicon-heart:before { content: "\e005"; } -.glyphicon-star:before { - content: "\e006"; -} .glyphicon-star-empty:before { content: "\e007"; } @@ -2457,9 +2459,6 @@ input[type="button"].btn-block { .glyphicon-cog:before { content: "\e019"; } -.glyphicon-trash:before { - content: "\e020"; -} .glyphicon-home:before { content: "\e021"; } @@ -2487,9 +2486,6 @@ input[type="button"].btn-block { .glyphicon-play-circle:before { content: "\e029"; } -.glyphicon-repeat:before { - content: "\e030"; -} .glyphicon-refresh:before { content: "\e031"; } @@ -2697,9 +2693,6 @@ input[type="button"].btn-block { .glyphicon-leaf:before { content: "\e103"; } -.glyphicon-fire:before { - content: "\e104"; -} .glyphicon-eye-open:before { content: "\e105"; } @@ -2715,12 +2708,6 @@ input[type="button"].btn-block { .glyphicon-calendar:before { content: "\e109"; } -.glyphicon-random:before { - content: "\e110"; -} -.glyphicon-comment:before { - content: "\e111"; -} .glyphicon-magnet:before { content: "\e112"; } @@ -2817,9 +2804,6 @@ input[type="button"].btn-block { .glyphicon-heart-empty:before { content: "\e143"; } -.glyphicon-link:before { - content: "\e144"; -} .glyphicon-phone:before { content: "\e145"; } @@ -2880,9 +2864,6 @@ input[type="button"].btn-block { .glyphicon-record:before { content: "\e165"; } -.glyphicon-save:before { - content: "\e166"; -} .glyphicon-open:before { content: "\e167"; } @@ -3210,7 +3191,7 @@ input[type="button"].btn-block { } .btn-group-lg > .btn { padding: 10px 16px; - font-size: 18px; + font-size: 16px; line-height: 1.33; border-radius: 6px; } diff --git a/htdocs/index.html b/htdocs/index.html index 066029a..bb51006 100644 --- a/htdocs/index.html +++ b/htdocs/index.html @@ -170,19 +170,19 @@
@@ -205,18 +205,18 @@
- Save queue + Save queue
-
- -
+
+ +
diff --git a/htdocs/js/mpd.js b/htdocs/js/mpd.js index b6e7644..40a5048 100644 --- a/htdocs/js/mpd.js +++ b/htdocs/js/mpd.js @@ -539,7 +539,7 @@ function webSocketConnect() { case "outputnames": $('#btn-outputs-block button').remove(); $.each(obj.data, function(id, name){ - var btn = $(''); + var btn = $(''); btn.appendTo($('#btn-outputs-block')); }); /* remove cache, since the buttons have been recreated */ -- 2.20.1