Remove code specific to Internet Explorer 8
Internet Explorer 9 was released eight years ago. Besides that, we don't really support IE8 anyway, since we show a popup to IE8 users saying we don't support it, we haven't maintained the IE8-specific CSS file for years, and we don't test our JavaScript against IE8.
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
//= require respond.min
|
|
||||||
//= require rem.min
|
|
||||||
//= require number-polyfill.min
|
|
||||||
@@ -17,17 +17,12 @@ App.LegislationAnnotatable =
|
|||||||
return
|
return
|
||||||
|
|
||||||
highlight: (colour) ->
|
highlight: (colour) ->
|
||||||
if window.getSelection
|
|
||||||
# IE9 and non-IE
|
|
||||||
try
|
try
|
||||||
if !document.execCommand("BackColor", false, colour)
|
if !document.execCommand("BackColor", false, colour)
|
||||||
App.LegislationAnnotatable.makeEditableAndHighlight colour
|
App.LegislationAnnotatable.makeEditableAndHighlight colour
|
||||||
catch ex
|
catch ex
|
||||||
App.LegislationAnnotatable.makeEditableAndHighlight colour
|
App.LegislationAnnotatable.makeEditableAndHighlight colour
|
||||||
else if document.selection and document.selection.createRange
|
|
||||||
# IE <= 8 case
|
|
||||||
range = document.selection.createRange()
|
|
||||||
range.execCommand "BackColor", false, colour
|
|
||||||
return
|
return
|
||||||
|
|
||||||
remove_highlight: ->
|
remove_highlight: ->
|
||||||
|
|||||||
7
app/assets/javascripts/rem.min.js
vendored
7
app/assets/javascripts/rem.min.js
vendored
@@ -1,7 +0,0 @@
|
|||||||
/**
|
|
||||||
* Module: rem - v1.3.2
|
|
||||||
* Description: A polyfill to parse CSS links and rewrite pixel equivalents into head for non supporting browsers
|
|
||||||
* Date Built: 2014-07-02
|
|
||||||
* Copyright (c) 2014 | Chuck Carpenter <chuck.carpenter@me.com>,Lucas Serven <lserven@gmail.com>;
|
|
||||||
**/
|
|
||||||
!function(e){"use strict";var t=function(){var e=document.createElement("div");return e.style.cssText="font-size: 1rem;",/rem/.test(e.style.fontSize)},n=function(){for(var e=document.getElementsByTagName("link"),t=[],n=0;n<e.length;n++)"stylesheet"===e[n].rel.toLowerCase()&&null===e[n].getAttribute("data-norem")&&t.push(e[n].href);return t},r=function(){for(var e=0;e<h.length;e++)l(h[e],o)},o=function(e,t){if(p.push(e.responseText),v.push(t),v.length===h.length){for(var n=0;n<v.length;n++)a(p[n],v[n]);(h=m.slice(0)).length>0?(v=[],p=[],m=[],r()):i()}},a=function(e,t){for(var n,r=d(e).replace(/\/\*[\s\S]*?\*\//g,""),o=/[\w\d\s\-\/\\\[\]:,.'"*()<>+~%#^$_=|@]+\{[\w\d\s\-\/\\%#:!;,.'"*()]+\d*\.?\d+rem[\w\d\s\-\/\\%#:!;,.'"*()]*\}/g,a=r.match(o),i=/\d*\.?\d+rem/g,s=r.match(i),c=/(.*\/)/,l=c.exec(t)[0],u=/@import (?:url\()?['"]?([^'\)"]*)['"]?\)?[^;]*/gm;null!==(n=u.exec(e));)m.push(0===n[1].indexOf("/")?n[1]:l+n[1]);null!==a&&0!==a.length&&(f=f.concat(a),g=g.concat(s))},i=function(){for(var e=/[\w\d\s\-\/\\%#:,.'"*()]+\d*\.?\d+rem[\w\d\s\-\/\\%#:!,.'"*()]*[;}]/g,t=0;t<f.length;t++){u+=f[t].substr(0,f[t].indexOf("{")+1);for(var n=f[t].match(e),r=0;r<n.length;r++)u+=n[r],r===n.length-1&&"}"!==u[u.length-1]&&(u+="\n}")}s()},s=function(){for(var e=0;e<g.length;e++)y[e]=Math.round(parseFloat(g[e].substr(0,g[e].length-3)*w))+"px";c()},c=function(){for(var e=0;e<y.length;e++)y[e]&&(u=u.replace(g[e],y[e]));var t=document.createElement("style");t.setAttribute("type","text/css"),t.id="remReplace",document.getElementsByTagName("head")[0].appendChild(t),t.styleSheet?t.styleSheet.cssText=u:t.appendChild(document.createTextNode(u))},l=function(t,n){try{var r=e.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP")||new ActiveXObject("Msxml2.XMLHTTP"):new XMLHttpRequest;r.open("GET",t,!0),r.onreadystatechange=function(){4===r.readyState&&n(r,t)},r.send(null)}catch(o){if(e.XDomainRequest){var a=new XDomainRequest;a.open("get",t),a.onload=function(){n(a,t)},a.onerror=function(){return!1},a.send()}}},d=function(t){return e.matchMedia||e.msMatchMedia||(t=t.replace(/@media[\s\S]*?\}\s*\}/g,"")),t};if(!t()){var u="",h=n(),m=[],f=[],g=[],p=[],v=[],y=[],w="";w=function(){var e,t=document,n=t.documentElement,r=t.body||t.createElement("body"),o=!t.body,a=t.createElement("div"),i=r.style.fontSize;return o&&n.appendChild(r),a.style.cssText="width:1em; position:absolute; visibility:hidden; padding: 0;",r.style.fontSize="1em",r.appendChild(a),e=a.offsetWidth,o?n.removeChild(r):(r.removeChild(a),r.style.fontSize=i),e}(),r()}}(window);
|
|
||||||
6
app/assets/javascripts/respond.min.js
vendored
6
app/assets/javascripts/respond.min.js
vendored
@@ -1,6 +0,0 @@
|
|||||||
/*! Respond.js v1.4.2: min/max-width media query polyfill
|
|
||||||
* Copyright 2014 Scott Jehl
|
|
||||||
* Licensed under MIT
|
|
||||||
* http://j.mp/respondjs */
|
|
||||||
|
|
||||||
!function(a){"use strict";a.matchMedia=a.matchMedia||function(a){var b,c=a.documentElement,d=c.firstElementChild||c.firstChild,e=a.createElement("body"),f=a.createElement("div");return f.id="mq-test-1",f.style.cssText="position:absolute;top:-100em",e.style.background="none",e.appendChild(f),function(a){return f.innerHTML='­<style media="'+a+'"> #mq-test-1 { width: 42px; }</style>',c.insertBefore(e,d),b=42===f.offsetWidth,c.removeChild(e),{matches:b,media:a}}}(a.document)}(this),function(a){"use strict";function b(){v(!0)}var c={};a.respond=c,c.update=function(){};var d=[],e=function(){var b=!1;try{b=new a.XMLHttpRequest}catch(c){b=new a.ActiveXObject("Microsoft.XMLHTTP")}return function(){return b}}(),f=function(a,b){var c=e();c&&(c.open("GET",a,!0),c.onreadystatechange=function(){4!==c.readyState||200!==c.status&&304!==c.status||b(c.responseText)},4!==c.readyState&&c.send(null))},g=function(a){return a.replace(c.regex.minmaxwh,"").match(c.regex.other)};if(c.ajax=f,c.queue=d,c.unsupportedmq=g,c.regex={media:/@media[^\{]+\{([^\{\}]*\{[^\}\{]*\})+/gi,keyframes:/@(?:\-(?:o|moz|webkit)\-)?keyframes[^\{]+\{(?:[^\{\}]*\{[^\}\{]*\})+[^\}]*\}/gi,comments:/\/\*[^*]*\*+([^/][^*]*\*+)*\//gi,urls:/(url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g,findStyles:/@media *([^\{]+)\{([\S\s]+?)$/,only:/(only\s+)?([a-zA-Z]+)\s?/,minw:/\(\s*min\-width\s*:\s*(\s*[0-9\.]+)(px|em)\s*\)/,maxw:/\(\s*max\-width\s*:\s*(\s*[0-9\.]+)(px|em)\s*\)/,minmaxwh:/\(\s*m(in|ax)\-(height|width)\s*:\s*(\s*[0-9\.]+)(px|em)\s*\)/gi,other:/\([^\)]*\)/g},c.mediaQueriesSupported=a.matchMedia&&null!==a.matchMedia("only all")&&a.matchMedia("only all").matches,!c.mediaQueriesSupported){var h,i,j,k=a.document,l=k.documentElement,m=[],n=[],o=[],p={},q=30,r=k.getElementsByTagName("head")[0]||l,s=k.getElementsByTagName("base")[0],t=r.getElementsByTagName("link"),u=function(){var a,b=k.createElement("div"),c=k.body,d=l.style.fontSize,e=c&&c.style.fontSize,f=!1;return b.style.cssText="position:absolute;font-size:1em;width:1em",c||(c=f=k.createElement("body"),c.style.background="none"),l.style.fontSize="100%",c.style.fontSize="100%",c.appendChild(b),f&&l.insertBefore(c,l.firstChild),a=b.offsetWidth,f?l.removeChild(c):c.removeChild(b),l.style.fontSize=d,e&&(c.style.fontSize=e),a=j=parseFloat(a)},v=function(b){var c="clientWidth",d=l[c],e="CSS1Compat"===k.compatMode&&d||k.body[c]||d,f={},g=t[t.length-1],p=(new Date).getTime();if(b&&h&&q>p-h)return a.clearTimeout(i),i=a.setTimeout(v,q),void 0;h=p;for(var s in m)if(m.hasOwnProperty(s)){var w=m[s],x=w.minw,y=w.maxw,z=null===x,A=null===y,B="em";x&&(x=parseFloat(x)*(x.indexOf(B)>-1?j||u():1)),y&&(y=parseFloat(y)*(y.indexOf(B)>-1?j||u():1)),w.hasquery&&(z&&A||!(z||e>=x)||!(A||y>=e))||(f[w.media]||(f[w.media]=[]),f[w.media].push(n[w.rules]))}for(var C in o)o.hasOwnProperty(C)&&o[C]&&o[C].parentNode===r&&r.removeChild(o[C]);o.length=0;for(var D in f)if(f.hasOwnProperty(D)){var E=k.createElement("style"),F=f[D].join("\n");E.type="text/css",E.media=D,r.insertBefore(E,g.nextSibling),E.styleSheet?E.styleSheet.cssText=F:E.appendChild(k.createTextNode(F)),o.push(E)}},w=function(a,b,d){var e=a.replace(c.regex.comments,"").replace(c.regex.keyframes,"").match(c.regex.media),f=e&&e.length||0;b=b.substring(0,b.lastIndexOf("/"));var h=function(a){return a.replace(c.regex.urls,"$1"+b+"$2$3")},i=!f&&d;b.length&&(b+="/"),i&&(f=1);for(var j=0;f>j;j++){var k,l,o,p;i?(k=d,n.push(h(a))):(k=e[j].match(c.regex.findStyles)&&RegExp.$1,n.push(RegExp.$2&&h(RegExp.$2))),o=k.split(","),p=o.length;for(var q=0;p>q;q++)l=o[q],g(l)||m.push({media:l.split("(")[0].match(c.regex.only)&&RegExp.$2||"all",rules:n.length-1,hasquery:l.indexOf("(")>-1,minw:l.match(c.regex.minw)&&parseFloat(RegExp.$1)+(RegExp.$2||""),maxw:l.match(c.regex.maxw)&&parseFloat(RegExp.$1)+(RegExp.$2||"")})}v()},x=function(){if(d.length){var b=d.shift();f(b.href,function(c){w(c,b.href,b.media),p[b.href]=!0,a.setTimeout(function(){x()},0)})}},y=function(){for(var b=0;b<t.length;b++){var c=t[b],e=c.href,f=c.media,g=c.rel&&"stylesheet"===c.rel.toLowerCase();e&&g&&!p[e]&&(c.styleSheet&&c.styleSheet.rawCssText?(w(c.styleSheet.rawCssText,e,f),p[e]=!0):(!/^([a-zA-Z:]*\/\/)/.test(e)&&!s||e.replace(RegExp.$1,"").split("/")[0]===a.location.host)&&("//"===e.substring(0,2)&&(e=a.location.protocol+e),d.push({href:e,media:f})))}x()};y(),c.update=y,c.getEmValue=u,a.addEventListener?a.addEventListener("resize",b,!1):a.attachEvent&&a.attachEvent("onresize",b)}}(this);
|
|
||||||
@@ -8,11 +8,6 @@
|
|||||||
cursor: default;
|
cursor: default;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* workarounds */
|
|
||||||
* html .ui-autocomplete {
|
|
||||||
width: 1px;
|
|
||||||
} /* without this, the menu expands to 100% in IE6 */
|
|
||||||
|
|
||||||
/* Menu
|
/* Menu
|
||||||
----------------------------------*/
|
----------------------------------*/
|
||||||
.ui-menu {
|
.ui-menu {
|
||||||
|
|||||||
@@ -1,452 +0,0 @@
|
|||||||
// Stylesheet for Internet Explorer
|
|
||||||
//
|
|
||||||
// Table of Contents
|
|
||||||
// 01. Global styles
|
|
||||||
// 02. Admin
|
|
||||||
//
|
|
||||||
|
|
||||||
// 01. Global styles
|
|
||||||
// -----------------
|
|
||||||
|
|
||||||
*,
|
|
||||||
*::before,
|
|
||||||
*::after {
|
|
||||||
box-sizing: border-box !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.show-for-medium-down,
|
|
||||||
.show-for-medium,
|
|
||||||
.show-for-small {
|
|
||||||
display: none !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.show-for-large-up,
|
|
||||||
.hide-for-medium-down {
|
|
||||||
display: block !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.column,
|
|
||||||
.columns {
|
|
||||||
display: inline-block !important;
|
|
||||||
float: none !important;
|
|
||||||
box-sizing: border-box !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.small-1,
|
|
||||||
.row .small-1 {
|
|
||||||
width: 7.33333%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.small-2,
|
|
||||||
.row .small-2 {
|
|
||||||
width: 15.66667%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.small-3,
|
|
||||||
.row .small-3 {
|
|
||||||
width: 24%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.small-4,
|
|
||||||
.row .small-4 {
|
|
||||||
width: 32.33333%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.small-5,
|
|
||||||
.row .small-5 {
|
|
||||||
width: 40.66667%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.small-6,
|
|
||||||
.row .small-6 {
|
|
||||||
width: 49%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.small-7,
|
|
||||||
.row .small-7 {
|
|
||||||
width: 57.33333%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.small-8,
|
|
||||||
.row .small-8 {
|
|
||||||
width: 65.66667%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.small-9,
|
|
||||||
.row .small-9 {
|
|
||||||
width: 74%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.small-10,
|
|
||||||
.row .small-10 {
|
|
||||||
width: 82.33333%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.small-11,
|
|
||||||
.row .small-11 {
|
|
||||||
width: 90.66667%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.small-12,
|
|
||||||
.row .small-12 {
|
|
||||||
width: 99%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.medium-1,
|
|
||||||
.row .medium-1 {
|
|
||||||
width: 7.33333%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.medium-2,
|
|
||||||
.row .medium-2 {
|
|
||||||
width: 15.66667%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.medium-3,
|
|
||||||
.row .medium-3 {
|
|
||||||
width: 24%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.medium-4,
|
|
||||||
.row .medium-4 {
|
|
||||||
width: 32.33333%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.medium-5,
|
|
||||||
.row .medium-5 {
|
|
||||||
width: 40.66667%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.medium-6,
|
|
||||||
.row .medium-6 {
|
|
||||||
width: 49%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.medium-7,
|
|
||||||
.row .medium-7 {
|
|
||||||
width: 57.33333%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.medium-8,
|
|
||||||
.row .medium-8 {
|
|
||||||
width: 65.66667%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.medium-9,
|
|
||||||
.row .medium-9 {
|
|
||||||
width: 74%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.medium-10,
|
|
||||||
.row .medium-10 {
|
|
||||||
width: 82.33333%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.medium-11,
|
|
||||||
.row .medium-11 {
|
|
||||||
width: 90.66667%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.medium-12,
|
|
||||||
.row .medium-12 {
|
|
||||||
width: 99%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.large-1,
|
|
||||||
.row .large-1 {
|
|
||||||
width: 7.33333%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.large-2,
|
|
||||||
.row .large-2 {
|
|
||||||
width: 15.66667%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.large-3,
|
|
||||||
.row .large-3 {
|
|
||||||
width: 24%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.large-4,
|
|
||||||
.row .large-4 {
|
|
||||||
width: 32.33333%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.large-5,
|
|
||||||
.row .large-5 {
|
|
||||||
width: 40.66667%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.large-6,
|
|
||||||
.row .large-6 {
|
|
||||||
width: 49%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.large-7,
|
|
||||||
.row .large-7 {
|
|
||||||
width: 57.33333%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.large-8,
|
|
||||||
.row .large-8 {
|
|
||||||
width: 65.66667%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.large-9,
|
|
||||||
.row .large-9 {
|
|
||||||
width: 74%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.large-10,
|
|
||||||
.row .large-10 {
|
|
||||||
width: 82.33333%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.large-11,
|
|
||||||
.row .large-11 {
|
|
||||||
width: 90.66667%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.large-12,
|
|
||||||
.row .large-12 {
|
|
||||||
width: 99%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.row .small-offset-1 {
|
|
||||||
margin-left: 7.33333%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.row .small-offset-2 {
|
|
||||||
margin-left: 15.66667%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.row .small-offset-3 {
|
|
||||||
margin-left: 24%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.row .small-offset-4 {
|
|
||||||
margin-left: 32.33333%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.row .small-offset-5 {
|
|
||||||
margin-left: 40.66667%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.row .small-offset-6 {
|
|
||||||
margin-left: 49%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.row .small-offset-7 {
|
|
||||||
margin-left: 57.33333%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.row .small-offset-8 {
|
|
||||||
margin-left: 65.66667%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.row .small-offset-9 {
|
|
||||||
margin-left: 74%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.row .small-offset-10 {
|
|
||||||
margin-left: 82.33333%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.row .small-offset-11 {
|
|
||||||
margin-left: 90.66667%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.row .small-offset-12 {
|
|
||||||
margin-left: 99%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.row .medium-offset-1 {
|
|
||||||
margin-left: 7.33333%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.row .medium-offset-2 {
|
|
||||||
margin-left: 15.66667%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.row .medium-offset-3 {
|
|
||||||
margin-left: 24%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.row .medium-offset-4 {
|
|
||||||
margin-left: 32.33333%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.row .medium-offset-5 {
|
|
||||||
margin-left: 40.66667%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.row .medium-offset-6 {
|
|
||||||
margin-left: 49%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.row .medium-offset-7 {
|
|
||||||
margin-left: 57.33333%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.row .medium-offset-8 {
|
|
||||||
margin-left: 65.66667%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.row .medium-offset-9 {
|
|
||||||
margin-left: 74%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.row .medium-offset-10 {
|
|
||||||
margin-left: 82.33333%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.row .medium-offset-11 {
|
|
||||||
margin-left: 90.66667%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.row .medium-offset-12 {
|
|
||||||
margin-left: 99%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.row .large-offset-1 {
|
|
||||||
margin-left: 7.33333%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.row .large-offset-2 {
|
|
||||||
margin-left: 15.66667%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.row .large-offset-3 {
|
|
||||||
margin-left: 24%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.row .large-offset-4 {
|
|
||||||
margin-left: 32.33333%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.row .large-offset-5 {
|
|
||||||
margin-left: 40.66667%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.row .large-offset-6 {
|
|
||||||
margin-left: 49%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.row .large-offset-7 {
|
|
||||||
margin-left: 57.33333%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.row .large-offset-8 {
|
|
||||||
margin-left: 65.66667%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.row .large-offset-9 {
|
|
||||||
margin-left: 74%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.row .large-offset-10 {
|
|
||||||
margin-left: 82.33333%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.row .large-offset-11 {
|
|
||||||
margin-left: 90.66667%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.row .large-offset-12 {
|
|
||||||
margin-left: 99%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.top-bar {
|
|
||||||
clear: both !important;
|
|
||||||
height: 100px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.locale,
|
|
||||||
.external-links {
|
|
||||||
background: #002d50 !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.locale {
|
|
||||||
float: left !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.external-links {
|
|
||||||
color: #fff !important;
|
|
||||||
float: right !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.top-bar-title,
|
|
||||||
.top-bar-title a {
|
|
||||||
display: inline-block !important;
|
|
||||||
float: none !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.top-bar-title a {
|
|
||||||
line-height: 24px !important;
|
|
||||||
width: 100% !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.proposal .supports {
|
|
||||||
display: inline-block !important;
|
|
||||||
margin: 0 !important;
|
|
||||||
position: inherit !important;
|
|
||||||
|
|
||||||
&::after {
|
|
||||||
content: none !important;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
form {
|
|
||||||
|
|
||||||
input,
|
|
||||||
textarea {
|
|
||||||
height: 48px !important;
|
|
||||||
line-height: 48px !important;
|
|
||||||
margin-bottom: 24px !important;
|
|
||||||
width: 100% !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
[type="checkbox"],
|
|
||||||
[type="radio"] {
|
|
||||||
height: auto !important;
|
|
||||||
line-height: inherit !important;
|
|
||||||
width: auto !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
[type="radio"] {
|
|
||||||
width: 18px !important;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.subnavigation {
|
|
||||||
display: block;
|
|
||||||
height: 60px !important;
|
|
||||||
width: 100%;
|
|
||||||
|
|
||||||
ul li a {
|
|
||||||
margin-left: 10px !important;
|
|
||||||
margin-right: 10px !important;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.truncate {
|
|
||||||
background: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
// 02. Admin
|
|
||||||
// ---------
|
|
||||||
|
|
||||||
.admin form {
|
|
||||||
|
|
||||||
[type="text"],
|
|
||||||
textarea {
|
|
||||||
height: 48px !important;
|
|
||||||
line-height: 48px !important;
|
|
||||||
margin-bottom: 24px !important;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.admin-sidebar [class^="icon-"] {
|
|
||||||
padding-left: 12px !important;
|
|
||||||
padding-right: 12px !important;
|
|
||||||
}
|
|
||||||
@@ -5,9 +5,6 @@
|
|||||||
<%= render "layouts/tracking_data" %>
|
<%= render "layouts/tracking_data" %>
|
||||||
<%= render "layouts/meta_tags" %>
|
<%= render "layouts/meta_tags" %>
|
||||||
<%= content_for :canonical %>
|
<%= content_for :canonical %>
|
||||||
<!--[if lt IE 9]>
|
|
||||||
<%= stylesheet_link_tag "ie" %>
|
|
||||||
<![endif]-->
|
|
||||||
<%= favicon_link_tag image_path_for("apple-touch-icon-200.png"),
|
<%= favicon_link_tag image_path_for("apple-touch-icon-200.png"),
|
||||||
rel: "icon apple-touch-icon",
|
rel: "icon apple-touch-icon",
|
||||||
sizes: "200x200",
|
sizes: "200x200",
|
||||||
@@ -54,7 +51,4 @@
|
|||||||
<%= render "layouts/footer" %>
|
<%= render "layouts/footer" %>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
<!--[if lt IE 9]>
|
|
||||||
<%= javascript_include_tag "ie_lt9" %>
|
|
||||||
<![endif]-->
|
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -9,9 +9,6 @@
|
|||||||
<title><%= content_for?(:title) ? yield(:title) : setting["org_name"] %></title>
|
<title><%= content_for?(:title) ? yield(:title) : setting["org_name"] %></title>
|
||||||
<%= content_for :canonical %>
|
<%= content_for :canonical %>
|
||||||
<%= stylesheet_link_tag "application" %>
|
<%= stylesheet_link_tag "application" %>
|
||||||
<!--[if lt IE 9]>
|
|
||||||
<%= stylesheet_link_tag "ie" %>
|
|
||||||
<![endif]-->
|
|
||||||
<%= javascript_include_tag "application", "data-turbolinks-track" => true %>
|
<%= javascript_include_tag "application", "data-turbolinks-track" => true %>
|
||||||
<%= csrf_meta_tags %>
|
<%= csrf_meta_tags %>
|
||||||
<%= favicon_link_tag "favicon.ico" %>
|
<%= favicon_link_tag "favicon.ico" %>
|
||||||
|
|||||||
@@ -9,9 +9,6 @@
|
|||||||
<title><%= content_for?(:title) ? yield(:title) : setting["org_name"] %></title>
|
<title><%= content_for?(:title) ? yield(:title) : setting["org_name"] %></title>
|
||||||
<%= content_for :canonical %>
|
<%= content_for :canonical %>
|
||||||
<%= stylesheet_link_tag "application" %>
|
<%= stylesheet_link_tag "application" %>
|
||||||
<!--[if lt IE 9]>
|
|
||||||
<%= stylesheet_link_tag "ie" %>
|
|
||||||
<![endif]-->
|
|
||||||
<%= javascript_include_tag "application", "data-turbolinks-track" => true %>
|
<%= javascript_include_tag "application", "data-turbolinks-track" => true %>
|
||||||
<%= csrf_meta_tags %>
|
<%= csrf_meta_tags %>
|
||||||
<%= favicon_link_tag "favicon.ico" %>
|
<%= favicon_link_tag "favicon.ico" %>
|
||||||
|
|||||||
@@ -10,11 +10,9 @@ Rails.application.config.assets.version = "1.0"
|
|||||||
# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
|
# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
|
||||||
# Rails.application.config.assets.precompile += %w( search.js )
|
# Rails.application.config.assets.precompile += %w( search.js )
|
||||||
Rails.application.config.assets.precompile += %w[ckeditor/config.js]
|
Rails.application.config.assets.precompile += %w[ckeditor/config.js]
|
||||||
Rails.application.config.assets.precompile += %w[ie_lt9.js]
|
|
||||||
Rails.application.config.assets.precompile += %w[stat_graphs.js]
|
Rails.application.config.assets.precompile += %w[stat_graphs.js]
|
||||||
Rails.application.config.assets.precompile += %w[dashboard_graphs.js]
|
Rails.application.config.assets.precompile += %w[dashboard_graphs.js]
|
||||||
Rails.application.config.assets.precompile += %w[print.css]
|
Rails.application.config.assets.precompile += %w[print.css]
|
||||||
Rails.application.config.assets.precompile += %w[ie.css]
|
|
||||||
Rails.application.config.assets.precompile += %w[pdf_fonts.css]
|
Rails.application.config.assets.precompile += %w[pdf_fonts.css]
|
||||||
|
|
||||||
# Loads custom images and custom fonts before app/assets/images and app/assets/fonts
|
# Loads custom images and custom fonts before app/assets/images and app/assets/fonts
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user