Merge pull request #862 from pixelfed/frontend-ui-refactor

Frontend ui refactor
This commit is contained in:
daniel 2019-02-21 21:10:07 -07:00 committed by GitHub
commit 6481a71fe5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 10 additions and 8 deletions

BIN
public/css/app.css vendored

Binary file not shown.

BIN
public/css/appdark.css vendored

Binary file not shown.

BIN
public/js/app.js vendored

Binary file not shown.

BIN
public/js/micro.js vendored

Binary file not shown.

BIN
public/js/status.js vendored

Binary file not shown.

BIN
public/js/timeline.js vendored

Binary file not shown.

Binary file not shown.

View file

@ -217,7 +217,7 @@
</a> </a>
</p> </p>
</div> </div>
<p class="float-right"><a class="btn btn-primary font-weight-bold py-1" href="#">Follow</a></p> <p class="float-right"><!-- <a class="btn btn-primary font-weight-bold py-1" href="#">Follow</a> --></p>
</div> </div>
</div> </div>
</div> </div>

View file

@ -294,17 +294,11 @@
</template> </template>
<style type="text/css" scoped> <style type="text/css" scoped>
.text-lighter {
color:#B8C2CC !important;
}
.postPresenterContainer { .postPresenterContainer {
display: flex; display: flex;
align-items: center; align-items: center;
background: #fff; background: #fff;
} }
.cursor-pointer {
cursor: pointer;
}
.word-break { .word-break {
word-break: break-all; word-break: break-all;
} }
@ -348,7 +342,7 @@
this.$nextTick(function () { this.$nextTick(function () {
$('[data-toggle="tooltip"]').tooltip() $('[data-toggle="tooltip"]').tooltip()
let cachedSettings = window.ls.get('pixelfed-classicui-settings'); let cachedSettings = window.ls.get('pixelfed-classicui-settings');
if(cachedSettings.hasOwnProperty('notify')) { if(cachedSettings.length && cachedSettings.hasOwnProperty('notify')) {
this.modes = cachedSettings; this.modes = cachedSettings;
} else { } else {
window.ls.set('pixelfed-classicui-settings', this.modes); window.ls.set('pixelfed-classicui-settings', this.modes);

View file

@ -491,3 +491,11 @@ details summary::-webkit-details-marker {
#s-modal .modal-content { #s-modal .modal-content {
border-radius: 0; border-radius: 0;
} }
.text-lighter {
color:#B8C2CC !important;
}
.cursor-pointer {
cursor: pointer;
}