From a5adb4f0bdfbd536abf6754a2bc9d0f826f19f5a Mon Sep 17 00:00:00 2001 From: Tobias Reich Date: Mon, 29 Dec 2014 01:50:57 +0100 Subject: [PATCH] New design --- dist/main.css | Bin 35002 -> 33569 bytes dist/main.js | Bin 169466 -> 169544 bytes dist/view.js | Bin 96717 -> 96795 bytes index.html | 7 ++- src/scripts/build.coffee | 12 ++--- src/styles/_content.scss | 88 ++++++++--------------------------- src/styles/_contextmenu.scss | 19 +++----- src/styles/_header.scss | 33 +++++-------- src/styles/_infobox.scss | 31 +++++------- src/styles/main.scss | 2 +- 10 files changed, 61 insertions(+), 131 deletions(-) diff --git a/dist/main.css b/dist/main.css index 3f19d66d586a1efc2470739156bd07549a39b047..da444a280b177ce20a9404d64bd065901befb6e0 100644 GIT binary patch delta 881 zcmY*XPiWIn7$>RgWZgQ%>6n{cT)zQgB zWfu?Q13iesKs@L`A)e-h3W5j4yPiD?dJ%8K_tq6xetD4Zd++!C`+ZyM?8XE3&FyFu z=@el-+UN(okiltD4 z8zYAhRL!Yn{1VokC51kuSDvNel$fT-<^@&5#T%CAR4cl|>!O5ZiI66O?W(`a z%Ml(qdp8Qr>q8^q!Wr&@%w_GOQ?ZNbtXpydhs$bMw~Ur|*|f`Lg*Q!8U9$C{q)3Df ze>8Le34#hcT1qEB^{j5+v`N-wv+UqNDH~>>E@IEJD@slz=}7heJKS~bg+rp4R2>%= z?ckOo?r&#*qX>3J=DO$zL{27j*uFc!<^@<;9EMH)UQ9G8)WE0(&@1pP5@0=Z82pou zVzMl!c_~K$+kL6-eYOA_eu5nnVD@?v9w!dLGd~Ki>M?kq?2AZ38dif7Ob-4g7iho) zGX&Mq*e#Q09_Zwo z)rY?>cCj!$^OTX`=S-u6?!Y*_)JC9E=!EaHS0Wf=GWjRr*GmgbKZ&XqowDOK#c7JJ zh~e7hPb@qy9EI7!94iaqR^dyuQx?t delta 1905 zcmaJ?-EZ4e6qjAdMA^F0m7=7SICaMsh%LuJirs8FbS~-Kr#;q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pJUbH@D9odHQAmxAxfwPW9PDAH}+JU{9-!*VgI_g#GQ| zX}D{S_=kP={>yjG90;#DzI`|h2e!Ai*at#fSpBa*6Qx0X4C0>0MP~}b5}SU%#c1gp{bU8N?3eZs zJeNza?IGXd!->5F|13&B*h{)*VfgpEvC2yB7zyGnXWbnquYjy?Kk-25p8ceR#~5A` z25Mwlj0kCkmRw&TRd@_o(Fe!}P!%5}dwx>QU*c^2%sr0RI={p5Y%f`x%j&`l>U7*u z-mIw_%^R#2C(7i7Q!`1`&@feXq|Ce6nKHDDfii;014qg{70#ro4?}GII(36fv^pLr bTUoktr0gAXJMQKC%LZ=8EkzzETeRX|i*;p= diff --git a/dist/view.js b/dist/view.js index 5e70f806a4f62ceff092fc8f9ab27b7e576eb508..8927bd8e4e90f2ba040e662de16aabc7c436e34f 100644 GIT binary patch delta 203 zcmX^6nRWIT)`l&NorzNFc1qewrI|S?dYQ@jd6~%?O2s9KMM|35O4Fw%GU`cU%BNPQ zf~7AcGU{T{o|9Qz0+#1VV$_z#)SjG^pPUU+u-rL`kqL_daQppJ7?W_@zkOc{BflsB DCWb#< delta 137 zcmbRJh4t)b)`l&NorydOnaTNiy2T}lMe26b7bi06@j^v15{puSLa!1Tb@?GeMXC8k zDXAcJhDnUtLJ+}{%v_){8~sE(CC%xAsf=RVCnqsJVMH}|VhUpts=3>FQW^P00sL+) Ap#T5? diff --git a/index.html b/index.html index 70df7bd..34d5dfc 100644 --- a/index.html +++ b/index.html @@ -45,8 +45,11 @@ - - × + + + +
diff --git a/src/scripts/build.coffee b/src/scripts/build.coffee index bfae055..0aa0489 100644 --- a/src/scripts/build.coffee +++ b/src/scripts/build.coffee @@ -59,10 +59,10 @@ build.album = (data) -> if lychee.publicMode is false - if data.star is '1' then html += "" - if data.public is '1' then html += "" - if data.unsorted is '1' then html += "" - if data.recent is '1' then html += "" + if data.star is '1' then html += "#{ build.iconic('star') }" + if data.public is '1' then html += "#{ build.iconic('eye') }" + if data.unsorted is '1' then html += "#{ build.iconic('list') }" + if data.recent is '1' then html += "#{ build.iconic('clock') }" html += "
" @@ -94,8 +94,8 @@ build.photo = (data) -> html += "" - if data.star is '1' then html += "" - if lychee.publicMode is false and data.public is '1' and album.json.public isnt '1' then html += "" + if data.star is '1' then html += "#{ build.iconic('star') }" + if lychee.publicMode is false and data.public is '1' and album.json.public isnt '1' then html += "#{ build.iconic('eye') }" html += "" diff --git a/src/styles/_content.scss b/src/styles/_content.scss index 6687499..9b476c4 100644 --- a/src/styles/_content.scss +++ b/src/styles/_content.scss @@ -8,22 +8,6 @@ width: 100%; min-height: calc(100% - 90px); -webkit-overflow-scrolling: touch; - - // Adds a gradient to the top - &::before { - content: ''; - position: absolute; - left: 0px; - width: 100%; - height: 20px; - background: linear-gradient(to bottom, #262626, #222); - border-top: 1px solid #333; - } - - // Removes the gradient when using the view - &.view::before { - display: none; - } } /* Photo ------------------------------------------------*/ @@ -70,7 +54,7 @@ height: 200px; background-color: #222; border-radius: 2px; - border: 2px solid #ccc; + border: 2px solid #bbb; &:first-child, &:nth-child(2) { @@ -91,7 +75,7 @@ &:hover img, &.active img { - box-shadow: 0 0 5px #005ecc; + box-shadow: 0 0 3px #2293EC; } } @@ -150,12 +134,11 @@ .album .badge, .photo .badge { position: absolute; - margin-top: -1px; - margin-left: 12px; + margin: -1px 0 0 12px; padding: 12px 7px 3px 7px; - background: linear-gradient(to bottom, #d64b4b 0%, #ab2c2c 100%); - box-shadow: 0 0 3px rgba(0, 0, 0, .8); - border-radius: 0 0 3px 3px; + box-shadow: 0 0 2px rgba(0, 0, 0, .6); + background: #d02a32; + border-radius: 0 0 5px 5px; border: 1px solid #fff; border-top: none; color: #fff; @@ -163,55 +146,23 @@ text-shadow: 0 1px 0 rgba(0, 0, 0, .4); opacity: .9; - &::after { - content: ''; - position: absolute; - margin-top: -12px; - margin-left: -26px; - width: 38px; - height: 5px; - background: linear-gradient(to bottom, rgba(0,0,0,1) 0%,rgba(0,0,0,0) 100%); - opacity: .4; + &:nth-child(2n) { margin-left: 57px; } + + .iconic { + fill: #fff; + width: 21px; + filter: drop-shadow( 0 -1px 0 rgba(0, 0, 0, .1) ); } - - &:nth-child(2n) { - margin-left: 57px; - } - } - - .album .badge.icon-star, - .photo .badge.icon-star { - padding: 12px 8px 3px 8px; - - &::after { margin-left: -29px; } - } - - .album .badge.icon-share, - .photo .badge.icon-share { - padding: 12px 6px 3px 8px; - - &::after { margin-left: -31px; } - } - - .album .badge.icon-time, - .photo .badge.icon-time { - padding: 12px 8px 3px 9px; - - ::after { margin-left: -29px; } - } - - .album .badge.icon-reorder::after { - margin-left: -30px; } /* Divider ------------------------------------------------*/ .divider { float: left; + margin: 50px 0 0; + padding: 10px 0; width: 100%; - margin-top: 50px; opacity: 0; - border-top: 1px solid rgba(255, 255, 255, .03); - box-shadow: 0 -1px 0 rgba(0, 0, 0, .25); + background: rgba(0, 0, 0, .15); &:first-child { margin-top: 0; @@ -220,11 +171,10 @@ h1 { float: left; - margin: 20px 0 0 30px; - color: #fff; + margin: 0 0 0 30px; + color: rgba(255, 255, 255, .6); font-size: 14px; font-weight: bold; - text-shadow: 0 -1px 0 rgba(0, 0, 0, .5); } } @@ -238,8 +188,8 @@ margin-top: -60px; margin-left: -90px; padding-top: 20px; - color: rgba(20, 20, 20, 1); - text-shadow: 0px 1px 0px rgba(255, 255, 255, .05); + color: rgba(15, 15, 15, 1); + text-shadow: 0px 1px 0px rgba(255, 255, 255, .01); text-align: center; .icon { diff --git a/src/styles/_contextmenu.scss b/src/styles/_contextmenu.scss index f1965b0..a4c140e 100644 --- a/src/styles/_contextmenu.scss +++ b/src/styles/_contextmenu.scss @@ -6,23 +6,20 @@ .basicContext { padding: 5px 0 6px; - background: linear-gradient(to bottom, #444 0%, #2f2f2f 100%); - border: 1px solid rgba(0, 0, 0, .5); - border-bottom: 1px solid rgba(0, 0, 0, .6); + background: linear-gradient(to bottom, #333, #252525); + border: 1px solid rgba(0, 0, 0, .7); + border-bottom: 1px solid rgba(0, 0, 0, .8); border-radius: 5px; - box-shadow: 0 1px 4px rgba(0, 0, 0, .15), inset 0px 1px 0px rgba(255, 255, 255, .08); + box-shadow: 0 1px 4px rgba(0, 0, 0, .2), inset 0 1px 0 rgba(255, 255, 255, .05); /* Item ------------------------------------------------*/ tr { margin-bottom: 2px; color: #eee; font-size: 14px; - text-shadow: 0 -1px 0px rgba(0, 0, 0, .2); + text-shadow: 0 -1px 0px rgba(0, 0, 0, .1); - &.separator { - background-color: rgba(0, 0, 0, .2); - border-bottom: 1px solid rgba(255, 255, 255, .1); - } + &.separator { background-color: rgba(0, 0, 0, .3); } } tr td { @@ -32,9 +29,7 @@ border-radius: 0; transition: none; - &:hover { - background: linear-gradient(to bottom, #6a84f2, #4967F0); - } + &:hover { background: linear-gradient(to bottom, #2293EC, darken(#2293EC, 2%)); } } tr td .albumCover { diff --git a/src/styles/_header.scss b/src/styles/_header.scss index cce3a85..d4faa07 100644 --- a/src/styles/_header.scss +++ b/src/styles/_header.scss @@ -7,8 +7,8 @@ header { position: fixed; height: 49px; width: 100%; - background: linear-gradient(to bottom, #3E3E3E, #282828); - border-bottom: 1px solid #161616; + background: linear-gradient(to bottom, #222222, #1a1a1a); + border-bottom: 1px solid #0f0f0f; z-index: 1; transition: transform .3s ease-out; @@ -29,15 +29,7 @@ header { background: none; border-bottom: none; - &.error { - background-color: rgba(10, 10, 10, .99); - } - - .button, - #title, - .tools { - text-shadow: none !important; - } + &.error { background-color: rgba(10, 10, 10, .99); } } /* Title ------------------------------------------------*/ @@ -50,7 +42,7 @@ header { font-size: 16px; font-weight: bold; text-align: center; - text-shadow: 0 -1px 0 rgba(0, 0, 0, .3); + text-shadow: 0 -1px 0 rgba(0, 0, 0, .2); &.editable { cursor: pointer; } } @@ -68,7 +60,7 @@ header { /* Button ------------------------------------------------*/ .button { display: inline-block; - padding: 16px 8px 12px; + padding: 17px 8px 15px; width: 15px; cursor: pointer; @@ -77,7 +69,7 @@ header { &.right { float: right; } .iconic { - fill: #888; + fill: #aaa; filter: drop-shadow( 0 -1px 0 rgba(0, 0, 0, .2) ); transition: fill .2s ease; } @@ -106,10 +98,9 @@ header { width: 80px; margin: 12px 12px 0 0; padding: 5px 12px 6px 12px; - background-color: #383838; + background-color: #222; color: #fff; - border: 1px solid rgba(0, 0, 0, .6); - box-shadow: 0 1px 0 rgba(255, 255, 255, .06); + border: 0; outline: none; border-radius: 50px; opacity: .6; @@ -144,14 +135,12 @@ header { margin: 13px 9px; color: #888; font-size: 13px; - text-shadow: 0 -1px 0 rgba(0, 0, 0, .3); + text-shadow: 0 -1px 0 rgba(0, 0, 0, .2); + border-radius: 100px; display: none; cursor: pointer; - &:hover { - background-color: rgba(0, 0, 0, .2); - border-radius: 100px; - } + &:hover { background-color: rgba(0, 0, 0, .3); } } } \ No newline at end of file diff --git a/src/styles/_infobox.scss b/src/styles/_infobox.scss index 9c759f1..12caaab 100644 --- a/src/styles/_infobox.scss +++ b/src/styles/_infobox.scss @@ -19,8 +19,8 @@ right: -370px; width: 350px; height: 100%; - background-color: rgba(20, 20, 20, .98); - box-shadow: -1px 0 2px rgba(0, 0, 0, .8); + background-color: rgba(30, 30, 30, .98); + box-shadow: -1px 0 2px rgba(0, 0, 0, .7); transform: translateX(0); transition: transform .3s cubic-bezier(.51, .92, .24, 1.15); @@ -54,8 +54,8 @@ float: left; height: 49px; width: 100%; - background-image: linear-gradient(to bottom, #2A2A2A, #131313); - border-bottom: 1px solid rgba(0, 0, 0, .7); + background: linear-gradient(to bottom, #1f1f1f, #1a1a1a); + border-bottom: 1px solid #0f0f0f; } .header h1 { @@ -66,7 +66,7 @@ font-size: 16px; font-weight: bold; text-align: center; - text-shadow: 0 -1px 0 rgba(0, 0, 0, .3); + text-shadow: 0 -1px 0 rgba(0, 0, 0, .2); } .header .close { @@ -88,21 +88,15 @@ /* Seperator ------------------------------------------------*/ .separator { float: left; + padding: 8px 0; width: 100%; - border-top: 1px solid rgba(255, 255, 255, .02); - box-shadow: 0 -1px 0 rgba(0, 0, 0, .5); - - &:first-child { - border-top: 1px solid rgba(255, 255, 255, .02); - box-shadow: none; - } + background: rgba(0, 0, 0, .15); h1 { - margin: 20px 0 5px 20px; - color: #fff; + margin: 0 0 0 20px; + color: rgba(255, 255, 255, .6); font-size: 14px; font-weight: bold; - text-shadow: 0 -1px 0 rgba(0, 0, 0, .3); } } @@ -150,15 +144,14 @@ #tags .tag { float: left; - padding: 4px 7px; + padding: 6px 10px; margin: 0 6px 8px 0; background-color: rgba(0, 0, 0, .5); - border: 2px solid rgba(255, 255, 255, .3); border-radius: 100px; font-size: 12px; - transition: border .3s; + transition: background-color .3s; - &:hover { border: 2px solid #aaa; } + &:hover { background-color: rgba(0, 0, 0, .3); } } #tags .tag span { diff --git a/src/styles/main.scss b/src/styles/main.scss index a6dab16..6f8a31d 100755 --- a/src/styles/main.scss +++ b/src/styles/main.scss @@ -17,7 +17,7 @@ body { } body { - background-color: #222; + background-color: #1d1d1d; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 12px; -webkit-font-smoothing: antialiased;