123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>The source code</title>
- <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
- <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
- <style type="text/css">
- .highlight { display: block; background-color: #ddd; }
- </style>
- <script type="text/javascript">
- function highlight() {
- document.getElementById(location.hash.replace(/#/, "")).className = "highlight";
- }
- </script>
- </head>
- <body onload="prettyPrint(); highlight();">
- <pre class="prettyprint lang-js">@mixin extjs-layout {
- /*
- * Dock Layouts
- * @todo move this somewhere else?
- */
- .#{$prefix}docked {
- position: absolute !important;
- z-index: 1;
- }
- .#{$prefix}docked-top {
- border-bottom-width: 0 !important;
- }
- .#{$prefix}docked-bottom {
- border-top-width: 0 !important;
- }
- .#{$prefix}docked-left {
- border-right-width: 0 !important;
- }
- .#{$prefix}docked-right {
- border-left-width: 0 !important;
- }
- .#{$prefix}docked-noborder-top {
- border-top-width: 0 !important;
- }
- .#{$prefix}docked-noborder-right {
- border-right-width: 0 !important;
- }
- .#{$prefix}docked-noborder-bottom {
- border-bottom-width: 0 !important;
- }
- .#{$prefix}docked-noborder-left {
- border-left-width: 0 !important;
- }
- .#{$prefix}box-inner {
- overflow:hidden;
- zoom:1;
- position:relative;
- left:0;
- top:0;
- }
- .#{$prefix}box-item {
- position:absolute !important;
- left:0;
- top:0;
- }
- .#{$prefix}rtl .#{$prefix}box-item {
- right: 0;
- left: auto;
- }
- .#{$prefix}box-layout-ct,
- .#{$prefix}border-layout-ct {
- overflow: hidden;
- zoom: 1;
- }
- .#{$prefix}border-layout-ct {
- background-color: $border-layout-ct-background;
- position: relative;
- }
- .#{$prefix}overflow-hidden {
- overflow:hidden !important;
- }
- .#{$prefix}inline-children > * {
- display: inline-block !important;
- }
- .#{$prefix}abs-layout-ct {
- position: relative;
- }
- .#{$prefix}abs-layout-item {
- position: absolute !important;
- }
- .#{$prefix}fit-item {
- position: relative;
- }
- .#{$prefix}border-region-slide-in {
- z-index: 5;
- }
- .#{$prefix}region-collapsed-placeholder {
- z-index: 4;
- }
- .#{$prefix}accordion-hd .#{$prefix}panel-header-text {
- color: $accordion-header-color;
- font-weight: normal;
- }
- .#{$prefix}accordion-hd {
- .#{$prefix}tool-collapse-top,
- .#{$prefix}tool-collapse-right,
- .#{$prefix}tool-collapse-bottom,
- .#{$prefix}tool-collapse-left {
- background-position: 0 -255px;
- }
- .#{$prefix}tool-expand-top,
- .#{$prefix}tool-expand-right,
- .#{$prefix}tool-expand-bottom,
- .#{$prefix}tool-expand-left {
- background-position: 0 -240px;
- }
- .#{$prefix}tool-over {
- .#{$prefix}tool-collapse-top,
- .#{$prefix}tool-collapse-right,
- .#{$prefix}tool-collapse-bottom,
- .#{$prefix}tool-collapse-left {
- background-position: -15px -255px;
- }
- }
- .#{$prefix}tool-over {
- .#{$prefix}tool-expand-top,
- .#{$prefix}tool-expand-right,
- .#{$prefix}tool-expand-bottom,
- .#{$prefix}tool-expand-left {
- background-position: -15px -240px;
- }
- }
- background: $accordion-header-background-color !important;
- @include single-box-shadow($accordion-header-background-color, 0, 0, 0, 0, true);
- }
- .#{$prefix}accordion-hd {
- border-width: 1px 0 1px 0 !important;
- padding: 4px 5px 5px 5px;
- border-top-color: $panel-header-inner-border-color !important;
- }
- .#{$prefix}accordion-body {
- border-width: 0 !important;
- }
- .#{$prefix}accordion-hd-sibling-expanded {
- border-top-color: $panel-border-color !important;
- @include single-box-shadow($panel-header-inner-border-color, 0, 1px, 0, 0, true);
- }
- .#{$prefix}accordion-hd-last-collapsed {
- border-bottom-color: $accordion-header-background-color !important;
- }
- .#{$prefix}frame-tl,
- .#{$prefix}frame-tr,
- .#{$prefix}frame-tc,
- .#{$prefix}frame-bl,
- .#{$prefix}frame-br,
- .#{$prefix}frame-bc {
- overflow: hidden;
- background-repeat: no-repeat;
- }
- .#{$prefix}frame-tc,
- .#{$prefix}frame-bc {
- background-repeat: repeat-x;
- }
- .#{$prefix}frame-mc {
- position: relative;
- background-repeat: repeat-x;
- overflow: hidden;
- }
- // Classes for horizontal Box layout scroller.
- // Uses the *TAB* scroller image because it's all we have.
- // This will not work well in other cases
- .#{$prefix}box-scroller-left {
- float: left;
- height: 100%;
- z-index: 5;
- .#{$prefix}toolbar-scroll-left,
- .#{$prefix}tabbar-scroll-left {
- width: 18px;
- position: relative;
- cursor: pointer;
- height: $tab-height;
- background: transparent no-repeat -18px 0;
- background-image: theme-background-image($theme-name, 'tab-bar/scroll-left.gif');
- }
- .#{$prefix}toolbar-scroll-left-hover {
- background-position: 0 0;
- }
- .#{$prefix}toolbar-scroll-left-disabled,
- .#{$prefix}tabbar-scroll-left-disabled {
- background-position: -18px 0;
- @include opacity(.5);
- cursor:default;
- }
- .#{$prefix}toolbar-scroll-left {
- background-image: theme-background-image($theme-name, 'toolbar/scroll-left.gif');
- background-position: -14px 0;
- }
- .#{$prefix}toolbar-scroll-left-hover {
- background-position: 0 0;
- }
- .#{$prefix}toolbar-scroll-left-disabled {
- background-position: -14px 0;
- }
- .#{$prefix}toolbar-scroll-left {
- width: 14px;
- height: 22px;
- border-bottom: 1px solid #8db2e3;
- }
- }
- .#{$prefix}horizontal-box-overflow-body {
- float: left;
- }
- .#{$prefix}box-scroller-right {
- float: right;
- height: 100%;
- z-index: 5;
- .#{$prefix}toolbar-scroll-right,
- .#{$prefix}tabbar-scroll-right {
- width: 18px;
- position: relative;
- cursor: pointer;
- height: $tab-height;
- background: transparent no-repeat 0 0;
- background-image: theme-background-image($theme-name, 'tab-bar/scroll-right.gif');
- }
- .#{$prefix}toolbar-scroll-right-hover {
- background-position: -18px 0;
- }
- .#{$prefix}toolbar-scroll-right-disabled,
- .#{$prefix}tabbar-scroll-right-disabled {
- background-position: 0 0;
- @include opacity(.5);
- cursor:default;
- }
- .#{$prefix}toolbar-scroll-right {
- background-image: theme-background-image($theme-name, 'toolbar/scroll-right.gif');
- }
- .#{$prefix}toolbar-scroll-right-hover {
- background-position: -14px 0;
- }
- .#{$prefix}toolbar-scroll-right-disabled {
- background-position: 0 0;
- }
- .#{$prefix}toolbar-scroll-right {
- width: 14px;
- height: 22px;
- border-bottom: 1px solid #8db2e3;
- }
- }
- // Classes for vertical Box layout scroller
- .#{$prefix}box-scroller-top {
- .#{$prefix}box-scroller {
- line-height: 0;
- font-size: 0;
- }
- .#{$prefix}menu-scroll-top {
- background: transparent no-repeat center center;
- background-image: theme-background-image($theme-name, 'layout/mini-top.gif');
- height: 8px;
- cursor: pointer;
- }
- }
- .#{$prefix}box-scroller-bottom {
- .#{$prefix}box-scroller {
- line-height: 0;
- font-size: 0;
- }
- .#{$prefix}menu-scroll-bottom {
- background: transparent no-repeat center center;
- background-image: theme-background-image($theme-name, 'layout/mini-bottom.gif');
- height: 8px;
- cursor: pointer;
- }
- }
- .#{$prefix}box-menu-right {
- float: right;
- padding-right: $toolbar-horizontal-spacing;
- }
- .#{$prefix}column {
- float: left;
- }
- @if $include-ie {
- .#{$prefix}ie6 .#{$prefix}column {
- display: inline; /*prevent IE6 double-margin bug*/
- }
- .#{$prefix}quirks .#{$prefix}ie .#{$prefix}form-layout-table, .#{$prefix}quirks .#{$prefix}ie .#{$prefix}form-layout-table tbody tr.#{$prefix}form-item {
- position: relative;
- }
- }
- }</pre>
- </body>
- </html>
|