various fixes for dinopark preferences banner
This commit is contained in:
Родитель
12a13fb3b2
Коммит
6870890d42
|
@ -105,7 +105,7 @@ tr[data-category-id="275"] {
|
|||
|
||||
&, &:active, &:active:hover, &.btn-active {
|
||||
color: $primary;
|
||||
background: $secondary;
|
||||
background: transparent;
|
||||
border-color: $light-text;
|
||||
|
||||
.d-icon {
|
||||
|
@ -338,12 +338,15 @@ body .profiler-results.profiler-left {
|
|||
|
||||
/* Dinopark-style alert banners */
|
||||
|
||||
.alert {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.alert.alert-info {
|
||||
background-color: $button-blue;
|
||||
color: $white-text;
|
||||
text-align: center;
|
||||
|
||||
a {
|
||||
a:not(.btn) {
|
||||
color: $white-text;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
<meta name="google-site-verification" content="t3OXbAnBhDID5loRpNRgaaBOfOE7W7-Kh04-3dyKgVs">
|
||||
<meta name="google-site-verification" content="aJHtdt0Dx0kV5nVjPVYjjt4D1FUY-dMQH1XtgHNAkqQ" />
|
||||
<meta name="google-site-verification" content="D7SmdK0xQe6YM1n90OgKmHMhw3rPglVimnPjVoxG_FM" />
|
||||
<meta name="google-site-verification" content="aJHtdt0Dx0kV5nVjPVYjjt4D1FUY-dMQH1XtgHNAkqQ">
|
||||
<meta name="google-site-verification" content="D7SmdK0xQe6YM1n90OgKmHMhw3rPglVimnPjVoxG_FM">
|
||||
|
||||
<script>
|
||||
"use strict";function _dntEnabled(e,n){var t=e||navigator.doNotTrack||window.doNotTrack||navigator.msDoNotTrack,a=n||navigator.userAgent,o=a.match(/Firefox\/(\d+)/),i=/MSIE|Trident/i.test(a),s=a.match(/Windows.+?(?=;)/g);return(!i||"function"==typeof Array.prototype.indexOf)&&"Enabled"===(t=o&&parseInt(o[1],10)<32?"Unspecified":i&&s&&-1!==["Windows NT 6.1","Windows NT 6.2","Windows NT 6.3"].indexOf(""+s)?"Unspecified":{0:"Disabled",1:"Enabled"}[t]||"Unspecified")}_dntEnabled()||(!function(e,n,t,a,o,i,s){e.GoogleAnalyticsObject=o,e.ga=e.ga||function(){(e.ga.q=e.ga.q||[]).push(arguments)},e.ga.l=1*new Date,i=n.createElement(t),s=n.getElementsByTagName(t)[0],i.async=1,i.src="https://www.google-analytics.com/analytics.js",s.parentNode.insertBefore(i,s)}(window,document,"script",0,"ga"),ga("create","UA-50638649-1","auto"),ga("send","pageview"));var userAgent=window.navigator&&navigator.userAgent||"";function detect(e){return e.test(userAgent)}function displayBanner(n,e,t){if(!detect(/Mobi/i)){"string"===$.type(e)&&(e=[e]),"string"===$.type(t)&&(t=[t]);for(var a=!1,o=0;o<e.length;o++){switch(e[o]){case"chrome":a=detect(/Chrome/)}if(a)break}a&&t.forEach(function(e){$("head").append("<style> .category-"+e+" .download-banner-"+n+" { display: block } </style>")})}}displayBanner("nightly","chrome","mozillians-nda"),document.addEventListener("keydown",function(e){"Tab"===e.key&&document.body.classList.add("focus-styles")});
|
||||
</script>
|
||||
|
||||
<script type="text/discourse-plugin" version="0.8">
|
||||
"use strict";api.reopenWidget("header-buttons",{html:function(e){if(!this.currentUser)return this.attach("button",{contents:api.h("span.d-button-label",I18n.t("log_in")+" / "+I18n.t("sign_up")),className:"btn-primary btn-small login-button",action:"showLogin",icon:"user"})}}),api.replaceIcon("search","feather-search"),api.replaceIcon("bars","feather-menu"),api.replaceIcon("link","feather-link-2"),api.replaceIcon("pencil","feather-edit-2"),api.replaceIcon("pencil-alt","feather-edit-2"),api.replaceIcon("flag","feather-flag"),api.replaceIcon("bookmark","feather-bookmark"),api.replaceIcon("wrench","feather-sliders"),api.replaceIcon("ellipsis-h","feather-more-horizontal"),api.replaceIcon("reply","feather-corner-up-left"),api.replaceIcon("plus","feather-plus"),api.replaceIcon("user","feather-user"),api.replaceIcon("cog","feather-settings"),api.replaceIcon("lock","feather-lock"),api.replaceIcon("envelope","feather-mail"),api.replaceIcon("comment","feather-message-square"),api.replaceIcon("certificate","feather-award"),api.replaceIcon("sign-out-alt","feather-log-out"),api.replaceIcon("shield-alt","feather-shield"),api.replaceIcon("list","feather-list"),api.replaceIcon("times","feather-x"),api.replaceIcon("check","feather-check"),api.replaceIcon("share","feather-corner-up-right"),api.replaceIcon("far-comment","feather-message-square"),api.replaceIcon("bold","feather-bold"),api.replaceIcon("italic","feather-italic"),api.replaceIcon("discourse-expand","feather-maximize-2"),api.replaceIcon("discourse-compress","feather-minimize-2"),api.replaceIcon("chevron-down","feather-chevron-down"),api.replaceIcon("map-marker-alt","feather-map-pin"),api.replaceIcon("globe","feather-globe"),api.replaceIcon("user-plus","feather-user-plus"),api.replaceIcon("clock-o","feather-clock"),api.replaceIcon("heart","feather-heart"),api.replaceIcon("eye","feather-eye"),api.replaceIcon("far-eye-slash","feather-eye-off"),api.replaceIcon("users","feather-users"),api.replaceIcon("bar-chart","feather-bar-chart-2"),api.replaceIcon("chevron-up","feather-chevron-up"),api.replaceIcon("angle-double-down","feather-chevrons-down"),api.replaceIcon("angle-double-up","feather-chevrons-up"),api.replaceIcon("far-bell","feather-bell"),api.replaceIcon("far-bell-slash","feather-bell-off"),api.replaceIcon("user-times","feather-user-x"),api.replaceIcon("external-link-alt","feather-external-link"),api.replaceIcon("caret-right","feather-chevron-right"),api.replaceIcon("caret-left","feather-chevron-left"),api.replaceIcon("caret-down","feather-chevron-down"),api.replaceIcon("caret-up","feather-chevron-up");
|
||||
"use strict";api.reopenWidget("header-buttons",{html:function(e){if(!this.currentUser)return this.attach("button",{contents:api.h("span.d-button-label",I18n.t("log_in")+" / "+I18n.t("sign_up")),className:"btn-primary btn-small login-button",action:"showLogin",icon:"user"})}}),api.replaceIcon("search","feather-search"),api.replaceIcon("bars","feather-menu"),api.replaceIcon("link","feather-link-2"),api.replaceIcon("pencil","feather-edit-2"),api.replaceIcon("pencil-alt","feather-edit-2"),api.replaceIcon("flag","feather-flag"),api.replaceIcon("bookmark","feather-bookmark"),api.replaceIcon("wrench","feather-sliders"),api.replaceIcon("ellipsis-h","feather-more-horizontal"),api.replaceIcon("reply","feather-corner-up-left"),api.replaceIcon("plus","feather-plus"),api.replaceIcon("user","feather-user"),api.replaceIcon("cog","feather-settings"),api.replaceIcon("lock","feather-lock"),api.replaceIcon("envelope","feather-mail"),api.replaceIcon("comment","feather-message-square"),api.replaceIcon("certificate","feather-award"),api.replaceIcon("sign-out-alt","feather-log-out"),api.replaceIcon("shield-alt","feather-shield"),api.replaceIcon("list","feather-list"),api.replaceIcon("times","feather-x"),api.replaceIcon("check","feather-check"),api.replaceIcon("share","feather-corner-up-right"),api.replaceIcon("far-comment","feather-message-square"),api.replaceIcon("bold","feather-bold"),api.replaceIcon("italic","feather-italic"),api.replaceIcon("discourse-expand","feather-maximize-2"),api.replaceIcon("discourse-compress","feather-minimize-2"),api.replaceIcon("chevron-down","feather-chevron-down"),api.replaceIcon("map-marker-alt","feather-map-pin"),api.replaceIcon("globe","feather-globe"),api.replaceIcon("user-plus","feather-user-plus"),api.replaceIcon("clock-o","feather-clock"),api.replaceIcon("heart","feather-heart"),api.replaceIcon("eye","feather-eye"),api.replaceIcon("far-eye-slash","feather-eye-off"),api.replaceIcon("users","feather-users"),api.replaceIcon("bar-chart","feather-bar-chart-2"),api.replaceIcon("chevron-up","feather-chevron-up"),api.replaceIcon("angle-double-down","feather-chevrons-down"),api.replaceIcon("angle-double-up","feather-chevrons-up"),api.replaceIcon("far-bell","feather-bell"),api.replaceIcon("far-bell-slash","feather-bell-off"),api.replaceIcon("user-times","feather-user-x"),api.replaceIcon("external-link-alt","feather-external-link"),api.replaceIcon("caret-right","feather-chevron-right"),api.replaceIcon("caret-left","feather-chevron-left"),api.replaceIcon("caret-down","feather-chevron-down"),api.replaceIcon("caret-up","feather-chevron-up"),api.replaceIcon("unlink","feather-link"),api.replaceIcon("exclamation-circle","feather-alert-circle");
|
||||
</script>
|
||||
|
|
|
@ -57,3 +57,5 @@ api.replaceIcon('caret-right', 'feather-chevron-right');
|
|||
api.replaceIcon('caret-left', 'feather-chevron-left');
|
||||
api.replaceIcon('caret-down', 'feather-chevron-down');
|
||||
api.replaceIcon('caret-up', 'feather-chevron-up');
|
||||
api.replaceIcon('unlink', 'feather-link');
|
||||
api.replaceIcon('exclamation-circle', 'feather-alert-circle')
|
||||
|
|
Загрузка…
Ссылка в новой задаче