commit/galaxy-central: 2 new changesets
2 new commits in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/0c654a26ef0f/ changeset: 0c654a26ef0f user: james_taylor date: 2012-07-20 22:43:13 summary: Add bootstrap transition to bootstrap.js, makes animations much more tolerable affected #: 1 file diff -r dc5ab5e987e483647148afde42f3f257a557c742 -r 0c654a26ef0f0c0da616aefef2e3c3d25f833b55 static/scripts/bootstrap.js --- a/static/scripts/bootstrap.js +++ b/static/scripts/bootstrap.js @@ -1,3 +1,65 @@ +/* =================================================== + * bootstrap-transition.js v2.0.4 + * http://twitter.github.com/bootstrap/javascript.html#transitions + * =================================================== + * Copyright 2012 Twitter, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ========================================================== */ + + +!function ($) { + + $(function () { + + "use strict"; // jshint ;_; + + + /* CSS TRANSITION SUPPORT (http://www.modernizr.com/) + * ======================================================= */ + + $.support.transition = (function () { + + var transitionEnd = (function () { + + var el = document.createElement('bootstrap') + , transEndEventNames = { + 'WebkitTransition' : 'webkitTransitionEnd' + , 'MozTransition' : 'transitionend' + , 'OTransition' : 'oTransitionEnd' + , 'msTransition' : 'MSTransitionEnd' + , 'transition' : 'transitionend' + } + , name + + for (name in transEndEventNames){ + if (el.style[name] !== undefined) { + return transEndEventNames[name] + } + } + + }()) + + return transitionEnd && { + end: transitionEnd + } + + })() + + }) + +}(window.jQuery); + /* ======================================================== * bootstrap-tab.js v2.0.4 * http://twitter.github.com/bootstrap/javascript.html#tabs https://bitbucket.org/galaxy/galaxy-central/changeset/4c22a2fbf25a/ changeset: 4c22a2fbf25a user: james_taylor date: 2012-07-20 22:47:58 summary: style: Increase z-index of top nav tabs so the are over the brand when the window is narrow affected #: 2 files diff -r 0c654a26ef0f0c0da616aefef2e3c3d25f833b55 -r 4c22a2fbf25a8ee05d870dcebe9f7b729fa22f07 static/june_2007_style/base.less --- a/static/june_2007_style/base.less +++ b/static/june_2007_style/base.less @@ -417,6 +417,11 @@ } */ + .nav { + z-index: 10000; + background-color: @masthead_bg; + } + .nav > li > a { // Override height of navbar links padding: 6px 10px 8px; diff -r 0c654a26ef0f0c0da616aefef2e3c3d25f833b55 -r 4c22a2fbf25a8ee05d870dcebe9f7b729fa22f07 static/june_2007_style/blue/base.css --- a/static/june_2007_style/blue/base.css +++ b/static/june_2007_style/blue/base.css @@ -667,6 +667,7 @@ #masthead .navbar-link{color:#999999;}#masthead .navbar-link:hover{color:#ffffff;} #masthead .btn,#masthead .btn-group{margin-top:1px;} #masthead .btn-group .btn{margin:0;} +#masthead .nav{z-index:10000;background-color:#2c3143;} #masthead .nav>li>a{padding:6px 10px 8px;cursor:pointer;}#masthead .nav>li>a:hover{color:gold;} #masthead .dropdown-menu a,#masthead .dropdown-menu a:hover{text-decoration:none;} #masthead .title{position:absolute;left:0;top:0;font-family:verdana;font-weight:bold;font-size:20px;line-height:1;color:white;padding:5px 20px 12px;margin-left:-15px;z-index:2000;}#masthead .title img{display:inline;width:26px;vertical-align:top;} Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
Bitbucket