Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
nomad-lab
encyclopedia-gui
Commits
bd7b7018
Commit
bd7b7018
authored
Jul 27, 2018
by
Iker Hurtado
Browse files
Adjust the laying-out of some components and some refactoring
parent
c9532890
Changes
3
Hide whitespace changes
Inline
Side-by-side
client/bundle.js
View file @
bd7b7018
...
...
@@ -7677,17 +7677,14 @@
<div class="search-main-side">
<div class="search-box" >
<div class="search-query-wrapper"
style="float: left;"
>
<div class="search-query-wrapper" >
<div class="search-query-box" style="float: left;">
</div>
<button class="clean-btn" style="float: right;">Clear all</button>
</div>
<button style="float: right" class="search-btn" >Search</button>
<div style="clear: both;"></div>
<div class="exclusive-search-line">
Exclusive search <input class="exclusive-search" type="checkbox" >
</div>
<button class="search-btn" >Search</button>
</div>
...
...
client/css/styles.css
View file @
bd7b7018
...
...
@@ -309,18 +309,22 @@ div.title span.unfolded::before{
}
.search-filter-side
{
background-color
:
#DDD
;
padding
:
10px
16px
;
}
.exclusive-search-line
{
margin
:
4px
auto
;
font-size
:
0.85em
;
text-align
:
left
;
.search-box
{
width
:
742px
;
display
:
flex
;
justify-content
:
center
;
/*space-between;*/
}
.search-query-wrapper
{
width
:
85%
;
flex-grow
:
14
;
background-color
:
white
;
border
:
2px
solid
#E56400
;
padding
:
8px
6px
;
}
...
...
@@ -335,7 +339,9 @@ div.title span.unfolded::before{
}
.search-btn
{
width
:
94px
;
/*width: 94px;*/
display
:
block
;
flex-grow
:
1
;
background-color
:
#E56400
;
color
:
white
;
padding
:
16px
;
...
...
@@ -624,7 +630,7 @@ div#specialRows{margin: 30px 40px;}
#matlist
{
width
:
690
px
;
margin
:
0
auto
8
0px
;}
#matlist
{
width
:
742
px
;
margin
:
40px
auto
4
0px
;}
/* #paginationWg erased*/
#matlist
.formula
{
...
...
@@ -644,6 +650,12 @@ span.prevButton{ display: inline-block; cursor: pointer;}
span
.page
{
display
:
inline-block
;
}
span
.nextButton
{
display
:
inline-block
;
cursor
:
pointer
;}
.data-container
table
{
margin
:
auto
;
width
:
96%
;
}
/*#paginationWg .left { float: left }
#paginationWg .right { float: right }*/
...
...
client/src/search-mod/NewSearchMod.js
View file @
bd7b7018
...
...
@@ -70,17 +70,14 @@ class NewSearchMod {
<div class="search-main-side">
<div class="search-box" >
<div class="search-query-wrapper"
style="float: left;"
>
<div class="search-query-wrapper" >
<div class="search-query-box" style="float: left;">
</div>
<button class="clean-btn" style="float: right;">Clear all</button>
</div>
<button style="float: right" class="search-btn" >Search</button>
<div style="clear: both;"></div>
<div class="exclusive-search-line">
Exclusive search <input class="exclusive-search" type="checkbox" >
</div>
<button class="search-btn" >Search</button>
</div>
...
...
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