diff --git a/site/src/components/application/style.styl b/site/src/components/application/style.styl index 5f2bf32..4da20a6 100644 --- a/site/src/components/application/style.styl +++ b/site/src/components/application/style.styl @@ -7,6 +7,8 @@ height 100% overflow hidden font-family Helvetica, Arial + -webkit-font-smoothing antialiased + -moz-osx-font-smoothing grayscale a text-decoration none diff --git a/site/src/components/file/style.styl b/site/src/components/file/style.styl index 758f01c..134954f 100644 --- a/site/src/components/file/style.styl +++ b/site/src/components/file/style.styl @@ -10,4 +10,104 @@ header position absolute top 0 - left 0 \ No newline at end of file + left 0 + right 0 + height 50px + background #1E202F + + a + &.active + background #26283B + + .icon + &.default + display inline-block + + &.hover + display none + + &:hover + .icon + &.default + display none + + &.hover + display inline-block + + .versions-toggle + display block + position absolute + top 0 + left 0 + width 50px + height 50px + padding-top 13px + padding-left 18px + + .icon + &.default + opacity 0.5 + + &.active + background #26283B + + .differences-toggle + display block + position absolute + top 0 + left 50px + width 58px + height 50px + padding-top 13px + padding-left 19px + + .icon + &.default + opacity 0.7 + + &.active + background #26283B + + .copy + display block + position absolute + top 0 + right 58px + width 58px + height 50px + padding-top 14px + padding-left 22px + + .icon + &.default + opacity 0.8 + + &.active + background #26283B + + .download + display block + position absolute + top 0 + right 0 + width 58px + height 50px + padding-top 14px + padding-left 22px + + .icon + &.default + opacity 0.5 + + .path + position absolute + top 20px + left 0 + right 0 + text-align center + font-size 14px + color #fff + letter-spacing 0.25px + + .directory + opacity 0.3 \ No newline at end of file diff --git a/site/src/components/file/template.html b/site/src/components/file/template.html index a15a911..cf16320 100644 --- a/site/src/components/file/template.html +++ b/site/src/components/file/template.html @@ -1,18 +1,46 @@
+ +
- Differences (on) - Versions (on) - Download - {{ this.copied ? 'Copied' : 'Copy' }} - {{ content.path.directory }}/{{ content.name }} + +
{{ content.path.directory }}/{{ content.name }}
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + +
- +
+ +
-
Sorry, I can't read this file. -
But you can download it +
Sorry, I can't read this file. +
But you can download it
\ No newline at end of file diff --git a/site/src/components/versions/style.styl b/site/src/components/versions/style.styl index 27c0079..aab12e4 100644 --- a/site/src/components/versions/style.styl +++ b/site/src/components/versions/style.styl @@ -1,6 +1,6 @@ .versions position absolute - top 30px + top 50px left 0 width 202px bottom 0 diff --git a/site/src/components/viewer/style.styl b/site/src/components/viewer/style.styl index a30fa7e..3ee975e 100644 --- a/site/src/components/viewer/style.styl +++ b/site/src/components/viewer/style.styl @@ -14,7 +14,7 @@ // Viewer .viewer position absolute - top 30px + top 50px right 0 width 100% bottom 0 @@ -105,6 +105,8 @@ height 100% outline none font-family Inconsolata, Monaco, Consolas, 'Courier New', Courier + -webkit-font-smoothing initial + -moz-osx-font-smoothing initial ::-moz-selection background #bdb9bf diff --git a/site/static/svg/alert-hover.svg b/site/static/svg/alert-hover.svg new file mode 100644 index 0000000..bec4d4f --- /dev/null +++ b/site/static/svg/alert-hover.svg @@ -0,0 +1,14 @@ + + + + Fill 1 + Created with Sketch. + + + + + + + + + \ No newline at end of file diff --git a/site/static/svg/alert.svg b/site/static/svg/alert.svg index d2b8177..2e2392a 100644 --- a/site/static/svg/alert.svg +++ b/site/static/svg/alert.svg @@ -1,19 +1,13 @@ - Ralentir + Fill 1 Created with Sketch. - - - - - - - - - - + + + + diff --git a/site/static/svg/chat-star-hover.svg b/site/static/svg/chat-star-hover.svg new file mode 100644 index 0000000..84fe769 --- /dev/null +++ b/site/static/svg/chat-star-hover.svg @@ -0,0 +1,12 @@ + + + + Star + Created with Sketch. + + + + + + + \ No newline at end of file diff --git a/site/static/svg/copy-hover.svg b/site/static/svg/copy-hover.svg new file mode 100644 index 0000000..6907bad --- /dev/null +++ b/site/static/svg/copy-hover.svg @@ -0,0 +1,38 @@ + + + + Page 1 + Created with Sketch. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/site/static/svg/cross-hover.svg b/site/static/svg/cross-hover.svg new file mode 100644 index 0000000..74d9bda --- /dev/null +++ b/site/static/svg/cross-hover.svg @@ -0,0 +1,19 @@ + + + + croix + Created with Sketch. + + + + + + + + + + + + + + \ No newline at end of file diff --git a/site/static/svg/differences-hover.svg b/site/static/svg/differences-hover.svg new file mode 100644 index 0000000..4d5087f --- /dev/null +++ b/site/static/svg/differences-hover.svg @@ -0,0 +1,26 @@ + + + + Page 1 + Created with Sketch. + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/site/static/svg/download-hover.svg b/site/static/svg/download-hover.svg new file mode 100644 index 0000000..684c0bf --- /dev/null +++ b/site/static/svg/download-hover.svg @@ -0,0 +1,20 @@ + + + + dl + Created with Sketch. + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/site/static/svg/versions-hover.svg b/site/static/svg/versions-hover.svg new file mode 100644 index 0000000..50c0e59 --- /dev/null +++ b/site/static/svg/versions-hover.svg @@ -0,0 +1,20 @@ + + + + Page 1 + Created with Sketch. + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/site/static/svg/history.svg b/site/static/svg/versions.svg similarity index 100% rename from site/static/svg/history.svg rename to site/static/svg/versions.svg