From 33803616fc1020000d9c767a86a56df5547a0dcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Rynning-T=C3=B8nnesen?= Date: Wed, 25 Nov 2015 23:45:23 +0100 Subject: [PATCH] I did some things --- static/css/style.css | 86 +++++++++++++++++++++++++++++------- static/dist/frontpage.min.js | 2 +- static/js/nochan.js | 55 ++++++++++++++--------- 3 files changed, 107 insertions(+), 36 deletions(-) diff --git a/static/css/style.css b/static/css/style.css index 5a82083a..bddfce42 100755 --- a/static/css/style.css +++ b/static/css/style.css @@ -298,14 +298,15 @@ hide mdi-action-visibility mdi-action-visibility-off } .room-namer::-webkit-input-placeholder{ - color:rgb(155, 155, 155) !important; + /*color:rgb(155, 155, 155) !important;*/ -webkit-transition:opacity 0.5s; + color: rgb(255, 255, 255) !important; } .mega h5{ - box-sizing: border-box; + /*box-sizing: border-box; */ color: rgb(255, 255, 255); cursor: default; display: inline; - font-family: futura-pt, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; + /*font-family: futura-pt, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; */ font-size: 50px; font-weight: 100; height: auto; @@ -317,30 +318,48 @@ hide mdi-action-visibility mdi-action-visibility-off } .mega form{ - -webkit-background-clip: border-box; -webkit-background-origin: padding-box; -webkit-background-size: auto; -webkit-box-shadow: rgb(68, 68, 68) 0px 0px 8px 0px; background-attachment: scroll; background-clip: border-box; background-color: rgb(255, 255, 255); background-image: none; background-origin: padding-box; background-size: auto; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; box-shadow: rgb(68, 68, 68) 0px 0px 8px 0px; box-sizing: border-box; color: rgb(255, 255, 255); cursor: text; display: flex; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 17px; font-weight: normal; height: 50px; line-height: 24.2857151031494px; margin-top: 0px; padding-bottom: 5px; padding-left: 20px; padding-right: 5px; padding-top: 5px; text-align: center; width: 507.8125px; + display: flex; + /*-webkit-background-clip: border-box; -webkit-background-origin: padding-box; -webkit-background-size: auto; -webkit-box-shadow: rgb(68, 68, 68) 0px 0px 8px 0px; background-attachment: scroll; background-clip: border-box; background-color: rgb(255, 255, 255); background-image: none; background-origin: padding-box; background-size: auto; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; box-shadow: rgb(68, 68, 68) 0px 0px 8px 0px; box-sizing: border-box; color: rgb(255, 255, 255); cursor: text; display: flex; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 17px; font-weight: normal; height: 50px; line-height: 24.2857151031494px; margin-top: 0px; padding-bottom: 5px; padding-left: 20px; padding-right: 5px; padding-top: 5px; text-align: center; width: 507.8125px; margin-left: auto; margin-right: auto; margin-top: 1%; - margin-bottom: 2%; + margin-bottom: 2%;*/ + width: 41vw; + margin-right: auto; + margin-left: auto; + text-align: center; } .mega .prething{ - box-sizing: border-box; color: rgb(155, 155, 155); cursor: text; display: block; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 17px; font-weight: 200; height: 24px; line-height: 24.2857151031494px; margin-bottom: 8px; margin-left: 0px; margin-right: 8.5px; margin-top: 8px; + box-sizing: border-box; + /*color: rgb(155, 155, 155);*/ + cursor: text; display: block; + text-shadow: rgba(18, 18, 18, 0.76) 0px 1px 4px; + color: rgb(255, 255, 255); + /*font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; */ + font-size: 17px; + /*font-weight: 200; */ + height: 24px; line-height: 26px; margin-bottom: 8px; margin-left: 0px; margin-right: 8.5px; margin-top: 8px; min-width: 56px; text-align: center; width: 40px; + margin-right: -85px; } .mega input{ - color: rgb(0, 0, 0); - font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; + /*color: rgb(0, 0, 0);*/ + /*font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;*/ font-size: 17px; - height: 40px; + height: 42px; line-height: 25px; min-width: 307px; - width: 317px; + width: 400px; word-spacing: 0px; box-shadow: none !important; border:none !important; + color: rgb(255, 255, 255); + text-shadow: rgba(18, 18, 18, 0.76) 0px 1px 4px; + border-bottom: 1px solid white !important; + padding-left: 100px; } .mega .refresh-button{ @@ -348,17 +367,54 @@ hide mdi-action-visibility mdi-action-visibility-off } .mega .listen-button{ - -webkit-appearance: none; -webkit-background-clip: border-box; -webkit-background-origin: padding-box; -webkit-background-size: auto; -webkit-writing-mode: horizontal-tb; align-items: flex-start; background-attachment: scroll; background-clip: border-box; + /*-webkit-appearance: none; -webkit-background-clip: border-box; -webkit-background-origin: padding-box; -webkit-background-size: auto; -webkit-writing-mode: horizontal-tb; align-items: flex-start; background-attachment: scroll; background-clip: border-box; background-color: rgb(45, 45, 45); background-image: none; background-origin: padding-box; background-size: auto; border-bottom-color: rgb(250, 70, 104); border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-bottom-style: none; border-bottom-width: 0px; border-image-outset: 0px; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(250, 70, 104); border-left-style: none; border-left-width: 0px; border-right-color: rgb(250, 70, 104); border-right-style: none; border-right-width: 0px; border-top-color: rgb(250, 70, 104); border-top-left-radius: 3px; border-top-right-radius: 3px; border-top-style: none; border-top-width: 0px; box-sizing: border-box; color: rgb(255, 255, 255); cursor: pointer; display: block; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; height: 40px; letter-spacing: normal; line-height: 35.625px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 30px; padding-right: 30px; padding-top: 0px; text-align: center; text-decoration: none; text-indent: 0px; text-shadow: none; text-transform: none; word-spacing: 0px; + color: rgb(255, 255, 255); + text-shadow: rgba(18, 18, 18, 0.76) 0px 1px 4px; + height:41px;*/ + background: none; + border: none; + background-size: auto; + border-bottom: 1px solid white; + border-left:1px solid rgba(255,255,255,0); + border-right:1px solid rgba(255,255,255,0); + border-top:1px solid rgba(255,255,255,0); + cursor: pointer; + height: 41px; + line-height: 35.625px; + margin-left: 20px; + padding-left: 30px; + padding-right: 30px; + text-shadow: none; + color: rgb(255, 255, 255); + text-shadow: rgba(18, 18, 18, 0.76) 0px 1px 4px; + -webkit-transition : border 500ms ease-out; + -moz-transition : border 500ms ease-out; + -o-transition : border 500ms ease-out; + transition : border 500ms ease-out; } +.listen-button:hover{ + border-left:1px solid rgba(255,255,255,1); + border-right:1px solid rgba(255,255,255,1); + border-top:1px solid rgba(255,255,255,1); + border-radius: 2px; +} .mega .pitch{ - box-sizing: border-box; - color: rgba(255, 255, 255, 0.85); display: inline; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 17px; font-weight: normal; height: auto; line-height: 24.2857151031494px; text-align: center; - text-shadow: rgba(81, 81, 81, 0.05) 0px 1px 4px; width: auto; - margin-top: 20px; + box-sizing: border-box; + color: rgba(255, 255, 255, 0.85); + display: inline; + /* font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; */ + font-size: 18px; + font-weight: 300; + height: auto; + /*line-height: 24.2857151031494px;*/ + text-align: center; + text-shadow: rgba(81, 81, 81, 0.05) 0px 1px 4px; + width: auto; + margin-top: 20px; } /*#channels li{opacity: 0;}*/ diff --git a/static/dist/frontpage.min.js b/static/dist/frontpage.min.js index 47d76c23..50d52446 100755 --- a/static/dist/frontpage.min.js +++ b/static/dist/frontpage.min.js @@ -1 +1 @@ -!function(){var e,t,o={populate_channels:function(t){var n="",a=0;t.sort(o.sortFunction),pre_card=$(e),o.add_backdrop(t,0);for(x in t){var s=t[x][3];if(20>a){var i=t[x][1],l=t[x][0],r="background-image:url('https://img.youtube.com/vi/"+i+"/hqdefault.jpg');",c=t[x][4],d=pre_card;d.find(".chan-name").text(s),d.find(".chan-name").attr("title",s),d.find(".chan-views").text(l),d.find(".chan-songs").text(c),d.find(".chan-bg").attr("style",r),d.find(".chan-link").attr("href",s),$("#channels").append(d.html())}n+="