mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 09:42:36 +02:00
Add selected color to appropriate dashboard buttons
This commit is contained in:
parent
0bcefd9e2d
commit
2fb2a43e6a
2 changed files with 21 additions and 2 deletions
|
@ -271,6 +271,22 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.files {
|
||||||
|
.btn.iconview-button {
|
||||||
|
background: #4F727B;
|
||||||
|
}
|
||||||
|
.btn.listview-button {
|
||||||
|
background: #77ABB8;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.files.list-view {
|
||||||
|
.btn.listview-button {
|
||||||
|
background: #4F727B;
|
||||||
|
}
|
||||||
|
.btn.iconview-button {
|
||||||
|
background: #77ABB8;
|
||||||
|
}
|
||||||
|
}
|
||||||
.files .header {
|
.files .header {
|
||||||
background: #5E95A1;
|
background: #5E95A1;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
|
@ -592,6 +608,9 @@
|
||||||
.files .list {
|
.files .list {
|
||||||
@include dashboard-list-view;
|
@include dashboard-list-view;
|
||||||
}
|
}
|
||||||
|
.files .btn-group {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.files.list-view .list {
|
.files.list-view .list {
|
||||||
@include dashboard-list-view;
|
@include dashboard-list-view;
|
||||||
|
|
|
@ -83,8 +83,8 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="header">
|
<div class="header">
|
||||||
<div class="btn-group" role="group" aria-label="...">
|
<div class="btn-group" role="group" aria-label="...">
|
||||||
<button type="button" class="btn btn-default" title="List View" onclick="listView()"><i class="fa fa-list"></i></button>
|
<button type="button" class="btn btn-default iconview-button" title="Icon View" onclick="iconView()"><i class="fa fa-th"></i></button>
|
||||||
<button type="button" class="btn btn-default" title="Icon View" onclick="iconView()"><i class="fa fa-th"></i></button>
|
<button type="button" class="btn btn-default listview-button" title="List View" onclick="listView()"><i class="fa fa-list"></i></button>
|
||||||
</div>
|
</div>
|
||||||
<div class="breadcrumbs">
|
<div class="breadcrumbs">
|
||||||
<% if params[:dir].nil? || params[:dir].empty? || params[:dir] == '/' %>
|
<% if params[:dir].nil? || params[:dir].empty? || params[:dir] == '/' %>
|
||||||
|
|
Loading…
Add table
Reference in a new issue