Loading template/app/Application.js +3 −3 Original line number Diff line number Diff line Loading @@ -46,9 +46,9 @@ Ext.define('Docs.Application', { Docs.initEventTracking(); } // setInterval(function(){ // Ext.DomQuery.select('link')[4].href = "resources/css/viewport.css?" + Math.ceil(Math.random() * 100000000) // }, 1000) setInterval(function(){ Ext.DomQuery.select('link')[4].href = "resources/css/viewport.css?" + Math.ceil(Math.random() * 100000000) }, 1000) } }); template/app/controller/Tabs.js +3 −3 Original line number Diff line number Diff line Loading @@ -79,13 +79,13 @@ Ext.define('Docs.controller.Tabs', { cmp.el.addListener('mouseover', function(event, el) { Ext.get(el).addCls('ovr'); }, this, { delegate: '.icn' delegate: '.close' }); cmp.el.addListener('mouseout', function(event, el) { Ext.get(el).removeCls('ovr'); }, this, { delegate: '.icn' delegate: '.close' }); cmp.el.addListener('click', function(event, el) { Loading @@ -104,7 +104,7 @@ Ext.define('Docs.controller.Tabs', { } }); }, this, { delegate: '.icn', delegate: '.close', preventDefault: true }); }, Loading template/app/view/Tabs.js +2 −1 Original line number Diff line number Diff line Loading @@ -50,8 +50,9 @@ Ext.define('Docs.view.Tabs', { '<div class="doctab" style="visibility: hidden">', '<div class="l"></div>', '<div class="m">', '<a class="icn {iconCls}" href="#"> </a>', '<span class="icn {iconCls}"> </span>', '<a class="tabUrl" href="{href}">{text}</a>', '<a class="close" href="#"> </a>', '</div>', '<div class="r"></div>', '</div>' Loading template/resources/sass/viewport.scss +19 −9 Original line number Diff line number Diff line Loading @@ -812,7 +812,8 @@ a { } .m { z-index: 5; padding: 6px 10px 0 6px; position: relative; padding: 6px 3px 0 6px; margin: 0 7px; background: url(../images/tab-m.png) repeat-x; height: 29px; Loading @@ -822,6 +823,7 @@ a { font-family: $docs-font; font-weight: bold; font-size: 11px; span, a { padding-bottom: 5px; line-height: 16px; Loading @@ -829,20 +831,28 @@ a { color: #2e3841; white-space: nowrap; overflow: hidden; float: left; } a.docClass { padding-left: 5px; a.tabUrl { padding: 0 14px 0 17px; } a.icn { span.icn { display: block; position: absolute; left: 3px; padding-left: 15px; padding-bottom: 0; float: left; } a.icn.close { background: url(../images/x122.png) no-repeat 2px -14px !important; } a.icn.close.ovr { background: url(../images/x122.png) no-repeat 2px 2px !important; a.close { position: absolute; width: 11px; height: 11px; top: 8px; right: 3px;; background: url(../images/tab-c.png) no-repeat 0 2px !important; } a.close.ovr { background: url(../images/tab-c.png) no-repeat 0 -10px !important; } } } Loading Loading
template/app/Application.js +3 −3 Original line number Diff line number Diff line Loading @@ -46,9 +46,9 @@ Ext.define('Docs.Application', { Docs.initEventTracking(); } // setInterval(function(){ // Ext.DomQuery.select('link')[4].href = "resources/css/viewport.css?" + Math.ceil(Math.random() * 100000000) // }, 1000) setInterval(function(){ Ext.DomQuery.select('link')[4].href = "resources/css/viewport.css?" + Math.ceil(Math.random() * 100000000) }, 1000) } });
template/app/controller/Tabs.js +3 −3 Original line number Diff line number Diff line Loading @@ -79,13 +79,13 @@ Ext.define('Docs.controller.Tabs', { cmp.el.addListener('mouseover', function(event, el) { Ext.get(el).addCls('ovr'); }, this, { delegate: '.icn' delegate: '.close' }); cmp.el.addListener('mouseout', function(event, el) { Ext.get(el).removeCls('ovr'); }, this, { delegate: '.icn' delegate: '.close' }); cmp.el.addListener('click', function(event, el) { Loading @@ -104,7 +104,7 @@ Ext.define('Docs.controller.Tabs', { } }); }, this, { delegate: '.icn', delegate: '.close', preventDefault: true }); }, Loading
template/app/view/Tabs.js +2 −1 Original line number Diff line number Diff line Loading @@ -50,8 +50,9 @@ Ext.define('Docs.view.Tabs', { '<div class="doctab" style="visibility: hidden">', '<div class="l"></div>', '<div class="m">', '<a class="icn {iconCls}" href="#"> </a>', '<span class="icn {iconCls}"> </span>', '<a class="tabUrl" href="{href}">{text}</a>', '<a class="close" href="#"> </a>', '</div>', '<div class="r"></div>', '</div>' Loading
template/resources/sass/viewport.scss +19 −9 Original line number Diff line number Diff line Loading @@ -812,7 +812,8 @@ a { } .m { z-index: 5; padding: 6px 10px 0 6px; position: relative; padding: 6px 3px 0 6px; margin: 0 7px; background: url(../images/tab-m.png) repeat-x; height: 29px; Loading @@ -822,6 +823,7 @@ a { font-family: $docs-font; font-weight: bold; font-size: 11px; span, a { padding-bottom: 5px; line-height: 16px; Loading @@ -829,20 +831,28 @@ a { color: #2e3841; white-space: nowrap; overflow: hidden; float: left; } a.docClass { padding-left: 5px; a.tabUrl { padding: 0 14px 0 17px; } a.icn { span.icn { display: block; position: absolute; left: 3px; padding-left: 15px; padding-bottom: 0; float: left; } a.icn.close { background: url(../images/x122.png) no-repeat 2px -14px !important; } a.icn.close.ovr { background: url(../images/x122.png) no-repeat 2px 2px !important; a.close { position: absolute; width: 11px; height: 11px; top: 8px; right: 3px;; background: url(../images/tab-c.png) no-repeat 0 2px !important; } a.close.ovr { background: url(../images/tab-c.png) no-repeat 0 -10px !important; } } } Loading