X-Git-Url: http://git.bytex64.net/?a=blobdiff_plain;ds=sidebyside;f=www%2Fcss%2Fblerg.css;h=48b63f9b3b98860628387f18d92cd2fb22a56d7e;hb=HEAD;hp=eb3475773f8019d7c26b2bb83963d0d10dfea162;hpb=260bc694bf7c988f064077758da3536a775d5eb2;p=blerg.git diff --git a/www/css/blerg.css b/www/css/blerg.css index eb34757..48b63f9 100644 --- a/www/css/blerg.css +++ b/www/css/blerg.css @@ -124,7 +124,7 @@ a > img { } } -.feed-button.new { +.blerg-controls button.new { background-color: #E4C010; } @@ -134,14 +134,6 @@ a > img { font-weight: bold; } -.spew-button::after { - content: " ▼"; -} - -.spew-button.active::after { - content: " ▲"; -} - h2 { font-size: 20pt; margin-bottom: 28pt; @@ -175,43 +167,119 @@ h1, h2, h3 { } .blerg-main h2 { - margin: 8pt 0; + margin: 40px 0 17px 0; +} + +.blerg-main h2:first-child { + margin: 0 0 17px 0; } .blerg-post { - padding: 20pt 20pt 16pt 20pt; + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + background-color: #1E1E1E; } .blerg-post h2 { font-size: 14pt; - margin: 0; + margin: 12pt 12pt 8pt 12pt; +} + +.blerg-post .content-decorator { + display: block; + border-color: #999; + margin: 8pt 12pt 12pt; + height: 35%; } -.blerg-post .buttons { +.blerg-post .content { + display: block; + width: 100%; + height: 100%; + font-size: 14pt; + font-family: sans-serif; +} + +.blerg-post .toolbar { + height: 54px; + overflow: hidden; +} + +.blerg-post .toolbar .switcher { + color: black; + background-color: white; + padding: 12pt 8pt 2px 12pt; +} + +.blerg-post .toolbar .buttons { + padding: 0 12pt 12pt 60px; text-align: right; + vertical-align: top; + float: right; + background-color: #1E1E1E; + background-image: url(/images/corner.svg); + background-position: left bottom; + background-repeat: no-repeat; + background-size: auto 100%; } -.blerg-post .buttons .onyx-button { +.blerg-post .toolbar .buttons .onyx-button { margin-left: 4pt; height: 0.4in; width: 1in; } -.blerg-post .onyx-input-decorator { - display: block; - border-color: #999; - margin: 4pt 0; +.blerg-post .bottom-panel { + height: 45%; + color: black; + background-color: white; } -.blerg-post .onyx-textarea { - display: block; - width: 100%; +.blerg-post .bottom-panel > div { + padding: 0 12pt; } -.blerg-post .content { - font-size: 14pt; - font-family: sans-serif; - height: 51pt; +.blerg-post.enter { + animation: blerg-post-enter 750ms; +} + +@keyframes blerg-post-enter { + from { + transform: translateY(-100%); + animation-timing-function: ease-in; + } + + 60% { + transform: translateY(0); + animation-timing-function: ease-out; + } + + 80% { + transform: translateY(-2%); + animation-timing-function: ease-in; + } + + to { + transform: translateY(0); + } +} + +.blerg-post.exit { + animation: blerg-post-exit 500ms forwards; +} + +@keyframes blerg-post-exit { + from { + transform: translateY(0); + animation-timing-function: ease-in; + } + + to { + transform: translateY(100%); + } } .login { @@ -295,7 +363,6 @@ h1, h2, h3 { display: table; margin: 0 auto; border-spacing: 10px; - height: 600px; } .latest h2 { @@ -304,7 +371,7 @@ h1, h2, h3 { } .latest-scroller { - max-height: 600px; + height: 600px; padding: 12px; overflow-y: auto; } @@ -338,15 +405,72 @@ h1, h2, h3 { } @media screen and (max-width: 1100px) { - .latest { display: block; } + .latest { + display: block; + margin-top: 15px; + } .latest-posts { display: block; width: auto; margin-right: 0; overflow: auto; + } + .latest-tags { + display: block; + width: auto; + margin-top: 10px; + } + .latest-tags .latest-scroller { + height: auto; + } +} + +@media screen and (max-width: 800px) { + .latest-posts, .latest-tags { + border: none; + background-color: inherit; + } + + .latest-scroller { height: auto; + padding: 0; + } +} + +@media screen and (max-width: 600px) { + .blerg-post { + position: inherit; + height: 550px; + } + + .blerg-post .toolbar { + height: auto; + } + + .blerg-post .toolbar .buttons { + float: none; + background-image: none; + } + + .blerg-post .toolbar .switcher { + padding: 4pt 12pt; + } + + .blerg-post .record { + margin-top: 0; + } + + .blerg-post .record p:first-child { + margin-top: 0; + } + + .blerg-post.enter { + animation: none; + } + + .blerg-post.exit { + animation: none; } - .latest-tags { display: block; width: auto; } } .author { @@ -370,7 +494,8 @@ h1, h2, h3 { margin: 0; } -.blerg-dialog .onyx-groupbox { +.blerg-dialog .onyx-groupbox, +.blerg-form .onyx-groupbox { margin: 8px 0; } @@ -394,6 +519,25 @@ h1, h2, h3 { font-weight: bold; } +.onyx-input-decorator.recovery { + min-height: 22px; + vertical-align: top; + margin-right: 1em; +} + +.onyx-button.recovery { + background-color: orange; + font-size: 16px; + font-weight: bold; + min-height: 40px; +} + +p.recovery { + background-color: orange; + font-size: 20px; + padding: 6px; +} + table.help td { padding: 2pt 8pt; } @@ -403,4 +547,18 @@ footer { margin: 15pt; font-size: small; color: #333; + text-align: right; +} + +footer a { + color: #333; + margin-left: 1em; +} + +.email-address { + font-weight: bold; +} + +.enyo-no-touch-action#blerg { + -ms-touch-action: pan-y; }