mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-04 03:52:40 +00:00
Merge branch 'master' of https://github.com/naturalcrit/homebrewery into scroll-to-element
This commit is contained in:
@@ -35,6 +35,11 @@
|
|||||||
display : flex;
|
display : flex;
|
||||||
align-items : center;
|
align-items : center;
|
||||||
&:last-child .navItem { border-left : 1px solid #666666; }
|
&:last-child .navItem { border-left : 1px solid #666666; }
|
||||||
|
|
||||||
|
&:has(.brewTitle) {
|
||||||
|
flex-grow : 1;
|
||||||
|
min-width : 300px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// "NaturalCrit" logo
|
// "NaturalCrit" logo
|
||||||
.navLogo {
|
.navLogo {
|
||||||
@@ -69,6 +74,10 @@
|
|||||||
.navItem {
|
.navItem {
|
||||||
#backgroundColorsHover;
|
#backgroundColorsHover;
|
||||||
.animate(background-color);
|
.animate(background-color);
|
||||||
|
display : flex;
|
||||||
|
align-items : center;
|
||||||
|
justify-content : center;
|
||||||
|
height : 100%;
|
||||||
padding : 8px 12px;
|
padding : 8px 12px;
|
||||||
font-size : 10px;
|
font-size : 10px;
|
||||||
font-weight : 800;
|
font-weight : 800;
|
||||||
@@ -94,39 +103,20 @@
|
|||||||
animation-duration : 2s;
|
animation-duration : 2s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
&.editTitle { // this is not needed at all currently - you used to be able to edit the title via the navbar.
|
|
||||||
padding : 2px 12px;
|
|
||||||
input {
|
|
||||||
width : 250px;
|
|
||||||
padding : 2px;
|
|
||||||
margin : 0;
|
|
||||||
font-family : 'Open Sans', sans-serif;
|
|
||||||
font-size : 12px;
|
|
||||||
font-weight : 800;
|
|
||||||
color : white;
|
|
||||||
text-align : center;
|
|
||||||
background-color : transparent;
|
|
||||||
border : 1px solid @blue;
|
|
||||||
outline : none;
|
|
||||||
}
|
|
||||||
.charCount {
|
|
||||||
display : inline-block;
|
|
||||||
margin-left : 8px;
|
|
||||||
color : #666666;
|
|
||||||
text-align : right;
|
|
||||||
vertical-align : bottom;
|
|
||||||
&.max { color : @red; }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
&.brewTitle {
|
&.brewTitle {
|
||||||
flex-grow : 1;
|
display : block;
|
||||||
|
width : 100%;
|
||||||
|
overflow : hidden;
|
||||||
font-size : 12px;
|
font-size : 12px;
|
||||||
font-weight : 800;
|
font-weight : 800;
|
||||||
color : white;
|
color : white;
|
||||||
text-align : center;
|
text-align : center;
|
||||||
text-transform : initial;
|
text-overflow : ellipsis;
|
||||||
background-color : transparent;
|
text-transform : initial;
|
||||||
|
white-space : nowrap;
|
||||||
|
background-color : transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
// "The Homebrewery" logo
|
// "The Homebrewery" logo
|
||||||
&.homebrewLogo {
|
&.homebrewLogo {
|
||||||
.animate(color);
|
.animate(color);
|
||||||
@@ -240,23 +230,25 @@
|
|||||||
}
|
}
|
||||||
.navDropdownContainer {
|
.navDropdownContainer {
|
||||||
position : relative;
|
position : relative;
|
||||||
|
height : 100%;
|
||||||
|
|
||||||
.navDropdown {
|
.navDropdown {
|
||||||
position: absolute;
|
position : absolute;
|
||||||
top: 28px;
|
//top: 28px;
|
||||||
right: 0px;
|
right : 0px;
|
||||||
z-index: 10000;
|
z-index : 10000;
|
||||||
width: max-content;
|
display : flex;
|
||||||
min-width:100%;
|
flex-direction : column;
|
||||||
max-height: calc(100vh - 28px);
|
align-items : flex-end;
|
||||||
overflow: hidden auto;
|
width : max-content;
|
||||||
display: flex;
|
min-width : 100%;
|
||||||
flex-direction: column;
|
max-height : calc(100vh - 28px);
|
||||||
align-items: flex-end;
|
overflow : hidden auto;
|
||||||
.navItem {
|
.navItem {
|
||||||
position : relative;
|
position : relative;
|
||||||
display : flex;
|
display : flex;
|
||||||
justify-content : space-between;
|
|
||||||
align-items : center;
|
align-items : center;
|
||||||
|
justify-content : space-between;
|
||||||
width : 100%;
|
width : 100%;
|
||||||
border : 1px solid #888888;
|
border : 1px solid #888888;
|
||||||
border-bottom : 0;
|
border-bottom : 0;
|
||||||
@@ -278,10 +270,10 @@
|
|||||||
overflow : hidden auto;
|
overflow : hidden auto;
|
||||||
color : white;
|
color : white;
|
||||||
text-decoration : none;
|
text-decoration : none;
|
||||||
background-color : #333333;
|
|
||||||
border-top : 1px solid #888888;
|
|
||||||
scrollbar-color : #666666 #333333;
|
scrollbar-color : #666666 #333333;
|
||||||
scrollbar-width : thin;
|
scrollbar-width : thin;
|
||||||
|
background-color : #333333;
|
||||||
|
border-top : 1px solid #888888;
|
||||||
.clear {
|
.clear {
|
||||||
position : absolute;
|
position : absolute;
|
||||||
top : 50%;
|
top : 50%;
|
||||||
|
|||||||
@@ -138,4 +138,4 @@
|
|||||||
"stylelint-config-recommended": "^14.0.1",
|
"stylelint-config-recommended": "^14.0.1",
|
||||||
"supertest": "^7.0.0"
|
"supertest": "^7.0.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -368,6 +368,11 @@ module.exports = [
|
|||||||
icon : 'font MrEavesRemake',
|
icon : 'font MrEavesRemake',
|
||||||
gen : dedent`{{font-family:MrEavesRemake Dummy Text}}`
|
gen : dedent`{{font-family:MrEavesRemake Dummy Text}}`
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name : 'Pagella',
|
||||||
|
icon : 'font Pagella',
|
||||||
|
gen : dedent`{{font-family:Pagella Dummy Text}}`
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name : 'Solbera Imitation',
|
name : 'Solbera Imitation',
|
||||||
icon : 'font SolberaImitationRemake',
|
icon : 'font SolberaImitationRemake',
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
@import (less) './themes/fonts/Blank/fonts.less';
|
||||||
@import (less) './themes/fonts/5e/fonts.less';
|
@import (less) './themes/fonts/5e/fonts.less';
|
||||||
@import (less) './themes/assets/assets.less';
|
@import (less) './themes/assets/assets.less';
|
||||||
@import (less) './themes/fonts/iconFonts/elderberryInn.less';
|
@import (less) './themes/fonts/iconFonts/elderberryInn.less';
|
||||||
|
|||||||
46
themes/fonts/Blank/fonts.less
Normal file
46
themes/fonts/Blank/fonts.less
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
/*
|
||||||
|
TeX Gyre Pagella
|
||||||
|
License:
|
||||||
|
% Copyright 2007--2018 for TeX Gyre extensions by B. Jackowski,
|
||||||
|
% J.M. Nowacki et al. (on behalf of TeX Users Groups). Vietnamese
|
||||||
|
% characters were added by Han The Thanh.
|
||||||
|
%
|
||||||
|
% This work can be freely used and distributed under
|
||||||
|
% the GUST Font License (GFL -- see GUST-FONT-LICENSE.txt)
|
||||||
|
% which is actually an instance of the LaTeX Project Public License
|
||||||
|
% (LPPL -- see http://www.latex-project.org/lppl.txt ).
|
||||||
|
%
|
||||||
|
% This work has the maintenance status "maintained". The Current Maintainer
|
||||||
|
% of this work is Bogus\l{}aw Jackowski and Janusz M. Nowacki.
|
||||||
|
%
|
||||||
|
% This work consists of the files listed
|
||||||
|
% in the MANIFEST-TeX-Gyre-Pagella.txt file.
|
||||||
|
*/
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: Pagella;
|
||||||
|
src: url('../../../fonts/Blank/texgyrepagella-regular.woff2');
|
||||||
|
font-weight: normal;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: Pagella;
|
||||||
|
src: url('../../../fonts/Blank/texgyrepagella-bold.woff2');
|
||||||
|
font-weight: bold;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: Pagella;
|
||||||
|
src: url('../../../fonts/Blank/texgyrepagella-italic.woff2');
|
||||||
|
font-weight: normal;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: Pagella;
|
||||||
|
src: url('../../../fonts/Blank/texgyrepagella-bolditalic.woff2');
|
||||||
|
font-weight: bold;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
BIN
themes/fonts/Blank/texgyrepagella-bold.woff2
Normal file
BIN
themes/fonts/Blank/texgyrepagella-bold.woff2
Normal file
Binary file not shown.
BIN
themes/fonts/Blank/texgyrepagella-bolditalic.woff2
Normal file
BIN
themes/fonts/Blank/texgyrepagella-bolditalic.woff2
Normal file
Binary file not shown.
BIN
themes/fonts/Blank/texgyrepagella-italic.woff2
Normal file
BIN
themes/fonts/Blank/texgyrepagella-italic.woff2
Normal file
Binary file not shown.
BIN
themes/fonts/Blank/texgyrepagella-regular.woff2
Normal file
BIN
themes/fonts/Blank/texgyrepagella-regular.woff2
Normal file
Binary file not shown.
Reference in New Issue
Block a user