diff --git a/app/app.coffee b/app/app.coffee index c6907287..5618e4bf 100644 --- a/app/app.coffee +++ b/app/app.coffee @@ -7,13 +7,11 @@ `import label from 'travis/helpers/label'` `import travisField from 'travis/helpers/travis-field'` `import travisErrors from 'travis/helpers/travis-errors'` -`import tipsy from 'travis/helpers/tipsy'` #`import input from 'travis/helpers/input'` `import filterInput from 'travis/helpers/filter-input'` Ember.HTMLBars._registerHelper('label', label) Ember.HTMLBars._registerHelper('travis-field', travisField) Ember.HTMLBars._registerHelper('travis-errors', travisErrors) -Ember.Handlebars.registerHelper('tipsy', tipsy) #Ember.Handlebars.registerHelper('input', input) Ember.HTMLBars._registerHelper('filter-input', filterInput) Ember.Handlebars.registerBoundHelper('mb', mb) diff --git a/app/helpers/tipsy.coffee b/app/helpers/tipsy.coffee deleted file mode 100644 index 08c58e38..00000000 --- a/app/helpers/tipsy.coffee +++ /dev/null @@ -1,7 +0,0 @@ -`import { safe } from 'travis/utils/helpers'` -`import Ember from "ember"` - -helper = Ember.Handlebars.makeBoundHelper (text, tip) -> - safe '' + text + '' - -`export default helper` diff --git a/app/styles/app.scss b/app/styles/app.scss index 2f850ae6..955a8d92 100644 --- a/app/styles/app.scss +++ b/app/styles/app.scss @@ -36,7 +36,6 @@ // @import "app/right"; @import "app/settings"; @import "app/tabs"; -@import "app/tipsy"; @import "app/components/travis-switch"; @import "app/components/sync-button"; diff --git a/app/styles/app/forms.scss b/app/styles/app/forms.scss index 8d48d411..51dbcb31 100644 --- a/app/styles/app/forms.scss +++ b/app/styles/app/forms.scss @@ -197,8 +197,5 @@ .error, div.error > input { border-color: #c00; } - .tipsy { - margin-left: 20px; - } } } diff --git a/app/styles/app/tipsy.scss b/app/styles/app/tipsy.scss deleted file mode 100644 index 806bc5da..00000000 --- a/app/styles/app/tipsy.scss +++ /dev/null @@ -1,25 +0,0 @@ -.tipsy { font-size: 10px; position: absolute; padding: 5px; z-index: 100000; } - .tipsy-inner { background-color: #000; color: #FFF; max-width: 200px; padding: 5px 8px 4px 8px; text-align: center; } - - /* Rounded corners */ - .tipsy-inner { border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; } - - /* Uncomment for shadow */ - /*.tipsy-inner { box-shadow: 0 0 5px #000000; -webkit-box-shadow: 0 0 5px #000000; -moz-box-shadow: 0 0 5px #000000; }*/ - - .tipsy-arrow { position: absolute; width: 0; height: 0; line-height: 0; border: 5px dashed #000; } - - /* Rules to colour arrows */ - .tipsy-arrow-n { border-bottom-color: #000; } - .tipsy-arrow-s { border-top-color: #000; } - .tipsy-arrow-e { border-left-color: #000; } - .tipsy-arrow-w { border-right-color: #000; } - - .tipsy-n .tipsy-arrow { top: 0px; left: 50%; margin-left: -5px; border-bottom-style: solid; border-top: none; border-left-color: transparent; border-right-color: transparent; } - .tipsy-nw .tipsy-arrow { top: 0; left: 10px; border-bottom-style: solid; border-top: none; border-left-color: transparent; border-right-color: transparent;} - .tipsy-ne .tipsy-arrow { top: 0; right: 10px; border-bottom-style: solid; border-top: none; border-left-color: transparent; border-right-color: transparent;} - .tipsy-s .tipsy-arrow { bottom: 0; left: 50%; margin-left: -5px; border-top-style: solid; border-bottom: none; border-left-color: transparent; border-right-color: transparent; } - .tipsy-sw .tipsy-arrow { bottom: 0; left: 10px; border-top-style: solid; border-bottom: none; border-left-color: transparent; border-right-color: transparent; } - .tipsy-se .tipsy-arrow { bottom: 0; right: 10px; border-top-style: solid; border-bottom: none; border-left-color: transparent; border-right-color: transparent; } - .tipsy-e .tipsy-arrow { right: 0; top: 50%; margin-top: -5px; border-left-style: solid; border-right: none; border-top-color: transparent; border-bottom-color: transparent; } - .tipsy-w .tipsy-arrow { left: 0; top: 50%; margin-top: -5px; border-right-style: solid; border-left: none; border-top-color: transparent; border-bottom-color: transparent; }