| 1 |
/* dijit/layout/* variables */ |
| 2 |
|
| 3 |
@import '../../variables'; |
| 4 |
|
| 5 |
/* BorderContainer*/ |
| 6 |
|
| 7 |
$bordercontainer-padding = $padding; |
| 8 |
$bordercontainer-border-color = $border-color; |
| 9 |
|
| 10 |
// splitter |
| 11 |
$splitter-size = isEven($bordercontainer-padding) ? $bordercontainer-padding + 1 : $bordercontainer-padding; // the width of the splitter, will always be an odd number since the splitter bar's width is always 1px |
| 12 |
$splitter-color = $border-color; // color of the splitter thumb (the 1px wide bar) |
| 13 |
$splitter-hovered-color = darken($splitter-color, 25%); |
| 14 |
$splitter-dragged-color = $splitter-hovered-color; |
| 15 |
$splitter-background-color = none; |
| 16 |
$splitter-hovered-background-color = darken(#fff, 5%); |
| 17 |
$splitter-dragged-background-color = darken(#fff, 5%); |
| 18 |
|
| 19 |
/* ContentPane */ |
| 20 |
|
| 21 |
$contentpane-padding = $padding * 2; |
| 22 |
$contentpane-background-color = $theme-base-color; |
| 23 |
|
| 24 |
// contentpane in other layout widgets (accordion and tab container) |
| 25 |
$contentpane-nested-padding = $padding * 2; |
| 26 |
$contentpane-nested-background-color = $theme-base-color; |
| 27 |
|
| 28 |
/* TabContainer */ |
| 29 |
|
| 30 |
$tab-highlight-color = $theme-base; |
| 31 |
$tab-padding = $padding; |
| 32 |
$tab-checked-has-highlight-border = true; // whether to have a highlight bar on the edge of the tab |
| 33 |
|
| 34 |
// TabContainer: wrapper |
| 35 |
// (the outer container) |
| 36 |
$tab-wrapper-background-color = $theme-base-color; |
| 37 |
$tab-wrapper-border-color = $border-color; |
| 38 |
$tab-wrapper-border-radius = $border-radius; |
| 39 |
|
| 40 |
// tabs |
| 41 |
$tab-background-color = $tab-wrapper-background-color; |
| 42 |
$tab-border-color = transparent; |
| 43 |
$tab-spacing = 0; // space between tabs |
| 44 |
|
| 45 |
// hover |
| 46 |
$tab-hover-background-color = darken($theme-base-color, 5%); |
| 47 |
|
| 48 |
// active |
| 49 |
$tab-active-background-color = darken($theme-base-color, 10%); |
| 50 |
|
| 51 |
// checked |
| 52 |
$tab-checked-border-color = $tab-wrapper-border-color; |
| 53 |
$tab-checked-background-color = $tab-wrapper-background-color; |
| 54 |
$tab-checked-text-color = $grey-dark; |
| 55 |
|
| 56 |
// icons |
| 57 |
$tab-left-icon = "\f004"; |
| 58 |
$tab-right-icon = "\f005"; |
| 59 |
$tab-menu-icon = "\f006"; |
| 60 |
|
| 61 |
// close button |
| 62 |
$tab-close-button-icon = "\f00e"; |
| 63 |
$tab-close-button-opacity = .35; |
| 64 |
|
| 65 |
// hover |
| 66 |
$tab-close-button-hover-opacity = .75; |
| 67 |
|
| 68 |
// active |
| 69 |
$tab-close-button-active-opacity = 1; |
| 70 |
|
| 71 |
// tab dtrip button |
| 72 |
$tab-strip-button-background-color = $tab-background-color; |
| 73 |
$tab-strip-button-border-color = $tab-border-color; |
| 74 |
|
| 75 |
// hover |
| 76 |
$tab-strip-button-hover-background-color = $tab-hover-background-color; |
| 77 |
|
| 78 |
// active |
| 79 |
$tab-strip-button-active-background-color = $tab-active-background-color; |
| 80 |
|
| 81 |
// arrow |
| 82 |
$tab-strip-button-arrow-color = $theme-base; |
| 83 |
|
| 84 |
// tabs: top |
| 85 |
$tab-top-padding = $tab-padding * 1.5 $tab-padding * 4; |
| 86 |
|
| 87 |
// tabs: bottom |
| 88 |
$tab-bottom-padding = $tab-top-padding; |
| 89 |
|
| 90 |
// tabs: left |
| 91 |
$tab-left-padding = $tab-padding * 2 $tab-padding * 3; |
| 92 |
|
| 93 |
// tabs: right |
| 94 |
$tab-right-padding = $tab-left-padding; |
| 95 |
|
| 96 |
// nested tab container |
| 97 |
$nestedtab-spacing = $padding; |
| 98 |
$nestedtab-padding = $tab-padding $tab-padding * 2; |
| 99 |
$nestedtab-border-color = transparent; |
| 100 |
$nestedtab-border-radius = $border-radius; |
| 101 |
|
| 102 |
// normal |
| 103 |
$nestedtab-text-color = $theme-base; |
| 104 |
|
| 105 |
// hover |
| 106 |
$nestedtab-hover-background-color = $tab-hover-background-color; |
| 107 |
|
| 108 |
// active |
| 109 |
$nestedtab-active-text-color = $theme-base; |
| 110 |
$nestedtab-active-background-color = $tab-active-background-color; |
| 111 |
|
| 112 |
// checked |
| 113 |
$nestedtab-checked-background-color = $theme-base; |
| 114 |
$nestedtab-checked-text-color = $theme-base-color; |
| 115 |
|
| 116 |
/* AccordionContainer */ |
| 117 |
|
| 118 |
$accordion-spacing = 0; // space between accordion panes; minimum value is 0 |
| 119 |
$accordion-border-color = $border-color; |
| 120 |
$accordion-border-radius = $border-radius; |
| 121 |
$accordion-background-color = $theme-base-color; |
| 122 |
|
| 123 |
// accordion title bar |
| 124 |
// normal, hover and active status styles are inherited from "form/Button" |
| 125 |
|
| 126 |
// checked |
| 127 |
$accordion-title-bar-checked-background-color = $theme-base; |
| 128 |
$accordion-title-bar-checked-text-color = $theme-base-color; |
| 129 |
|
| 130 |
// content pane |
| 131 |
$accordion-content-border-color = $accordion-border-color; |
| 132 |
$accordion-content-background-color = $theme-base-color; |
| 133 |
|
| 134 |
// icons |
| 135 |
// uses common vars directly |