source: branches/testFACT++branch/dim/WebDID/ext-4.1.1a/resources/themes/stylesheets/neptune/default/variables/_grid.scss

Last change on this file was 14939, checked in by tbretz, 12 years ago
Added WebDID from v20r5
File size: 5.2 KB
Line 
1// ===============================
2// ========= GRID BASE ===========
3// ===============================
4$grid-base-color: $neutral-color !default;
5$grid-base-content-color: $content-color !default;
6
7// ===============================
8// ========= GRID HEADER =========
9// ===============================
10$grid-header-background-color: $content-color;
11$grid-header-background-gradient: flat !default;
12$grid-header-border-color: #EAEAEA !default;
13$grid-header-over-background-color: $mixed-color !default;
14$grid-header-over-border-color: darken($grid-header-over-background-color, 20%) !default;
15$grid-header-over-background-gradient: $grid-header-background-gradient !default;
16$grid-header-padding: 4px 6px !default;
17$grid-header-trigger-height: 22px !default; // Deprecated
18$grid-header-trigger-width: 14px !default; // Deprecated
19$grid-header-color: #606060 !default;//color-by-background($grid-header-background-color) !default;
20
21// ===============================
22// ========= GRID ROWS ===========
23// ===============================
24$grid-row-height: 24px !default;
25$grid-row-cell-color: null !default;
26$grid-row-cell-font: normal $font-size-small $font-family !default;
27$grid-row-padding: 0 1px 0 2px !default;
28
29$grid-row-cell-font-size: ceil($font-size * .9) !default;
30$grid-row-cell-line-height: $grid-row-cell-font-size + 4 !default;
31$grid-row-cell-font: normal #{$grid-row-cell-font-size}/#{$grid-row-cell-line-height} $font-family !default;
32$grid-row-padding: 0 1px !default;
33
34//row wrap
35$grid-row-wrap-border-color: darken($grid-base-content-color, 5%) !default;
36$grid-row-wrap-border-width: 0 !default;
37$grid-row-wrap-border-style: solid !default;
38
39//row body
40$grid-row-body-font: normal $font-size-small $font-family !default;
41$grid-row-body-padding: 4px !default;
42
43//row cell
44$grid-row-cell-background: $grid-base-content-color !default;
45$grid-row-cell-border-color: $grid-row-wrap-border-color !default;
46$grid-row-cell-border-style: solid !default;
47$grid-row-cell-border-width: 0 !default;
48
49//row cell alt
50$grid-row-cell-alt-background: $neutral-light-color !default; //$mixed-color !default;
51
52//row cell over
53$grid-row-cell-over-background-color: $base-light-color !default;//lighten($base-color, 20%) !default;
54$grid-row-cell-over-border-color: transparent !default; // Deprecated
55$grid-row-cell-over-background-gradient: $base-gradient !default;
56$grid-row-cell-over-color: color-by-background(darken($grid-row-cell-over-background-color, 20%), 80%);
57
58//row cell selected
59$grid-row-cell-selected-border-style: solid !default; // Deprecated
60$grid-row-cell-selected-background-color: $base-dark-color !default; //lighten($base-color, 15%) !default;
61$grid-row-cell-selected-border-color: lighten($base-color, 5%) !default;
62$grid-row-cell-selected-color: color-by-background($base-color, 80%);
63
64//row cell focus
65$grid-row-cell-focus-border-color: adjust-color($neutral-color, $hue: 0deg, $saturation: 0%, $lightness: -6.667%) !default;
66$grid-row-cell-focus-background-color: adjust-color($neutral-color, $hue: 0deg, $saturation: 0%, $lightness: 0.392%) !default;
67/*$grid-row-cell-focus-background-gradient: 'grid-row-over' !default;*/
68$grid-row-special-background-gradient: $base-gradient !default;
69
70//standard cells
71$grid-cell-font: normal $font-size-small $ui-font-family !default;
72$grid-cell-inner-padding: 6px 8px !default;
73
74$grid-cell-inner-padding-top: 2px !default;
75$grid-cell-inner-padding-horizontal: 6px !default;
76$grid-cell-inner-padding-bottom: 3px !default;
77
78//special cell
79$grid-cell-special-over-background-color: $grid-row-cell-over-border-color !default;
80/*$grid-cell-special-background-gradient: 'grid-cell-special';*/
81$grid-row-cell-special-background-gradient: $base-gradient;
82
83//cell with col lines
84$grid-cell-with-col-lines-border-color: #E0E3E6 !default;// adjust-color($base-color, $hue: 0deg, $saturation: -55.556%, $lightness: -2.549%) !default;
85
86// ===============================
87// ======== GROUPED GRID =========
88// ===============================
89$grid-grouped-header-background-color: $neutral-color !default;
90$grid-grouped-header-padding: 6px 0 0 0;
91
92$grid-grouped-title-color: color-by-background($grid-grouped-header-background-color);
93$grid-grouped-title-font: bold $font-size $font-family;
94$grid-grouped-title-padding: 5px 5px 5px 17px;
95
96// ===============================
97// ========= EDITOR ==========
98// ===============================
99$grid-editor-line-height: $grid-row-height - 5 !default;
100$grid-editor-font: normal #{$grid-row-cell-font-size}/#{$grid-editor-line-height} $font-family !default;
101
102// ===============================
103// ========= ROW EDITOR ==========
104// ===============================
105$grid-row-editor-background-color: adjust-color($base-color, $hue: 1deg, $saturation: 11%, $lightness: 11%) !default;
106$grid-row-editor-border-color: $panel-border-color !default;
107$grid-row-editor-border-width: 1px !default;
108$grid-row-editor-border: $grid-row-editor-border-width solid $grid-row-editor-border-color !important;
109
110$grid-row-editor-field-padding-horizontal: 2px !default;
111$grid-row-editor-checkbox-padding-top: 2px !default;
112
113// ===============================
114// ========= CELL EDITOR =========
115// ===============================
116$grid-cell-editor-field-padding-horizontal: 4px !default;
117$grid-cell-editor-checkbox-padding-top: 3px !default;
Note: See TracBrowser for help on using the repository browser.