design tweaks

This commit is contained in:
Nazar Kanaev
2020-07-03 11:04:47 +01:00
parent 8ffd89c2e7
commit be1804c7d0
3 changed files with 62 additions and 46 deletions

View File

@@ -1,11 +1,5 @@
'use strict';
var FILTERS = [
{'title': 'All', 'value': 'all', 'icon': 'circle-full'},
{'title': 'Unread', 'value': 'unread', 'icon': 'circle'},
{'title': 'Starred', 'value': 'starred', 'icon': 'star'},
]
var vm = new Vue({
el: '#app',
created: function() {
@@ -13,7 +7,6 @@ var vm = new Vue({
},
data: function() {
return {
'filters': FILTERS,
'filterSelected': 'all',
'folders': [],
'feeds': [],

View File

@@ -56,7 +56,7 @@ select.form-control:not([multiple]):not([size]) {
}
.menu-item {
padding: .375rem .75rem;
padding: .375rem .5rem;
}
.menu-item, .feed-item {
@@ -65,6 +65,8 @@ select.form-control:not([multiple]):not([size]) {
.nav-select {
position: relative;
display: block;
margin-bottom: 0;
}
.nav-select input {
@@ -74,6 +76,10 @@ select.form-control:not([multiple]):not([size]) {
top: 0; left: 0;
}
.nav-select + .nav-select {
margin-top: .25rem;
}
.menu-item:hover, .feed-item:hover {
background-color: #f8f9fa;
cursor: pointer;