fix some css

This commit is contained in:
Xuan Sang LE 2017-08-26 20:47:43 +02:00
parent 599e27bb01
commit fc406be924
5 changed files with 16 additions and 3 deletions

View File

@ -44,9 +44,9 @@ class Files extends this.OS.GUI.BaseApplication
text: "View", text: "View",
child: [ child: [
{ text: "Refresh", dataid: "#{@name}-refresh" }, { text: "Refresh", dataid: "#{@name}-refresh" },
{ text: "Sidebar", dataid: "#{@name}-side" }, { text: "Sidebar", switch: true, dataid: "#{@name}-side" },
{ text: "Navigation bar", dataid: "#{@name}-nav" }, { text: "Navigation bar", switch: true , dataid: "#{@name}-nav" },
{ text: "Hidden files", dataid: "#{@name}-hidden" }, { text: "Hidden files", switch: true, dataid: "#{@name}-hidden" },
{ text: "Type", child: [ { text: "Type", child: [
{ text: "Icon view", radio: true, dataid: "#{@name}-icon", type: 'icon' }, { text: "Icon view", radio: true, dataid: "#{@name}-icon", type: 'icon' },
{ text: "List view", radio:true, checked: true, dataid: "#{@name}-list", type: 'list' }, { text: "List view", radio:true, checked: true, dataid: "#{@name}-list", type: 'list' },

View File

@ -107,3 +107,8 @@ afx-file-view afx-tree-view i.file:before{
font-style: normal; font-style: normal;
font-weight: normal; font-weight: normal;
} }
afx-file-view afx-tree-view div.afx_tree_item_selected i.file:before{
background-color: #116cd6;
color:white;
}

View File

@ -26,6 +26,8 @@ afx-list-view li{
color: #414339; color: #414339;
background-color: white; background-color: white;
position: relative; position: relative;
-webkit-user-select:none;
cursor:default;
} }
afx-list-view li:nth-child(odd){ afx-list-view li:nth-child(odd){
background-color: #f5F5F5; background-color: #f5F5F5;
@ -49,6 +51,7 @@ afx-list-view i.closable:before{
afx-list-view li > i { afx-list-view li > i {
margin-right: 3px; margin-right: 3px;
} }
afx-list-view li.selected { afx-list-view li.selected {
background-color: #116cd6; background-color: #116cd6;

View File

@ -22,6 +22,9 @@ afx-menu afx-switch span{
font-size: 16px; font-size: 16px;
/*margin-top:5px;*/ /*margin-top:5px;*/
} }
afx-menu li:hover > a afx-switch span:before{
color:white;
}
afx-menu afx-menu ul { afx-menu afx-menu ul {
padding: 0; padding: 0;

View File

@ -20,6 +20,8 @@ afx-tree-view li{
afx-tree-view div{ afx-tree-view div{
padding:3px; padding:3px;
background-color: white; background-color: white;
-webkit-user-select:none;
cursor:default;
} }
afx-tree-view i.icon-style { afx-tree-view i.icon-style {
width: 16px; width: 16px;