Skip to content

Commit

Permalink
Merge pull request #53 from sredevopsorg/multilang
Browse files Browse the repository at this point in the history
  • Loading branch information
ngeorger authored Sep 8, 2024
2 parents 98530d7 + e0ef1b4 commit ab145a0
Show file tree
Hide file tree
Showing 18 changed files with 21,546 additions and 233 deletions.
2 changes: 1 addition & 1 deletion assets/built/screen.css

Large diffs are not rendered by default.

14 changes: 13 additions & 1 deletion assets/built/source.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/built/source.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions assets/built/tocbot.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

226 changes: 218 additions & 8 deletions assets/css/screen.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,219 @@
@import "tailwindcss/components";
@import "tailwindcss/utilities";

/* RESET */
.ais-Breadcrumb-list,
.ais-CurrentRefinements-list,
.ais-HierarchicalMenu-list,
.ais-Hits-list,
.ais-FrequentlyBoughtTogether-list,
.ais-LookingSimilar-list,
.ais-RelatedProducts-list,
.ais-TrendingItems-list,
.ais-Results-list,
.ais-InfiniteHits-list,
.ais-InfiniteResults-list,
.ais-Menu-list,
.ais-NumericMenu-list,
.ais-Pagination-list,
.ais-RatingMenu-list,
.ais-RefinementList-list,
.ais-ToggleRefinement-list {
margin: 0;
padding: 0;
list-style: none
}

.ais-ClearRefinements-button,
.ais-CurrentRefinements-delete,
.ais-CurrentRefinements-reset,
.ais-GeoSearch-redo,
.ais-GeoSearch-reset,
.ais-HierarchicalMenu-showMore,
.ais-InfiniteHits-loadPrevious,
.ais-InfiniteHits-loadMore,
.ais-InfiniteResults-loadMore,
.ais-Menu-showMore,
.ais-RangeInput-submit,
.ais-RefinementList-showMore,
.ais-SearchBox-submit,
.ais-SearchBox-reset,
.ais-VoiceSearch-button {
padding: 0;
overflow: visible;
font: inherit;
line-height: normal;
color: inherit;
background: none;
border: 0;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none
}

.ais-ClearRefinements-button::-moz-focus-inner,
.ais-CurrentRefinements-delete::-moz-focus-inner,
.ais-CurrentRefinements-reset::-moz-focus-inner,
.ais-GeoSearch-redo::-moz-focus-inner,
.ais-GeoSearch-reset::-moz-focus-inner,
.ais-HierarchicalMenu-showMore::-moz-focus-inner,
.ais-InfiniteHits-loadPrevious::-moz-focus-inner,
.ais-InfiniteHits-loadMore::-moz-focus-inner,
.ais-InfiniteResults-loadMore::-moz-focus-inner,
.ais-Menu-showMore::-moz-focus-inner,
.ais-RangeInput-submit::-moz-focus-inner,
.ais-RefinementList-showMore::-moz-focus-inner,
.ais-SearchBox-submit::-moz-focus-inner,
.ais-SearchBox-reset::-moz-focus-inner,
.ais-VoiceSearch-button::-moz-focus-inner {
padding: 0;
border: 0
}

.ais-ClearRefinements-button[disabled],
.ais-CurrentRefinements-delete[disabled],
.ais-CurrentRefinements-reset[disabled],
.ais-GeoSearch-redo[disabled],
.ais-GeoSearch-reset[disabled],
.ais-HierarchicalMenu-showMore[disabled],
.ais-InfiniteHits-loadPrevious[disabled],
.ais-InfiniteHits-loadMore[disabled],
.ais-InfiniteResults-loadMore[disabled],
.ais-Menu-showMore[disabled],
.ais-RangeInput-submit[disabled],
.ais-RefinementList-showMore[disabled],
.ais-SearchBox-submit[disabled],
.ais-SearchBox-reset[disabled],
.ais-VoiceSearch-button[disabled] {
cursor: default
}

.ais-InfiniteHits-loadPrevious,
.ais-InfiniteHits-loadMore,
.ais-HierarchicalMenu-showMore,
.ais-Menu-showMore,
.ais-RefinementList-showMore {
overflow-anchor: none
}

.ais-Breadcrumb-list,
.ais-Breadcrumb-item,
.ais-Pagination-list,
.ais-RangeInput-form,
.ais-RatingMenu-link,
.ais-PoweredBy {
display: flex;
align-items: center
}

.ais-GeoSearch,
.ais-GeoSearch-map {
height: 100%
}

.ais-HierarchicalMenu-list .ais-HierarchicalMenu-list {
margin-left: 1em
}

