Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
c5a75ab8
Commit
c5a75ab8
authored
Jan 29, 2018
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/10628_search_media_break'
parents
cd2161e7
ffff75b0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
10 deletions
+39
-10
public/sass/components/_search.scss
+39
-10
No files found.
public/sass/components/_search.scss
View file @
c5a75ab8
...
...
@@ -10,7 +10,7 @@
}
.search-container
{
left
:
$side-menu-width
;
left
:
0
;
top
:
0
;
right
:
0
;
bottom
:
0
;
...
...
@@ -58,7 +58,7 @@
.search-dropdown
{
display
:
flex
;
flex-direction
:
row
;
flex-direction
:
column
;
height
:
calc
(
100%
-
#{
$navbarHeight
}
);
}
...
...
@@ -74,7 +74,7 @@
flex-grow
:
1
;
height
:
100%
;
padding-top
:
16px
;
display
:
flex
;
display
:
none
;
flex-direction
:
column
;
align-items
:
flex-start
;
}
...
...
@@ -85,7 +85,6 @@
padding
:
$spacer
*
1
.5
;
min-width
:
340px
;
margin-bottom
:
$spacer
*
1
.5
;
margin-left
:
$spacer
*
1
.5
;
}
.search-filter-box__header
{
...
...
@@ -215,7 +214,8 @@
}
.search-item__tags
{
padding
:
10px
;
display
:
none
;
//padding: 10px;
}
.search-item__actions
{
...
...
@@ -248,16 +248,45 @@
background
:
$panel-bg
;
}
@include
media-breakpoint-
down
(
xs
)
{
@include
media-breakpoint-
up
(
sm
)
{
.search-container
{
left
:
0
;
left
:
$side-menu-width
;
}
.search-dropdown__col_2
{
display
:
flex
;
margin-bottom
:
1rem
;
}
}
@include
media-breakpoint-up
(
md
)
{
.search-dropdown__col_2
{
flex-direction
:
row
;
justify-content
:
space-between
;
max-width
:
700px
;
height
:
260px
;
}
.search-dropdown__col_1
{
height
:
100%
;
}
.search-filter-box
{
margin
:
0
;
}
}
@include
media-breakpoint-up
(
lg
)
{
.search-dropdown
{
flex-direction
:
row
;
}
.search-dropdown__col_2
{
display
:
none
;
flex-direction
:
column
;
}
.search-item__tags
{
display
:
none
;
.search-filter-box
{
margin-left
:
$spacer
*
1
.5
;
margin-bottom
:
$spacer
*
1
.5
;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment