Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
quassel-rest-search
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Janne Mareike Koschinski
quassel-rest-search
Commits
72b15c2c
Commit
72b15c2c
authored
8 years ago
by
Janne Mareike Koschinski
Browse files
Options
Downloads
Patches
Plain Diff
Updated frontend code to prepare for additional selectors
parent
0ca37e8c
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
res/search.css
+41
-21
41 additions, 21 deletions
res/search.css
templates/search.phtml
+1
-1
1 addition, 1 deletion
templates/search.phtml
with
42 additions
and
22 deletions
res/search.css
+
41
−
21
View file @
72b15c2c
...
...
@@ -113,28 +113,28 @@ nav.search .wrapper {
background
:
#fff
;
}
nav
input
[
type
=
text
]
::-moz-placeholder
{
nav
.search
input
[
type
=
text
]
::-moz-placeholder
{
color
:
#ffffff
;
opacity
:
1
;
-webkit-font-smoothing
:
antialiased
;
-moz-osx-font-smoothing
:
grayscale
;
}
nav
input
[
type
=
text
]
::-webkit-input-placeholder
{
nav
.search
input
[
type
=
text
]
::-webkit-input-placeholder
{
color
:
#ffffff
;
opacity
:
1
;
-webkit-font-smoothing
:
antialiased
;
-moz-osx-font-smoothing
:
grayscale
;
}
nav
input
[
type
=
text
]
:
focus:
:-moz-placeholder
{
nav
.search
input
[
type
=
text
]
::-moz-placeholder
{
color
:
#757575
;
opacity
:
1
;
-webkit-font-smoothing
:
antialiased
;
-moz-osx-font-smoothing
:
grayscale
;
}
nav
input
[
type
=
text
]
:
focus:
:-webkit-input-placeholder
{
nav
.search
input
[
type
=
text
]
::-webkit-input-placeholder
{
color
:
#757575
;
opacity
:
1
;
-webkit-font-smoothing
:
antialiased
;
...
...
@@ -145,22 +145,46 @@ nav input[type=text]:focus::-webkit-input-placeholder {
max-width
:
1136px
;
margin
:
10px
auto
;
height
:
36px
;
display
:
block
;
display
:
flex
;
position
:
relative
;
}
nav
input
[
type
=
text
]
{
width
:
100%
;
height
:
100%
;
display
:
inline-block
;
border
:
none
;
-webkit-transition
:
background
.15s
;
transition
:
background
.15s
;
background
:
rgba
(
255
,
255
,
255
,
.15
);
border-radius
:
2px
;
padding
:
0
72px
;
padding
:
0
0
0
72px
;
color
:
#ffffff
;
box-sizing
:
border-box
;
flex-direction
:
row
;
}
#searchbar
label
.clip
{
display
:
inline-block
;
height
:
20px
;
line-height
:
20px
;
margin
:
8px
0
;
background
:
#afb42b
;
padding
:
0
8px
;
border-radius
:
10px
;
color
:
#ffffff
;
}
#searchbar
label
.clip
:not
(
:first-of-type
)
{
margin-left
:
8px
;
}
#searchbar
label
{
display
:
inline-block
;
line-height
:
36px
;
}
#searchbar
input
[
type
=
text
]
{
display
:
inline-block
;
flex-grow
:
1
;
flex-shrink
:
1
;
background
:
none
;
border
:
none
;
line-height
:
100%
;
color
:
inherit
!important
;
}
#searchicon
{
...
...
@@ -170,7 +194,7 @@ nav input[type=text] {
position
:
absolute
;
text-align
:
center
;
line-height
:
36px
;
color
:
#ffffff
;
color
:
inherit
!important
;
left
:
0
;
top
:
0
;
}
...
...
@@ -238,17 +262,13 @@ article > inline-button {
background
:
#f5f5f5
;
}
nav
input
[
type
=
text
]
:hover
{
#searchbar
:hover
{
background
:
rgba
(
255
,
255
,
255
,
.25
);
}
nav
input
[
type
=
text
]
:focus
{
nav
.search
#searchbar
{
background
:
#f6f6f6
;
color
:
#212121
;
}
nav
input
[
type
=
text
]
:focus
+
#searchicon
{
color
:
#212121
;
color
:
#212121
!important
;
}
.icon
{
...
...
This diff is collapsed.
Click to expand it.
templates/search.phtml
+
1
−
1
View file @
72b15c2c
...
...
@@ -19,8 +19,8 @@
<nav>
<div
class=
"wrapper"
>
<div
id=
"searchbar"
>
<input
name=
"q"
id=
"q"
placeholder=
"
<?php
$t
(
'search'
);
?>
"
type=
"text"
autocomplete=
"off"
>
<div
id=
"searchicon"
class=
"icon"
>
search
</div>
<input
name=
"q"
id=
"q"
placeholder=
"
<?php
$t
(
'search'
);
?>
"
type=
"text"
autocomplete=
"off"
>
</div>
</div>
<div
id=
"actions"
>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment