cuba/modules/web/themes/havana/app/folders-pane.scss

68 lines
1.9 KiB
SCSS
Raw Normal View History

/*
* Copyright (c) 2013 Haulmont Technology Ltd. All Rights Reserved.
* Haulmont Technology proprietary and confidential.
* Use is subject to license terms.
*/
// Version: $Id$
@mixin cuba-folders-pane {
.cuba-folders-pane {
background: #fff url(images/folders-pane-bg.png) top repeat-x;
.v-tree {
border: 0;
overflow: auto;
.v-tree-node {
.cuba-clickable-folder span {
cursor: pointer;
}
.cuba-clickable-folder span:hover {
text-decoration: underline;
background: transparent none;
}
.cuba-nonclickable-folder span:hover {
background: transparent none;
}
}
}
}
.v-menubar-menuitem.v-menubar-menuitem-folders-pane-icon,
.v-menubar-menuitem.v-menubar-menuitem-folders-pane-icon-active {
background: transparent;
background-image: url(sprites/folders-pane-icon.png); /** sprite-ref: icons; */
}
.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 {
padding-bottom: 5px;
padding-top: 1px;
width: 26px;
height: 21px;
border: 0;
box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
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 {
border: 2px solid $theme_fieldFocusedBorderColor;
}
.v-label.cuba-folders-pane-caption {
font-size: 14px;
color: $theme_foldersPaneCaptionColor;
background: url(images/folders-pane-header-bg.png) no-repeat 5px bottom;
padding-top: 5px;
padding-left: 5px;
}
}