p5.js-web-editor/client/styles/components/_timer.scss
Yining Shi e86e9a0ae0 Added a star icon for unsaved file name, added 'Saved: xx time ago' (#177)
* added a star icon for unsaved file name, added saved time ago

* changed text

* added timer component

* clean extra styling in _editor.sass

* customize momentjs fromnow function

* clear 10s interval in componentWillUnmount

* use space-between instead of float
2016-11-09 12:52:14 -05:00

7 lines
190 B
SCSS

.timer__saved-time {
@include themify() {
color: getThemifyVariable('inactive-text-color');
}
font-size: #{12 / $base-font-size}rem;
padding-right: #{30 / $base-font-size}rem;
}