Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
node-slate
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nguyễn Hải Sơn
node-slate
Commits
0a0e84b8
Commit
0a0e84b8
authored
Apr 15, 2014
by
Christopher Rogers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Standardizes search styles
Signed-off-by:
Christopher Rogers
<
chrissrogers@gmail.com
>
parent
477146e5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
32 deletions
+33
-32
screen.css.scss
source/stylesheets/screen.css.scss
+31
-32
variables.scss
source/stylesheets/variables.scss
+2
-0
No files found.
source/stylesheets/screen.css.scss
View file @
0a0e84b8
...
...
@@ -36,15 +36,6 @@ html, body {
height
:
100%
;
}
.search-highlight
{
background-image
:
linear-gradient
(
to
bottom
right
,
#F7E633
0%
,
#F1D32F
100%
);
padding
:
2px
;
margin
:
-2px
;
border-radius
:
4px
;
border
:
1px
solid
#F7E633
;
text-shadow
:
1px
1px
0
#666
;
}
////////////////////////////////////////////////////////////////////////////////
// TABLE OF CONTENTS
////////////////////////////////////////////////////////////////////////////////
...
...
@@ -72,7 +63,7 @@ html, body {
input
{
background
:
$nav-bg
;
border-width
:
0
0
1px
0
;
border-color
:
$
nav-footer
-border-color
;
border-color
:
$
search-box
-border-color
;
padding
:
6px
0
6px
20px
;
box-sizing
:
border-box
;
margin
:
10px
15px
;
...
...
@@ -243,28 +234,6 @@ html, body {
////////////////////////////////////////////////////////////////////////////////
// This is all the stuff with the light background in the left half of the page
.search-info
{
margin-top
:
0
;
min-height
:
52px
;
padding
:
1em
1
.75em
;
font-size
:
1
.2em
;
font-weight
:
bold
;
text-shadow
:
0
1px
0
lighten
(
$aside-notice-bg
,
15%
);
background
:
$aside-notice-bg
;
// TODO: color
position
:
fixed
;
z-index
:
75
;
display
:
none
;
@include
box-sizing
(
border-box
);
&
:before
{
@extend
%icon-search
;
vertical-align
:
middle
;
padding-right
:
0
.5em
;
font-size
:
1
.2em
;
}
}
.content
{
// to place content above the dark box
position
:
relative
;
...
...
@@ -442,8 +411,38 @@ html, body {
@extend
%icon-ok-sign
;
}
}
.search-highlight
{
padding
:
2px
;
margin
:
-2px
;
border-radius
:
4px
;
border
:
1px
solid
#F7E633
;
text-shadow
:
1px
1px
0
#666
;
@include
background
(
linear-gradient
(
to
bottom
right
,
#F7E633
0%
,
#F1D32F
100%
));
}
}
.search-info
{
margin-top
:
0
;
min-height
:
52px
;
padding
:
1em
1
.75em
;
font-size
:
1
.2em
;
font-weight
:
bold
;
text-shadow
:
0
1px
0
lighten
(
$search-notice-bg
,
15%
);
background
:
$search-notice-bg
;
position
:
fixed
;
z-index
:
75
;
display
:
none
;
@include
box-sizing
(
border-box
);
&
:before
{
@extend
%icon-search
;
vertical-align
:
middle
;
padding-right
:
0
.5em
;
font-size
:
1
.2em
;
}
}
////////////////////////////////////////////////////////////////////////////////
// CODE SAMPLE STYLES
...
...
source/stylesheets/variables.scss
View file @
0a0e84b8
...
...
@@ -37,6 +37,7 @@ $main-bg: #eaf2f6;
$aside-notice-bg
:
#8fbcd4
;
$aside-warning-bg
:
#c97a7e
;
$aside-success-bg
:
#6ac174
;
$search-notice-bg
:
#8fbcd4
;
// TEXT COLORS
...
...
@@ -86,6 +87,7 @@ $nav-footer-border-color: #666;
$nav-embossed-border-top
:
1px
solid
#000
;
$nav-embossed-border-bottom
:
1px
solid
#404040
;
$main-embossed-text-shadow
:
0px
1px
0px
#fff
;
$search-box-border-color
:
#666
;
////////////////////////////////////////////////////////////////////////////////
...
...
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