1/*! 2 * Fancytree "Win7" skin. 3 * 4 * DON'T EDIT THE CSS FILE DIRECTLY, since it is automatically generated from 5 * the LESS templates. 6 */ 7 8// Fancytree Win7 styles 9 10// both: 11// unselected background: #FCFCFC 'nearly white', no border 12// 13// hover bar (unselected, inactive): #fcfdfe..#EFF9FE (border: #b8d6fb) 'very light blue' 14// background: #f8fcfe; // 15// background: -moz-linear-gradient(top, #f8fcfe 0%, #eff9fe 100%); 16 17// active node: #F6FBFD..#D5EFFC (border: #719acb) 'light blue' 18// background: #f6fbfd; 19// background: -moz-linear-gradient(top, #f6fbfd 0%, #d5effc 100%); 20 21// active node with hover: #F2F9FD..#C4E8FA (border: #B6E6FB) 22// background: #f2f9fd; 23// background: -moz-linear-gradient(top, #f2f9fd 0%, #c4e8fa 100%); 24 25// Tree view: 26// active node, tree inactive: #FAFAFB..#E5E5E5 (border: #D9D9D9) 'light gray, selected, but tree not active' 27// background: #fafafb; 28// background: -moz-linear-gradient(top, #fafafb 0%, #e5e5e5 100%); 29 30// List view: 31// selected bar: --> active bar 32// focus bar: active + border 1px dotted #090402 (inside the blue border) 33 34// table left/right border: #EDEDED 'light gray' 35 36// Import common styles 37@import "skin-common.less"; 38 39 40/******************************************************************************* 41 * Styles specific to this skin. 42 * 43 * This section is automatically generated from the `ui-fancytree.less` template. 44 ******************************************************************************/ 45 46// Override the variable after the import. 47// NOTE: Variables are always resolved as the last definition, even if it is 48// after where it is used. 49@fancy-use-sprites: true; // false: suppress all background images (i.e. icons) 50 51@fancy-line-height: 20px; // height of a nodes selection bar including borders 52@fancy-node-v-spacing: 1px; // gap between two node borders 53@fancy-icon-width: 16px; 54@fancy-icon-height: 16px; 55@fancy-icon-spacing: 3px; // margin between icon/icon or icon/title 56@fancy-icon-ofs-top: 2px; // extra vertical offset for expander, checkbox and icon 57@fancy-title-ofs-top: 0px; // extra vertical offset for title 58@fancy-node-border-width: 1px; 59@fancy-node-border-radius: 3px; 60@fancy-node-outline-width: 1px; 61 62// We need to define this variable here (not in skin-common.less) to make it 63// work with grunt and webpack: 64@fancy-image-prefix: "./skin-win7/"; 65 66// Use 'data-uri(...)' to embed the image into CSS instead of linking to 'loading.gif': 67// @fancy-loading-url: data-uri("@{fancy-image-prefix}loading.gif"); 68// Set to `true` to use `data-uri(...)` which will embed icons.gif into CSS 69// instead of linking to that file: 70// @fancy-inline-sprites: true; 71 72//default 10pt, which is used in a relative manner resulting in 13.3 in dokuwiki-template. 73@fancy-font-size: 93%; 74 75ul.fancytree-container { 76 77} 78 79/******************************************************************************* 80 * Node titles 81 */ 82span.fancytree-title { 83} 84// active nodes inside an UN-focused tree are gray instead of blue 85span.fancytree-active .fancytree-title, 86span.fancytree-selected .fancytree-title { 87 .spanStyleMixin(inherit, #e5e5e5, #d9d9d9, #fafafb, #e5e5e5); 88} 89span.fancytree-selected .fancytree-title { 90 font-style: italic; 91} 92// Markers inside an active tree 93.fancytree-treefocus { 94 span.fancytree-active .fancytree-title, 95 span.fancytree-selected .fancytree-title { 96 .spanStyleMixin(inherit, #f6fbfd, #99defd, #f6fbfd, #d5effc); 97 } 98 span.fancytree-focused span.fancytree-title { 99 border: @fancy-node-border-width solid #719acb; 100 } 101} 102// Hover is always colored (even if tree is inactive) 103span.fancytree-title:hover { 104 .spanStyleMixin(inherit, #f8fcfe, #d8f0fa, #f8fcfe, #eff9fe); 105} 106span.fancytree-active .fancytree-title:hover, 107span.fancytree-selected .fancytree-title:hover { 108 .spanStyleMixin(inherit, #f2f9fd, #719acb, #f2f9fd, #c4e8fa); 109} 110 111/******************************************************************************* 112 * 'table' extension 113 */ 114 115table.fancytree-ext-table tbody { 116 tr td { 117 border: 1px solid #ededed; 118 } 119 tr:hover { 120 .spanStyleMixin(inherit, #f8fcfe, inherit, #f8fcfe, #eff9fe); 121 outline: 1px solid #d8f0fa; 122 } 123 // tr:hover td { 124 // outline: 1px solid #D8F0FA; 125 // } 126 tr.fancytree-focused { 127 // background-color: #99DEFD; 128 outline: 1px dotted #090402; 129 } 130 span.fancytree-focused span.fancytree-title { 131 outline: solid dotted black; 132 } 133 134 // Title gets a white background, when hovered. Undo standard node formatting 135 span.fancytree-title:hover { 136 border: 1px solid transparent; 137 background: inherit; 138 background: transparent; 139 background: none; 140 filter: none; 141 } 142 143 tr.fancytree-active:hover, 144 tr.fancytree-selected:hover { 145 .spanStyleMixin(inherit, #f2f9fd, inherit, #f2f9fd, #c4e8fa); 146 outline: 1px solid #B6E6FB; 147 } 148 tr.fancytree-active, 149 tr.fancytree-selected { 150 .spanStyleMixin(inherit, #f6fbfd, inherit, #f6fbfd, #d5effc); 151 outline: 1px solid #99DEFD; 152 } 153 // tr.fancytree-selected .fancytree-title { 154 // font-style: italic; 155 // } 156 157} 158