This commit is contained in:
Leo McArdle 2017-07-25 18:18:13 +01:00
Родитель dd464ccbd8
Коммит 5924832d7b
4 изменённых файлов: 145 добавлений и 0 удалений

19
about.json Normal file
Просмотреть файл

@ -0,0 +1,19 @@
{
"name": "moz://a",
"about_url": "https://github.com/mozilla/discourse-mozilla-theme",
"license_url": "https://github.com/mozilla/discourse-mozilla-theme/blob/master/LICENSE",
"color_schemes": {
"moz://a": {
"primary": "000000",
"secondary": "ffffff",
"tertiary": "558194",
"quaternary": "000000",
"header_background": "ffffff",
"header_primary": "000000",
"highlight": "F6F4EC",
"danger": "D06F6A",
"success": "00AF84",
"love": "E14164"
}
}
}

36
common/common.scss Normal file
Просмотреть файл

@ -0,0 +1,36 @@
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700,700i|Zilla+Slab:400');
.d-header {
box-shadow: none;
border-bottom: 1px solid #cfcfcf;
padding-top: 0;
img.avatar {
border-radius: 0;
}
}
body {
font-family: "Open Sans", sans-serif;
}
h1, h2, h3, h4, h5, h6 {
font-family: "Zilla Slab", serif;
font-weight: normal;
}
.login-button {
font-weight: bold;
i {
display: none;
}
}
.badge-wrapper {
font-weight: normal;
}
.category-list tbody .category h3 {
font-size: 1.4em;
}

11
common/head_tag.html Normal file
Просмотреть файл

@ -0,0 +1,11 @@
<script>function _dntEnabled(n,i){"use strict"
var e=n||navigator.doNotTrack||window.doNotTrack||navigator.msDoNotTrack,t=i||navigator.userAgent,o=["Windows NT 6.1","Windows NT 6.2","Windows NT 6.3"],d=t.match(/Firefox\/(\d+)/),a=/MSIE|Trident/i,r=a.test(t),s=t.match(/Windows.+?(?=;)/g)
return r&&"function"!=typeof Array.prototype.indexOf?!1:(e=d&&parseInt(d[1],10)<32?"Unspecified":r&&s&&-1!==o.indexOf(""+s)?"Unspecified":{0:"Disabled",1:"Enabled"}[e]||"Unspecified","Enabled"===e?!0:!1)}</script>
<script>if(!_dntEnabled()){(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-TMGHNBJ')};</script>
<meta name="google-site-verification" content="aP7UsvdPFYnZnuMpZajdyuKWnwH798PnDHPME_vacOE" />

79
desktop/desktop.scss Normal file
Просмотреть файл

@ -0,0 +1,79 @@
.d-header {
height: 70px;
.wrap {
max-width: none;
padding: 0;
}
.contents {
margin: 15px 0;
}
.title {
margin: -15px 0;
margin-right: 20px;
padding: 20px;
border-right: 1px solid #cfcfcf;
}
#site-logo {
max-height: 30px;
}
.logo-small {
margin-right: 0;
}
.login-button {
margin-right: 20px;
}
.icons {
margin: 0;
.icon {
margin: -15px 0;
padding: 20px;
color: #000;
&, &:hover {
border: none;
border-left: 1px solid #cfcfcf;
}
i, .avatar {
height: 30px;
width: 30px;
}
}
}
.menu-panel.drop-down {
margin-top: 15px;
margin-right: 0.5em;
border: 1px solid #cfcfcf;
box-shadow: none;
}
#current-user {
.icon {
padding: 15px;
}
.avatar {
height: 40px;
width: 40px;
}
}
}
.drop-down-visible .d-header .icons .active .icon {
border: none;
border-left: 1px solid #cfcfcf;
}
#main-outlet {
padding-top: 92px; /* header + 22px */
}