Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
B
Backend Server
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
SpinShare
Backend Server
Commits
822a57fe
Commit
822a57fe
authored
Jun 17, 2020
by
SpinShare
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added new search page
parent
f78016f8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
156 additions
and
47 deletions
+156
-47
public/assets/css/search.css
public/assets/css/search.css
+100
-44
public/assets/css/search.less
public/assets/css/search.less
+56
-3
No files found.
public/assets/css/search.css
View file @
822a57fe
...
...
@@ -2,74 +2,130 @@
display
:
grid
;
grid-template-rows
:
auto
1
fr
;
grid-gap
:
25px
;
/*
& .search-bar {
& form {
background: rgba(255,255,255,0.2);
border-radius: 4px;
display: grid;
grid-template-columns: auto auto 1fr;
& .show-all {
height: 100%;
display: flex;
justify-content: center;
align-items: center;
padding-left: 10px;
}
& input {
font-family: 'Open Sans', sans-serif;
font-size: 14px;
color: #fff;
background: transparent;
padding: 14px 28px;
border: 0px;
transition: 0.2s ease-in-out background, 0.2s ease-in-out color;
&:hover {
background: rgba(255,255,255,0.2);
color: #fff;
}
&:focus {
outline: 0;
}
&::placeholder {
color: rgba(255,255,255,0.6);
}
}
& .multi-select {
position: relative;
z-index: 99;
& .label {
height: 100%;
display: flex;
justify-content: center;
align-items: center;
padding: 0px 10px;
}
& .box {
position: absolute;
z-index: 99;
background: rgba(0,0,0,1);
border-radius: 6px;
width: 250px;
left: 0px;
user-select: none;
display: none;
& .item {
display: grid;
grid-template-columns: 25px 1fr;
grid-gap: 25px;
padding: 10px;
}
&.active {
display: block;
}
}
}
}
} */
}
.section-search
header
{
background
:
rgba
(
0
,
0
,
0
,
0.3
);
padding
:
50px
;
padding-bottom
:
25px
;
}
.section-search
.search-bar
form
{
background
:
rgba
(
255
,
255
,
255
,
0.2
);
border-radius
:
4px
;
.section-search
header
.title
{
font-size
:
32px
;
letter-spacing
:
0.05em
;
text-transform
:
uppercase
;
margin-bottom
:
15px
;
font-family
:
'Oswald'
,
sans-serif
;
}
.section-search
header
.actions
{
display
:
grid
;
grid-template-columns
:
auto
auto
1
fr
;
grid-template-columns
:
1
fr
auto
;
grid-gap
:
15px
;
align-items
:
center
;
}
.section-search
.search-bar
form
.show-all
{
.section-search
header
.actions
.show-all
{
height
:
100%
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
padding
-left
:
10px
;
padding
:
0px
10px
;
}
.section-search
.search-bar
form
input
{
.section-search
header
.actions
input
{
width
:
100%
;
font-family
:
'Open Sans'
,
sans-serif
;
font-size
:
14px
;
color
:
#fff
;
background
:
transparent
;
padding
:
14px
28px
;
color
:
#fff
;
border-radius
:
4px
;
padding
:
9px
20px
;
background
:
rgba
(
255
,
255
,
255
,
0.2
);
border
:
0px
;
transition
:
0.2s
ease-in-out
background
,
0.2s
ease-in-out
color
;
transition
:
0.2s
ease-in-out
all
;
}
.section-search
.search-bar
form
input
:hover
{
background
:
rgba
(
255
,
255
,
255
,
0.
2
);
.section-search
header
.actions
input
:hover
{
background
:
rgba
(
255
,
255
,
255
,
0.
1
);
color
:
#fff
;
}
.section-search
.search-bar
form
input
:focus
{
.section-search
header
.actions
input
:focus
{
outline
:
0
;
border-color
:
rgba
(
255
,
255
,
255
,
0.6
);
}
.section-search
.search-bar
form
input
::placeholder
{
.section-search
header
.actions
input
::placeholder
{
color
:
rgba
(
255
,
255
,
255
,
0.6
);
}
.section-search
.search-bar
form
.multi-select
{
position
:
relative
;
z-index
:
99
;
}
.section-search
.search-bar
form
.multi-select
.label
{
height
:
100%
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
padding
:
0px
10px
;
}
.section-search
.search-bar
form
.multi-select
.box
{
position
:
absolute
;
z-index
:
99
;
background
:
#000000
;
border-radius
:
6px
;
width
:
250px
;
left
:
0px
;
user-select
:
none
;
display
:
none
;
}
.section-search
.search-bar
form
.multi-select
.box
.item
{
display
:
grid
;
grid-template-columns
:
25px
1
fr
;
grid-gap
:
25px
;
padding
:
10px
;
}
.section-search
.search-bar
form
.multi-select
.box.active
{
display
:
block
;
}
.section-search
.search-results
{
display
:
grid
;
grid-template-rows
:
auto
auto
auto
1
fr
;
grid-gap
:
25px
;
padding
:
0px
50px
;
}
.section-search
.search-results
.search-results-users
{
display
:
grid
;
...
...
public/assets/css/search.less
View file @
822a57fe
...
...
@@ -2,10 +2,62 @@
display: grid;
grid-template-rows: auto 1fr;
grid-gap: 25px;
padding: 50px;
& .search-bar {
& header {
background: rgba(0,0,0,0.3);
padding: 50px;
padding-bottom: 25px;
& .title {
font-size: 32px;
letter-spacing: 0.05em;
text-transform: uppercase;
margin-bottom: 15px;
font-family: 'Oswald', sans-serif;
}
& .actions {
display: grid;
grid-template-columns: 1fr auto;
grid-gap: 15px;
align-items: center;
& .show-all {
height: 100%;
display: flex;
justify-content: center;
align-items: center;
padding: 0px 10px;
}
input {
width: 100%;
font-family: 'Open Sans', sans-serif;
font-size: 14px;
background: transparent;
color: #fff;
border-radius: 4px;
padding: 9px 20px;
background: rgba(255,255,255,0.2);
border: 0px;
transition: 0.2s ease-in-out all;
&:hover {
background: rgba(255,255,255,0.1);
color: #fff;
}
&:focus {
outline: 0;
border-color: rgba(255,255,255,0.6);
}
&::placeholder {
color: rgba(255,255,255,0.6);
}
}
}
}
/*
& .search-bar {
& form {
background: rgba(255,255,255,0.2);
border-radius: 4px;
...
...
@@ -73,11 +125,12 @@
}
}
}
}
}
*/
& .search-results {
display: grid;
grid-template-rows: auto auto auto 1fr;
grid-gap: 25px;
padding: 0px 50px;
& .search-results-users {
display: grid;
...
...
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