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

Last change on this file was 14939, checked in by tbretz, 12 years ago
Added WebDID from v20r5
File size: 3.4 KB
Line 
1@mixin extjs-reset-extras {
2 .#{$prefix}border-box {
3 .#{$prefix}reset {
4 //tab.scss
5 .#{$prefix}tab-default-top {
6 height: $tab-height + top($tabbar-top-strip-border-width);
7 }
8 .#{$prefix}tab-default-bottom {
9 height: $tab-height + bottom($tabbar-bottom-strip-border-width);
10 }
11
12 //qtip.scss
13 .#{$prefix}tip-anchor {
14 width: 10px;
15 height: 10px;
16 }
17
18 //field.scss
19 .#{$prefix}form-text {
20 height: $form-field-height;
21 }
22
23 textarea.#{$prefix}form-field {
24 height: auto;
25 }
26
27 .#{$prefix}field-default-toolbar .#{$prefix}form-text {
28 height: $form-toolbar-field-height;
29 }
30
31 //triggerfield.scss
32 .#{$prefix}form-trigger {
33 height: $form-trigger-height;
34 }
35
36 .#{$prefix}field-default-toolbar .#{$prefix}form-trigger {
37 height: $form-toolbar-trigger-height;
38 }
39
40 //grid.scss
41 @if $include-ie or $compile-all {
42 &.#{$prefix}ie9 {
43 .#{$prefix}grid-header-ct {
44 padding-left: 1px;
45 }
46 }
47 }
48 }
49 }
50
51 .#{$prefix}webkit {
52 .#{$prefix}reset {
53 //form.scss
54 *:focus {
55 @extend .outline-none;
56 }
57
58 //field
59 .#{$prefix}form-empty-field {
60 line-height: 15px;
61 }
62
63 //fieldset
64 .#{$prefix}fieldset-header {
65 padding-top: 1px;
66 }
67 }
68 }
69
70 /* Top Tabs */
71 @include tab-bar-top-reset(
72 "tab-bar-top",
73 "tab-bar-body",
74 "tab-bar-strip",
75 $tabbar-top-body-padding,
76 $tabbar-top-body-border-width,
77 $tabbar-top-strip-border-width,
78 $tabbar-strip-height
79 );
80 @include tab-bar-top-reset(
81 "tab-bar-top",
82 "tab-bar-body-default-plain",
83 "tab-bar-strip-default-plain",
84 $tabbar-top-plain-body-padding,
85 $tabbar-top-plain-body-border-width,
86 $tabbar-top-strip-border-width,
87 $tabbar-strip-height
88 );
89
90 /* Bottom Tabs */
91 @include tab-bar-bottom-reset(
92 "tab-bar-bottom",
93 "tab-bar-body",
94 "tab-bar-strip",
95 $tabbar-bottom-body-padding,
96 $tabbar-bottom-body-border-width,
97 $tabbar-bottom-strip-border-width,
98 $tabbar-strip-height
99 );
100
101 @include tab-bar-bottom-reset(
102 "tab-bar-bottom",
103 "tab-bar-body-default-plain",
104 "tab-bar-strip-default-plain",
105 $tabbar-bottom-plain-body-padding,
106 $tabbar-bottom-plain-body-border-width,
107 $tabbar-bottom-strip-border-width,
108 $tabbar-strip-height
109 );
110}
111
112@mixin tab-bar-top-reset($toolbarCls, $bodyCls, $stripCls, $body-padding, $body-border-width, $strip-border-width, $strip-height) {
113 .#{$prefix}border-box {
114 .#{$prefix}reset {
115 .#{$prefix}#{$toolbarCls} {
116 .#{$prefix}#{$bodyCls} {
117 height: $tab-height + vertical($body-border-width) + vertical($body-padding);
118 }
119
120 .#{$prefix}#{$stripCls} {
121 height: $strip-height;
122 }
123 }
124 }
125 }
126}
127
128@mixin tab-bar-bottom-reset($toolbarCls, $bodyCls, $stripCls, $body-padding, $body-border-width, $strip-border-width, $strip-height) {
129 .#{$prefix}border-box {
130 .#{$prefix}reset {
131 .#{$prefix}#{$toolbarCls} {
132 .#{$prefix}#{$bodyCls} {
133 height: $tab-height + vertical($body-border-width) + vertical($body-padding);
134 }
135
136 .#{$prefix}#{$stripCls} {
137 height: $strip-height;
138 }
139 }
140 }
141 }
142}
Note: See TracBrowser for help on using the repository browser.