Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
node_modules/
temp/
index.html
.vscode
.vscode
.DS_Store
8 changes: 0 additions & 8 deletions static/header.less
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@
justify-content: space-between;
}

.top-left {
display: none;
}

.brand {
height: 53px;
padding-top: @gutter;
Expand Down Expand Up @@ -41,10 +37,6 @@

// ----- CANJS LOGO AND VERSION DESKTOP -----
@media screen and (min-width: @breakpoint) {
.top-left {
display: block;
}

.brand {
.dropdown {
position: absolute;
Expand Down
7 changes: 3 additions & 4 deletions static/layout.less
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,9 @@
flex-wrap: nowrap;
flex-direction: column;
}
.top-left {
flex-shrink: 0;
height: 0;
@media screen and (min-width: @breakpoint){

@media screen and (min-width: @breakpoint){
.top-left {
height: auto;
}
}
Expand Down
6 changes: 6 additions & 0 deletions static/mobile.less
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,10 @@ label:hover{
display: none;
}
}
}

@media screen and (max-width: @breakpoint){
.top-left > .brand{
display: none;
}
}
1 change: 0 additions & 1 deletion static/search.less
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//Search
.search-bar {
display:none;
background: @code-color;
padding: @gutter @gutter*2;
height: 48px;
Expand Down
25 changes: 12 additions & 13 deletions static/sidebar.less
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
.search-bar {
display:none;
background: @code-color;
padding: @gutter @gutter*2;
height: 48px;
p {
border: none;
margin: 0px;
color: white;
font-weight: 300;
}
@media screen and (min-width: @breakpoint) {
display: block;
}
background: @code-color;
padding: @gutter @gutter*2;
height: 48px;
p {
border: none;
margin: 0px;
color: white;
font-weight: 300;
}
@media screen and (min-width: @breakpoint) {
display: block;
}
}

// ----- SOCIAL BUTTONS FOR MOBILE VIEW -----
Expand Down
2 changes: 1 addition & 1 deletion templates/search-bar.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
<div class="search-wrap" style="display:none;">
<span class="search-icon"></span>
<span class="search-icon-cancel"></span>
<input type="text" class="search" placeholder="Search - [ctrl + k]" />
<input type="text" class="search" placeholder="Search - [ctrl + k]" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" />
</div>
</div>