2013-04-05 23:51:21 +08:00
|
|
|
/*
|
2013-09-17 17:35:57 +08:00
|
|
|
* Copyright (c) 2008-2013 Haulmont. All rights reserved.
|
|
|
|
* Use is subject to license terms, see http://www.cuba-platform.com/license for details.
|
2013-04-05 23:51:21 +08:00
|
|
|
*/
|
|
|
|
|
|
|
|
// Version: $Id$
|
|
|
|
|
2013-04-01 16:45:19 +08:00
|
|
|
@mixin cuba-folders-pane {
|
|
|
|
.cuba-folders-pane {
|
|
|
|
background: #fff url(images/folders-pane-bg.png) top repeat-x;
|
|
|
|
|
|
|
|
.v-tree {
|
2013-12-06 23:43:16 +08:00
|
|
|
border-color: transparent;
|
2013-04-01 16:45:19 +08:00
|
|
|
overflow: auto;
|
|
|
|
|
2013-07-15 15:38:48 +08:00
|
|
|
.v-tree-node-cuba-clickable-folder .v-tree-node-caption span {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2013-04-01 16:45:19 +08:00
|
|
|
|
2013-07-15 15:38:48 +08:00
|
|
|
.v-tree-node-cuba-clickable-folder .v-tree-node-caption span:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
background: transparent none;
|
|
|
|
}
|
2013-04-01 16:45:19 +08:00
|
|
|
|
2013-07-15 15:38:48 +08:00
|
|
|
.v-tree-node-cuba-nonclickable-folder .v-tree-node-caption span:hover {
|
|
|
|
background: transparent none;
|
2013-04-01 16:45:19 +08:00
|
|
|
}
|
|
|
|
}
|
2013-12-06 23:43:16 +08:00
|
|
|
|
|
|
|
.v-tree:focus,
|
|
|
|
.v-tree-focus {
|
2014-10-15 19:05:20 +08:00
|
|
|
border-color: $cuba-field-focused-border-color;
|
2013-12-06 23:43:16 +08:00
|
|
|
}
|
2013-04-01 16:45:19 +08:00
|
|
|
}
|
|
|
|
|
2013-05-17 19:04:41 +08:00
|
|
|
.v-menubar-menuitem.v-menubar-menuitem-folders-pane-icon,
|
|
|
|
.v-menubar-menuitem.v-menubar-menuitem-folders-pane-icon-active {
|
|
|
|
background: transparent;
|
2013-06-13 22:38:14 +08:00
|
|
|
background-image: url(sprites/folders-pane-icon.png); /** sprite-ref: application; */
|
2013-05-17 19:04:41 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.v-menubar-menuitem.v-menubar-menuitem-folders-pane-icon,
|
|
|
|
.v-menubar-menuitem.v-menubar-menuitem-folders-pane-icon-active,
|
|
|
|
.v-menubar-menuitem.v-menubar-menuitem-folders-pane-icon:hover,
|
|
|
|
.v-menubar-menuitem.v-menubar-menuitem-folders-pane-icon-active:hover {
|
2013-09-12 16:22:18 +08:00
|
|
|
@include box-defaults;
|
|
|
|
|
2013-04-05 23:51:21 +08:00
|
|
|
padding-bottom: 5px;
|
|
|
|
padding-top: 1px;
|
2013-05-17 19:04:41 +08:00
|
|
|
width: 26px;
|
|
|
|
height: 21px;
|
|
|
|
border: 0;
|
|
|
|
background-clip: border-box;
|
|
|
|
background-origin: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
.v-menubar-menuitem.v-menubar-menuitem-folders-pane-icon-active,
|
|
|
|
.v-menubar-menuitem.v-menubar-menuitem-folders-pane-icon-active:hover {
|
2014-10-15 19:05:20 +08:00
|
|
|
border: 2px solid $cuba-field-focused-border-color;
|
2013-04-05 23:51:21 +08:00
|
|
|
}
|
|
|
|
|
2013-04-01 16:45:19 +08:00
|
|
|
.v-label.cuba-folders-pane-caption {
|
|
|
|
font-size: 14px;
|
2014-10-15 19:05:20 +08:00
|
|
|
color: $cuba-folderspane-caption-color;
|
2013-04-02 23:39:00 +08:00
|
|
|
background: url(images/folders-pane-header-bg.png) no-repeat 5px bottom;
|
2013-04-01 16:45:19 +08:00
|
|
|
padding-top: 5px;
|
|
|
|
padding-left: 5px;
|
|
|
|
}
|
|
|
|
}
|