.ais-PoweredBy-logo {
display: block;
height: 1.2em;
width: auto
}

.ais-PoweredBy-text {
margin-right: .3rem
}

.ais-RatingMenu-starIcon {
display: block;
width: 20px;
height: 20px
}

.ais-SearchBox-input::-ms-clear,
.ais-SearchBox-input::-ms-reveal {
display: none;
width: 0;
height: 0
}

.ais-SearchBox-input::-webkit-search-decoration,
.ais-SearchBox-input::-webkit-search-cancel-button,
.ais-SearchBox-input::-webkit-search-results-button,
.ais-SearchBox-input::-webkit-search-results-decoration {
display: none
}

.ais-RangeSlider .rheostat {
overflow: visible;
margin-top: 40px;
margin-bottom: 40px
}

.ais-RangeSlider .rheostat-background {
height: 6px;
top: 0px;
width: 100%
}

.ais-RangeSlider .rheostat-handle {
margin-left: -12px;
top: -7px
}

.ais-RangeSlider .rheostat-background {
position: relative;
background-color: #fff;
border: 1px solid #aaa
}

.ais-RangeSlider .rheostat-progress {
position: absolute;
top: 1px;
height: 4px;
background-color: #333
}

.rheostat-handle {
position: relative;
z-index: 1;
width: 20px;
height: 20px;
background-color: #fff;
border: 1px solid #333;
border-radius: 50%;
cursor: grab
}

.rheostat-marker {
margin-left: -1px;
position: absolute;
width: 1px;
height: 5px;
background-color: #aaa
}

.rheostat-marker--large {
height: 9px
}

.rheostat-value {
margin-left: 50%;
padding-top: 15px;
position: absolute;
text-align: center;
transform: translateX(-50%)
}

.rheostat-tooltip {
margin-left: 50%;
position: absolute;
top: -22px;
text-align: center;
transform: translateX(-50%)
}
/* ... */

/* Table of contents
Expand Down Expand Up @@ -3593,13 +3806,9 @@ figcaption a {

/* Modal Content */
.modal-content {
background-color: rgba(0, 0, 0, 0.8);
background-color: transparent;
margin: 15% auto;
/* 15% from the top and centered */
padding: 20px;
border: 1px solid #888;
width: 80%;
/* Could be more or less, depending on screen size */

}

/* The Close Button */
Expand All @@ -3612,7 +3821,7 @@ figcaption a {

.close:hover,
.close:focus {
color: black;
color: #3d3d3d;
text-decoration: none;
cursor: pointer;
}
Expand All @@ -3624,7 +3833,8 @@ figcaption a {
}

.agolia_modal_box{
@apply bg-[#1E293B] max-w-xl min-w-[800px] max-h-[600px] self-start mt-[10vmin] rounded-xl border-t border-gray-100 border-opacity-10;
background: var(--background-color);
@apply max-w-xl min-w-[90%] max-h-[80%] self-start mt-[10vmin] rounded-xl border-t border-gray-100 border-opacity-10;
}

.agolia_modal_box header{
Expand Down
83 changes: 83 additions & 0 deletions assets/css/tocbot.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
.toc {
overflow-y: auto;
}
.toc > .toc-list {
overflow: hidden;
position: relative;
}
.toc > .toc-list li {
list-style: none;
}
.toc-list {
margin: 0;
padding-left: 10px;
}
a.toc-link {
color: currentColor;
height: 100%;
}
.is-collapsible {
max-height: 1000px;
overflow: hidden;
transition: all 0.3s ease-in-out;
}
.is-collapsed {
max-height: 0;
}
.is-position-fixed {
position: fixed !important;
top: 0;
}
.is-active-link {
font-weight: 700;
}
.toc-link::before {
background-color: #eee;
content: " ";
display: inline-block;
height: inherit;
left: 0;
margin-top: -1px;
position: absolute;
width: 2px;
}
.is-active-link::before {
background-color: #54bc4b;
}

.gh-content {
position: relative;
}

.gh-toc>.toc-list {
position: relative;
padding-right: 20px;
}

.toc-list {
overflow: hidden;
list-style: none;
}

@media (min-width: 1300px) {
.gh-sidebar {
position: absolute;
top: 0;
bottom: 0;
margin-top: 4vmin;
grid-column: wide-start / main-start;
/* Place the TOC to the left of the content */
}

.gh-toc {
position: sticky;
/* On larger screens, TOC will stay in the same spot on the page */
top: 4vmin;
}
}

.gh-toc .is-active-link::before {
background-color: var(--ghost-accent-color);
/* Defines TOC accent color based on Accent color set in Ghost Admin */
}

Loading

0 comments on commit ab145a0

Please sign in to comment.