mirror of
https://gitlab.com/buildfeed/BuildFeed.git
synced 2024-03-22 21:10:34 +08:00
I made these changes ages ago and forgot about them
go figure.
This commit is contained in:
parent
a91a41b6f5
commit
489814b4ff
|
@ -234,6 +234,7 @@
|
|||
<div id="modal-search-result"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="menu-open-overlay"></div>
|
||||
|
||||
<script type="text/javascript" t src="https://cdnjs.cloudflare.com/ajax/libs/jsrender/1.0.0-rc.70/jsrender.min.js" integrity="sha256-3UBtL0tzgKVuJU8ZZiWLXEWGEjXEr6Z023rpauMnBUE=" crossorigin="anonymous"></script>
|
||||
<script type="text/javascript" src="/res/ts/bfs.js"></script>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/// <binding BeforeBuild='sass-compile' ProjectOpened='watch-sass' />
|
||||
/// <binding BeforeBuild='sass-compile, typescript' ProjectOpened='watch-sass' />
|
||||
var gulp = require("gulp");
|
||||
var sass = require("gulp-sass");
|
||||
var cleanCss = require("gulp-clean-css");
|
||||
|
@ -25,14 +25,13 @@ gulp.task("sass-compile",
|
|||
gulp.task("typescript",
|
||||
function()
|
||||
{
|
||||
var result = gulp.src("./res/ts/*.ts")
|
||||
return gulp.src("./res/ts/*.ts")
|
||||
.pipe(sourceMaps.init())
|
||||
.pipe(ts({
|
||||
target: "es5",
|
||||
sourceMap: false
|
||||
}));
|
||||
|
||||
return result.js
|
||||
}))
|
||||
.js
|
||||
.pipe(uglify())
|
||||
.pipe(sourceMaps.write("./"))
|
||||
.pipe(gulp.dest("./res/ts/"));
|
||||
|
|
|
@ -4,14 +4,13 @@
|
|||
"private": true,
|
||||
|
||||
"devDependencies": {
|
||||
"gulp": "3.9.1",
|
||||
"gulp-sass": "2.3.2",
|
||||
"gulp-clean-css": "2.0.13",
|
||||
"gulp-sourcemaps": "2.1.1",
|
||||
"gulp-typescript": "3.1.2",
|
||||
"typescript": "2.1.1",
|
||||
"gulp-uglify": "2.0.0",
|
||||
"gulp-autoprefixer": "3.1.1",
|
||||
"uglify-js-harmony": "2.6.2"
|
||||
"gulp": "^3.9.1",
|
||||
"gulp-sass": "^3.0.0",
|
||||
"gulp-clean-css": "^2.2.1",
|
||||
"gulp-sourcemaps": "^2.2.1",
|
||||
"gulp-typescript": "^3.1.3",
|
||||
"typescript": "^2.1.4",
|
||||
"gulp-uglify": "^2.0.0",
|
||||
"gulp-autoprefixer": "^3.1.1"
|
||||
}
|
||||
}
|
|
@ -1 +1 @@
|
|||
{"version":3,"sources":["dark.scss","dark.css"],"names":[],"mappings":"AAiCA,iBAhBA,eAoBG,oBAAA,QArCH,KAEG,iBAAA,QACA,MAAA,QAGH,EAEG,MAAA,KCAH,eDGA,KAGG,MAAA,QAQH,cAWA,6CAAA,wBAQM,MAAA,QAnBN,cAEG,iBAAA,QAFH,iBAOM,oBAAA,KAIN,iBAEG,iBAAA,QACA,MAAA,QAHH,kDCJE,mDD2BU,iBAAA,QAMZ,eAEG,iBAAA,QACA,aAAA,QACA,WAAA,EAAA,IAAA,KAAA,gBC5BD,wBADA,uBDyBF,uBAUM,iBAAA,QAIN,QAEG,WAAA,EAAA,IAAA,KAAA,gBAAA,MC/BD,kCD6BF,0BC9BE,oBD8BF,WAAA,WAMM,MAAA,QAWN,0BAIM,WAAA,QACA,MAAA,kBC1CN,yCADA,wCDsCA,wCAYM,WAAA,QACA,MAAA,kBAIN,oCAEG,iBAAA,QAFH,uCAMM,MAAA,QCnDJ,2ED6CF,0EAYM,iBAAA,QACA,MAAA,QACA,aAAA","file":"dark.css","sourcesContent":["body\r\n{\r\n background-color: #f6f5f3;\r\n color: #373736;\r\n}\r\n\r\na\r\n{\r\n color: #fff;\r\n}\r\n\r\nh1 > a,\r\n#page-footer a\r\n{\r\n color: #373736;\r\n}\r\n\r\ntable thead th\r\n{\r\n border-bottom-color: #f6f5f3;\r\n}\r\n\r\n#page-content\r\n{\r\n background-color: #373736;\r\n color: #f6f5f3;\r\n\r\n h3\r\n {\r\n border-bottom-color: #ccc;\r\n }\r\n}\r\n\r\n#page-navigation\r\n{\r\n background-color: #242423;\r\n color: #f6f5f3;\r\n border-bottom-color: #f6f5f3;\r\n\r\n button\r\n {\r\n color: #f6f5f3;\r\n }\r\n\r\n #page-navigation-links\r\n {\r\n > li\r\n {\r\n a\r\n {\r\n color: #f6f5f3;\r\n }\r\n\r\n &.open > a,\r\n > a:hover\r\n {\r\n background-color: #373736;\r\n }\r\n }\r\n }\r\n}\r\n\r\n.dropdown-menu\r\n{\r\n background-color: #242423;\r\n border-color: #f6f5f3;\r\n box-shadow: 0 5px 10px rgba(0,0,0,0.15);\r\n\r\n a:hover,\r\n a:focus,\r\n a:active\r\n {\r\n background-color: #373736;\r\n }\r\n}\r\n\r\narticle\r\n{\r\n box-shadow: 0 5px 10px rgba(0,0,0,0.15) inset;\r\n\r\n h1, h3\r\n {\r\n color: #d6d5d3;\r\n }\r\n\r\n .build-group > h3 > a,\r\n a.more-link,\r\n .build-details-comments a\r\n {\r\n color: #d6d5d3;\r\n }\r\n}\r\n\r\nul.pagination\r\n{\r\n > li.active > a\r\n {\r\n background: #f6f5f3;\r\n color: #242423 !important;\r\n }\r\n\r\n > li:hover:not(.disabled) > a,\r\n > li:focus:not(.disabled) > a,\r\n > li:active:not(.disabled) > a\r\n {\r\n background: #d6d5d3;\r\n color: #373736 !important;\r\n }\r\n}\r\n\r\n#modal-search-overlay #modal-search\r\n{\r\n background-color: #242423;\r\n\r\n h3\r\n {\r\n color: #f6f5f3;\r\n }\r\n\r\n > #modal-search-box > #modal-search-input,\r\n > #modal-search-box > #modal-search-button\r\n {\r\n background-color: #373736;\r\n color: #f6f5f3;\r\n border-color: #d6d5d3;\r\n }\r\n}\r\n","#page-navigation,table thead th{border-bottom-color:#f6f5f3}body{background-color:#f6f5f3;color:#373736}a{color:#fff}#page-footer a,h1>a{color:#373736}#page-content,#page-navigation #page-navigation-links>li a,#page-navigation button{color:#f6f5f3}#page-content{background-color:#373736}#page-content h3{border-bottom-color:#ccc}#page-navigation{background-color:#242423;color:#f6f5f3}#page-navigation #page-navigation-links>li.open>a,#page-navigation #page-navigation-links>li>a:hover{background-color:#373736}.dropdown-menu{background-color:#242423;border-color:#f6f5f3;box-shadow:0 5px 10px rgba(0,0,0,.15)}.dropdown-menu a:active,.dropdown-menu a:focus,.dropdown-menu a:hover{background-color:#373736}article{box-shadow:0 5px 10px rgba(0,0,0,.15) inset}article .build-details-comments a,article .build-group>h3>a,article a.more-link,article h1,article h3{color:#d6d5d3}ul.pagination>li.active>a{background:#f6f5f3;color:#242423!important}ul.pagination>li:active:not(.disabled)>a,ul.pagination>li:focus:not(.disabled)>a,ul.pagination>li:hover:not(.disabled)>a{background:#d6d5d3;color:#373736!important}#modal-search-overlay #modal-search{background-color:#242423}#modal-search-overlay #modal-search h3{color:#f6f5f3}#modal-search-overlay #modal-search>#modal-search-box>#modal-search-button,#modal-search-overlay #modal-search>#modal-search-box>#modal-search-input{background-color:#373736;color:#f6f5f3;border-color:#d6d5d3}\n/*# sourceMappingURL=dark.css.map */\n"]}
|
||||
{"version":3,"sources":["dark.scss"],"names":[],"mappings":"AAAA;EAEG,0BAAyB;EACzB,eAAc,EAChB;;AAED;EAEG,YAAW,EACb;;AAED;;EAGG,eAAc,EAChB;;AAED;EAEG,6BAA4B,EAC9B;;AAED;EAEG,0BAAyB;EACzB,eAAc,EAMhB;EATD;IAOM,0BAAyB,EAC3B;;AAGJ;EAEG,0BAAyB;EACzB,eAAc;EACd,6BAA4B,EAuB9B;EA3BD;IAQM,eAAc,EAChB;EATJ;IAiBY,eAAc,EAChB;EAlBV;;IAuBY,0BAAyB,EAC3B;;AAKV;EAEG,0BAAyB;EACzB,sBAAqB;EACrB,2CAAuC,EAQzC;EAZD;;;IAUM,0BAAyB,EAC3B;;AAGJ;EAEG,iDAA6C,EAa/C;EAfD;IAMM,eAAc,EAChB;EAPJ;;;IAaM,eAAc,EAChB;;AAGJ;EAIM,oBAAmB;EACnB,0BAAyB,EAC3B;;AANJ;;;EAYM,oBAAmB;EACnB,0BAAyB,EAC3B;;AAGJ;EAEG,0BAAyB,EAc3B;EAhBD;IAMM,eAAc,EAChB;EAPJ;;IAYM,0BAAyB;IACzB,eAAc;IACd,sBAAqB,EACvB","file":"dark.css","sourcesContent":["body\r\n{\r\n background-color: #f6f5f3;\r\n color: #373736;\r\n}\r\n\r\na\r\n{\r\n color: #fff;\r\n}\r\n\r\nh1 > a,\r\n#page-footer a\r\n{\r\n color: #373736;\r\n}\r\n\r\ntable thead th\r\n{\r\n border-bottom-color: #f6f5f3;\r\n}\r\n\r\n#page-content\r\n{\r\n background-color: #373736;\r\n color: #f6f5f3;\r\n\r\n h3\r\n {\r\n border-bottom-color: #ccc;\r\n }\r\n}\r\n\r\n#page-navigation\r\n{\r\n background-color: #242423;\r\n color: #f6f5f3;\r\n border-bottom-color: #f6f5f3;\r\n\r\n button\r\n {\r\n color: #f6f5f3;\r\n }\r\n\r\n #page-navigation-links\r\n {\r\n > li\r\n {\r\n a\r\n {\r\n color: #f6f5f3;\r\n }\r\n\r\n &.open > a,\r\n > a:hover\r\n {\r\n background-color: #373736;\r\n }\r\n }\r\n }\r\n}\r\n\r\n.dropdown-menu\r\n{\r\n background-color: #242423;\r\n border-color: #f6f5f3;\r\n box-shadow: 0 5px 10px rgba(0,0,0,0.15);\r\n\r\n a:hover,\r\n a:focus,\r\n a:active\r\n {\r\n background-color: #373736;\r\n }\r\n}\r\n\r\narticle\r\n{\r\n box-shadow: 0 5px 10px rgba(0,0,0,0.15) inset;\r\n\r\n h1, h3\r\n {\r\n color: #d6d5d3;\r\n }\r\n\r\n .build-group > h3 > a,\r\n a.more-link,\r\n .build-details-comments a\r\n {\r\n color: #d6d5d3;\r\n }\r\n}\r\n\r\nul.pagination\r\n{\r\n > li.active > a\r\n {\r\n background: #f6f5f3;\r\n color: #242423 !important;\r\n }\r\n\r\n > li:hover:not(.disabled) > a,\r\n > li:focus:not(.disabled) > a,\r\n > li:active:not(.disabled) > a\r\n {\r\n background: #d6d5d3;\r\n color: #373736 !important;\r\n }\r\n}\r\n\r\n#modal-search-overlay #modal-search\r\n{\r\n background-color: #242423;\r\n\r\n h3\r\n {\r\n color: #f6f5f3;\r\n }\r\n\r\n > #modal-search-box > #modal-search-input,\r\n > #modal-search-box > #modal-search-button\r\n {\r\n background-color: #373736;\r\n color: #f6f5f3;\r\n border-color: #d6d5d3;\r\n }\r\n}\r\n"]}
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -140,6 +140,8 @@ nav#page-navigation
|
|||
{
|
||||
border-bottom-width: 1px;
|
||||
border-bottom-style: solid;
|
||||
position: relative;
|
||||
z-index: 10;
|
||||
|
||||
#page-navigation-links
|
||||
{
|
||||
|
@ -656,7 +658,7 @@ footer#page-footer
|
|||
&.open
|
||||
{
|
||||
display: block;
|
||||
background-color: rgba(0,0,0, 0.6);
|
||||
background-color: rgba(0,0,0, 0.75);
|
||||
-webkit-backdrop-filter: blur(10px);
|
||||
backdrop-filter: blur(10px);
|
||||
}
|
||||
|
@ -728,6 +730,22 @@ footer#page-footer
|
|||
}
|
||||
}
|
||||
|
||||
#menu-open-overlay
|
||||
{
|
||||
display: none;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
z-index: 5;
|
||||
|
||||
&.open
|
||||
{
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 980px)
|
||||
{
|
||||
#modal-search-overlay #modal-search
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"version":3,"sources":["light.scss","light.css"],"names":[],"mappings":"AAiCA,iBAhBA,eAoBG,oBAAA,QArCH,KAEG,iBAAA,QACA,MAAA,QAGH,EAEG,MAAA,KCAH,eDGA,KAGG,MAAA,QAQH,cAWA,6CAAA,wBAQM,MAAA,QAnBN,cAEG,iBAAA,QAFH,iBAOM,oBAAA,KAIN,iBAEG,iBAAA,QACA,MAAA,QAHH,kDCJE,mDD2BU,iBAAA,QAMZ,eAEG,iBAAA,QACA,aAAA,QACA,WAAA,EAAA,IAAA,KAAA,gBC5BD,wBADA,uBDyBF,uBAUM,iBAAA,QAIN,QAEG,WAAA,KC/BD,kCD6BF,0BC9BE,oBD8BF,WAAA,WAMM,MAAA,QAWN,0BAIM,WAAA,QACA,MAAA,kBC1CN,yCADA,wCDsCA,wCAYM,WAAA,QACA,MAAA,kBAIN,oCAEG,iBAAA,QAFH,uCAMM,MAAA,QCnDJ,2ED6CF,0EAYM,iBAAA,KACA,MAAA,QACA,aAAA","file":"light.css","sourcesContent":["body\r\n{\r\n background-color: #373736;\r\n color: #f6f5f3;\r\n}\r\n\r\na\r\n{\r\n color: #000;\r\n}\r\n\r\nh1 > a,\r\n#page-footer a\r\n{\r\n color: #f6f5f3;\r\n}\r\n\r\ntable thead th\r\n{\r\n border-bottom-color: #373736;\r\n}\r\n\r\n#page-content\r\n{\r\n background-color: #f6f5f3;\r\n color: #373736;\r\n\r\n h3\r\n {\r\n border-bottom-color: #ccc;\r\n }\r\n}\r\n\r\n#page-navigation\r\n{\r\n background-color: #e6e5e3;\r\n color: #373736;\r\n border-bottom-color: #373736;\r\n\r\n button\r\n {\r\n color: #373736;\r\n }\r\n\r\n #page-navigation-links\r\n {\r\n > li\r\n {\r\n a\r\n {\r\n color: #373736;\r\n }\r\n\r\n &.open > a,\r\n > a:hover\r\n {\r\n background-color: #f6f5f3;\r\n }\r\n }\r\n }\r\n}\r\n\r\n.dropdown-menu\r\n{\r\n background-color: #e6e5e3;\r\n border-color: #373736;\r\n box-shadow: 0 5px 10px rgba(0,0,0,0.15);\r\n\r\n a:hover,\r\n a:focus,\r\n a:active\r\n {\r\n background-color: #f6f5f3;\r\n }\r\n}\r\n\r\narticle\r\n{\r\n box-shadow: none;\r\n\r\n h1, h3\r\n {\r\n color: #242423;\r\n }\r\n\r\n .build-group > h3 > a,\r\n a.more-link,\r\n .build-details-comments a\r\n {\r\n color: #242423;\r\n }\r\n}\r\n\r\nul.pagination\r\n{\r\n > li.active > a\r\n {\r\n background: #373736;\r\n color: #e6e5e3 !important;\r\n }\r\n\r\n > li:hover:not(.disabled) > a,\r\n > li:focus:not(.disabled) > a,\r\n > li:active:not(.disabled) > a\r\n {\r\n background: #242423;\r\n color: #f6f5f3 !important;\r\n }\r\n}\r\n\r\n#modal-search-overlay #modal-search\r\n{\r\n background-color: #f6f5f3;\r\n\r\n h3\r\n {\r\n color: #373736;\r\n }\r\n\r\n > #modal-search-box > #modal-search-input,\r\n > #modal-search-box > #modal-search-button\r\n {\r\n background-color: #fff;\r\n color: #373736;\r\n border-color: #242423;\r\n }\r\n}\r\n","#page-navigation,table thead th{border-bottom-color:#373736}body{background-color:#373736;color:#f6f5f3}a{color:#000}#page-footer a,h1>a{color:#f6f5f3}#page-content,#page-navigation #page-navigation-links>li a,#page-navigation button{color:#373736}#page-content{background-color:#f6f5f3}#page-content h3{border-bottom-color:#ccc}#page-navigation{background-color:#e6e5e3;color:#373736}#page-navigation #page-navigation-links>li.open>a,#page-navigation #page-navigation-links>li>a:hover{background-color:#f6f5f3}.dropdown-menu{background-color:#e6e5e3;border-color:#373736;box-shadow:0 5px 10px rgba(0,0,0,.15)}.dropdown-menu a:active,.dropdown-menu a:focus,.dropdown-menu a:hover{background-color:#f6f5f3}article{box-shadow:none}article .build-details-comments a,article .build-group>h3>a,article a.more-link,article h1,article h3{color:#242423}ul.pagination>li.active>a{background:#373736;color:#e6e5e3!important}ul.pagination>li:active:not(.disabled)>a,ul.pagination>li:focus:not(.disabled)>a,ul.pagination>li:hover:not(.disabled)>a{background:#242423;color:#f6f5f3!important}#modal-search-overlay #modal-search{background-color:#f6f5f3}#modal-search-overlay #modal-search h3{color:#373736}#modal-search-overlay #modal-search>#modal-search-box>#modal-search-button,#modal-search-overlay #modal-search>#modal-search-box>#modal-search-input{background-color:#fff;color:#373736;border-color:#242423}\n/*# sourceMappingURL=light.css.map */\n"]}
|
||||
{"version":3,"sources":["light.scss"],"names":[],"mappings":"AAAA;EAEG,0BAAyB;EACzB,eAAc,EAChB;;AAED;EAEG,YAAW,EACb;;AAED;;EAGG,eAAc,EAChB;;AAED;EAEG,6BAA4B,EAC9B;;AAED;EAEG,0BAAyB;EACzB,eAAc,EAMhB;EATD;IAOM,0BAAyB,EAC3B;;AAGJ;EAEG,0BAAyB;EACzB,eAAc;EACd,6BAA4B,EAuB9B;EA3BD;IAQM,eAAc,EAChB;EATJ;IAiBY,eAAc,EAChB;EAlBV;;IAuBY,0BAAyB,EAC3B;;AAKV;EAEG,0BAAyB;EACzB,sBAAqB;EACrB,2CAAuC,EAQzC;EAZD;;;IAUM,0BAAyB,EAC3B;;AAGJ;EAEG,iBAAgB,EAalB;EAfD;IAMM,eAAc,EAChB;EAPJ;;;IAaM,eAAc,EAChB;;AAGJ;EAIM,oBAAmB;EACnB,0BAAyB,EAC3B;;AANJ;;;EAYM,oBAAmB;EACnB,0BAAyB,EAC3B;;AAGJ;EAEG,0BAAyB,EAc3B;EAhBD;IAMM,eAAc,EAChB;EAPJ;;IAYM,uBAAsB;IACtB,eAAc;IACd,sBAAqB,EACvB","file":"light.css","sourcesContent":["body\r\n{\r\n background-color: #373736;\r\n color: #f6f5f3;\r\n}\r\n\r\na\r\n{\r\n color: #000;\r\n}\r\n\r\nh1 > a,\r\n#page-footer a\r\n{\r\n color: #f6f5f3;\r\n}\r\n\r\ntable thead th\r\n{\r\n border-bottom-color: #373736;\r\n}\r\n\r\n#page-content\r\n{\r\n background-color: #f6f5f3;\r\n color: #373736;\r\n\r\n h3\r\n {\r\n border-bottom-color: #ccc;\r\n }\r\n}\r\n\r\n#page-navigation\r\n{\r\n background-color: #e6e5e3;\r\n color: #373736;\r\n border-bottom-color: #373736;\r\n\r\n button\r\n {\r\n color: #373736;\r\n }\r\n\r\n #page-navigation-links\r\n {\r\n > li\r\n {\r\n a\r\n {\r\n color: #373736;\r\n }\r\n\r\n &.open > a,\r\n > a:hover\r\n {\r\n background-color: #f6f5f3;\r\n }\r\n }\r\n }\r\n}\r\n\r\n.dropdown-menu\r\n{\r\n background-color: #e6e5e3;\r\n border-color: #373736;\r\n box-shadow: 0 5px 10px rgba(0,0,0,0.15);\r\n\r\n a:hover,\r\n a:focus,\r\n a:active\r\n {\r\n background-color: #f6f5f3;\r\n }\r\n}\r\n\r\narticle\r\n{\r\n box-shadow: none;\r\n\r\n h1, h3\r\n {\r\n color: #242423;\r\n }\r\n\r\n .build-group > h3 > a,\r\n a.more-link,\r\n .build-details-comments a\r\n {\r\n color: #242423;\r\n }\r\n}\r\n\r\nul.pagination\r\n{\r\n > li.active > a\r\n {\r\n background: #373736;\r\n color: #e6e5e3 !important;\r\n }\r\n\r\n > li:hover:not(.disabled) > a,\r\n > li:focus:not(.disabled) > a,\r\n > li:active:not(.disabled) > a\r\n {\r\n background: #242423;\r\n color: #f6f5f3 !important;\r\n }\r\n}\r\n\r\n#modal-search-overlay #modal-search\r\n{\r\n background-color: #f6f5f3;\r\n\r\n h3\r\n {\r\n color: #373736;\r\n }\r\n\r\n > #modal-search-box > #modal-search-input,\r\n > #modal-search-box > #modal-search-button\r\n {\r\n background-color: #fff;\r\n color: #373736;\r\n border-color: #242423;\r\n }\r\n}\r\n"]}
|
|
@ -1 +1 @@
|
|||
{"version":3,"sources":["rtl.scss"],"names":[],"mappings":"AAAA,2CAEG,WAAA,KAQH,gCAVA,gDAMM,WAAA,MAIN,qDAAA,wDAMM,MAAA,MASN,kBAEG,WAAA,KAGH,6CAEG,WAAA,MAGH,6DAKM,WAAA,KALN,8DAUM,WAAA,MAIN,yBAEG,8DAAA,6DAIM,WAAA","file":"rtl.css","sourcesContent":["nav#page-navigation #page-navigation-links\r\n{\r\n text-align: left;\r\n\r\n > li > a\r\n {\r\n text-align: right;\r\n }\r\n}\r\n\r\n.dropdown-parent .dropdown-menu\r\n{\r\n text-align: right;\r\n\r\n .dropdown-menu-block\r\n {\r\n float: right;\r\n\r\n li\r\n {\r\n float: right;\r\n }\r\n }\r\n}\r\n\r\n.form-group label\r\n{\r\n text-align: left;\r\n}\r\n\r\narticle .build-group-listing .build-group h3\r\n{\r\n text-align: right;\r\n}\r\n\r\nfooter#page-footer .footer-flex .footer-flex-item\r\n{\r\n\r\n &:last-child\r\n {\r\n text-align: left;\r\n }\r\n\r\n &:first-child\r\n {\r\n text-align: right;\r\n }\r\n}\r\n\r\n@media (max-width: 640px)\r\n{\r\n footer#page-footer .footer-flex .footer-flex-item\r\n {\r\n &:first-child\r\n {\r\n text-align: center;\r\n }\r\n\r\n &:last-child\r\n {\r\n text-align: center;\r\n }\r\n }\r\n}\r\n"]}
|
||||
{"version":3,"sources":["rtl.scss"],"names":[],"mappings":"AAAA;EAEG,iBAAgB,EAMlB;EARD;IAMM,kBAAiB,EACnB;;AAGJ;EAEG,kBAAiB,EAWnB;EAbD;IAMM,aAAY,EAMd;IAZJ;MAUS,aAAY,EACd;;AAIP;EAEG,iBAAgB,EAClB;;AAED;EAEG,kBAAiB,EACnB;;AAED;EAKM,iBAAgB,EAClB;;AANJ;EAUM,kBAAiB,EACnB;;AAGJ;EAEG;IAIM,mBAAkB,EACpB;EALJ;IASM,mBAAkB,EACpB,EAAA","file":"rtl.css","sourcesContent":["nav#page-navigation #page-navigation-links\r\n{\r\n text-align: left;\r\n\r\n > li > a\r\n {\r\n text-align: right;\r\n }\r\n}\r\n\r\n.dropdown-parent .dropdown-menu\r\n{\r\n text-align: right;\r\n\r\n .dropdown-menu-block\r\n {\r\n float: right;\r\n\r\n li\r\n {\r\n float: right;\r\n }\r\n }\r\n}\r\n\r\n.form-group label\r\n{\r\n text-align: left;\r\n}\r\n\r\narticle .build-group-listing .build-group h3\r\n{\r\n text-align: right;\r\n}\r\n\r\nfooter#page-footer .footer-flex .footer-flex-item\r\n{\r\n\r\n &:last-child\r\n {\r\n text-align: left;\r\n }\r\n\r\n &:first-child\r\n {\r\n text-align: right;\r\n }\r\n}\r\n\r\n@media (max-width: 640px)\r\n{\r\n footer#page-footer .footer-flex .footer-flex-item\r\n {\r\n &:first-child\r\n {\r\n text-align: center;\r\n }\r\n\r\n &:last-child\r\n {\r\n text-align: center;\r\n }\r\n }\r\n}\r\n"]}
|
|
@ -1,2 +1,2 @@
|
|||
"use strict";var BuildFeed;!function(e){function t(e){e.preventDefault();var t=this;t.nextElementSibling.classList.toggle("open")}function n(e){e.preventDefault();var t=this;t.parentElement.classList.toggle("open")}function a(e){e.preventDefault();var t=this;document.cookie="bf_theme="+t.dataset.theme+"; expires=Fri, 31 Dec 9999 23:59:59 GMT; path=/",location.reload(!0)}function d(e){e.preventDefault();var t=this;document.cookie="bf_lang="+t.dataset.lang+"; expires=Fri, 31 Dec 9999 23:59:59 GMT; path=/",location.reload(!0)}function r(e){e.preventDefault();var t=document.getElementById("modal-search-overlay");t.classList.add("open")}function l(e){e.preventDefault();var t=document.getElementById("modal-search-overlay");t.classList.remove("open")}function o(e){e.preventDefault(),e.stopPropagation()}function i(e){var t=document.getElementById("modal-search-result");t.innerHTML="","undefined"!=typeof g&&clearTimeout(g),"undefined"!=typeof m&&m.readyState!==XMLHttpRequest.DONE&&m.abort(),g=setInterval(c,200)}function c(){"undefined"!=typeof g&&clearTimeout(g);var e=document.getElementById("modal-search-input");m=new XMLHttpRequest,m.onreadystatechange=s,m.open("GET","/api/GetSearchResult/"+e.value+"/",!0),m.setRequestHeader("accept","application/json"),m.send(null)}function s(e){if(m.readyState===XMLHttpRequest.DONE&&200===m.status){var t=document.getElementById("modal-search-result"),n=document.getElementById("result-template"),a=jsrender.templates(n.innerHTML),d=a.render(JSON.parse(m.responseText));t.innerHTML=d;for(var r=t.getElementsByTagName("a"),l=0;l<r.length;l++)r[l].addEventListener("click",function(e){e.preventDefault();var t=document.getElementById("modal-search-input");ga("send","pageview","/api/GetSearchResult/"+t.value+"/"),location.assign(e.currentTarget.href)})}}function u(e){for(var c=document.getElementsByClassName("dropdown-parent"),s=0;s<c.length;s++)for(var u=0;u<c[s].childNodes.length;u++){var m=c[s].childNodes[u];"A"===m.nodeName&&m.addEventListener("click",n)}for(var g=document.getElementById("settings-theme-menu").getElementsByTagName("a"),s=0;s<g.length;s++)g[s].addEventListener("click",a);for(var v=document.getElementById("settings-lang-menu").getElementsByTagName("a"),s=0;s<v.length;s++)v[s].addEventListener("click",d);var p=document.getElementById("page-navigation-toggle");p.addEventListener("click",t);var h=document.getElementById("page-navigation-search");h.addEventListener("click",r);var f=document.getElementById("modal-search-overlay");f.addEventListener("click",l);var E=document.getElementById("modal-search");E.addEventListener("click",o);var y=document.getElementById("modal-search-input");y.addEventListener("keyup",i)}var m,g;e.MobileMenuToggle=t,e.DropdownClick=n,e.SwitchTheme=a,e.SwitchLanguage=d,e.OpenSearch=r,e.CloseSearch=l,e.StopClick=o,e.InitiateSearch=i,e.SendSearch=c,e.CompleteSearch=s,e.BuildFeedSetup=u}(BuildFeed||(BuildFeed={})),window.addEventListener("load",BuildFeed.BuildFeedSetup);
|
||||
"use strict";var BuildFeed;!function(e){function t(e){e.preventDefault();var t=this;t.nextElementSibling.classList.toggle("open")}function n(e){e.preventDefault();var t=this;t.parentElement.classList.toggle("open");var n=document.getElementById("menu-open-overlay");n.classList.add("open")}function a(e){e.preventDefault();for(var t=document.getElementsByClassName("dropdown-parent"),n=0;n<t.length;n++)t[n].classList.remove("open");var a=document.getElementById("menu-open-overlay");a.classList.remove("open")}function o(e){e.preventDefault();var t=this;document.cookie="bf_theme="+t.dataset.theme+"; expires=Fri, 31 Dec 9999 23:59:59 GMT; path=/",location.reload(!0)}function r(e){e.preventDefault();var t=this;document.cookie="bf_lang="+t.dataset.lang+"; expires=Fri, 31 Dec 9999 23:59:59 GMT; path=/",location.reload(!0)}function d(e){e.preventDefault();var t=document.getElementById("modal-search-overlay");t.classList.add("open")}function l(e){e.preventDefault();var t=document.getElementById("modal-search-overlay");t.classList.remove("open")}function c(e){e.preventDefault(),e.stopPropagation()}function i(e){var t=document.getElementById("modal-search-result");t.innerHTML="","undefined"!=typeof p&&clearTimeout(p),"undefined"!=typeof v&&v.readyState!==XMLHttpRequest.DONE&&v.abort(),p=setInterval(s,200)}function s(){"undefined"!=typeof p&&clearTimeout(p);var e=document.getElementById("modal-search-input");v=new XMLHttpRequest,v.onreadystatechange=u,v.open("GET","/api/GetSearchResult/"+e.value+"/",!0),v.setRequestHeader("accept","application/json"),v.send(null)}function u(e){if(v.readyState===XMLHttpRequest.DONE&&200===v.status){var t=document.getElementById("modal-search-result"),n=document.getElementById("result-template"),a=jsrender.templates(n.innerHTML),o=a.render(JSON.parse(v.responseText));t.innerHTML=o;for(var r=t.getElementsByTagName("a"),d=0;d<r.length;d++)r[d].addEventListener("click",function(e){e.preventDefault();var t=document.getElementById("modal-search-input");ga("send","pageview","/api/GetSearchResult/"+t.value+"/"),location.assign(e.currentTarget.href)})}}function m(e){for(var s=document.getElementsByClassName("dropdown-parent"),u=0;u<s.length;u++)for(var m=0;m<s[u].childNodes.length;m++){var v=s[u].childNodes[m];"A"===v.nodeName&&v.addEventListener("click",n)}var p=document.getElementById("menu-open-overlay");p.addEventListener("click",a);for(var g=document.getElementById("settings-theme-menu").getElementsByTagName("a"),u=0;u<g.length;u++)g[u].addEventListener("click",o);for(var f=document.getElementById("settings-lang-menu").getElementsByTagName("a"),u=0;u<f.length;u++)f[u].addEventListener("click",r);var h=document.getElementById("page-navigation-toggle");h.addEventListener("click",t);var E=document.getElementById("page-navigation-search");E.addEventListener("click",d);var y=document.getElementById("modal-search-overlay");y.addEventListener("click",l);var B=document.getElementById("modal-search");B.addEventListener("click",c);var L=document.getElementById("modal-search-input");L.addEventListener("keyup",i)}var v,p;e.MobileMenuToggle=t,e.DropdownClick=n,e.CloseDropdowns=a,e.SwitchTheme=o,e.SwitchLanguage=r,e.OpenSearch=d,e.CloseSearch=l,e.StopClick=c,e.InitiateSearch=i,e.SendSearch=s,e.CompleteSearch=u,e.BuildFeedSetup=m}(BuildFeed||(BuildFeed={})),window.addEventListener("load",BuildFeed.BuildFeedSetup);
|
||||
//# sourceMappingURL=bfs.js.map
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -21,6 +21,23 @@ module BuildFeed
|
|||
|
||||
const link = this as HTMLAnchorElement;
|
||||
link.parentElement.classList.toggle("open");
|
||||
|
||||
const menuClickCapture = document.getElementById("menu-open-overlay") as HTMLDivElement;
|
||||
menuClickCapture.classList.add("open");
|
||||
}
|
||||
|
||||
export function CloseDropdowns(ev: MouseEvent)
|
||||
{
|
||||
ev.preventDefault();
|
||||
|
||||
const ddParents = document.getElementsByClassName("dropdown-parent");
|
||||
for (let i = 0; i < ddParents.length; i++)
|
||||
{
|
||||
ddParents[i].classList.remove("open");
|
||||
}
|
||||
|
||||
const menuClickCapture = document.getElementById("menu-open-overlay") as HTMLDivElement;
|
||||
menuClickCapture.classList.remove("open");
|
||||
}
|
||||
|
||||
export function SwitchTheme(ev: MouseEvent)
|
||||
|
@ -139,6 +156,9 @@ module BuildFeed
|
|||
}
|
||||
}
|
||||
|
||||
const menuClickCapture = document.getElementById("menu-open-overlay") as HTMLDivElement;
|
||||
menuClickCapture.addEventListener("click", CloseDropdowns);
|
||||
|
||||
const ddThemes = document.getElementById("settings-theme-menu").getElementsByTagName("a");
|
||||
for (let i = 0; i < ddThemes.length; i++)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user