Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
96b2959f
Commit
96b2959f
authored
Nov 06, 2012
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Styled chosen css. Lighter box shadow for blocks
parent
378ae951
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
58 additions
and
25 deletions
+58
-25
app/assets/stylesheets/main.scss
app/assets/stylesheets/main.scss
+15
-6
app/assets/stylesheets/ref_select.scss
app/assets/stylesheets/ref_select.scss
+43
-19
No files found.
app/assets/stylesheets/main.scss
View file @
96b2959f
...
@@ -3,10 +3,11 @@
...
@@ -3,10 +3,11 @@
@import
'font-awesome'
;
@import
'font-awesome'
;
/** GitLab colors **/
/** GitLab colors **/
$link_color
:
#3A89A3
;
$link_color
:
#3A89A3
;
$blue_link
:
#2
fa0bb
;
$blue_link
:
#2
FA0BB
;
$style_color
:
#474
d
57
;
$style_color
:
#474
D
57
;
$hover
:
#D9EDF7
;
$hover
:
#D9EDF7
;
$hover_border
:
#ADF
;
/** GitLab Fonts **/
/** GitLab Fonts **/
@font-face
{
font-family
:
Korolev
;
src
:
font-url
(
'korolev-medium-compressed.otf'
);
}
@font-face
{
font-family
:
Korolev
;
src
:
font-url
(
'korolev-medium-compressed.otf'
);
}
...
@@ -19,9 +20,9 @@ $hover: #D9EDF7;
...
@@ -19,9 +20,9 @@ $hover: #D9EDF7;
}
}
@mixin
solid_shade
{
@mixin
solid_shade
{
-moz-box-shadow
:
0
0
0
3px
#
eee
;
-moz-box-shadow
:
0
0
0
3px
#
f1f1f1
;
-webkit-box-shadow
:
0
0
0
3px
#
eee
;
-webkit-box-shadow
:
0
0
0
3px
#
f1f1f1
;
box-shadow
:
0
0
0
3px
#
eee
;
box-shadow
:
0
0
0
3px
#
f1f1f1
;
}
}
@mixin
border-radius
(
$radius
)
{
@mixin
border-radius
(
$radius
)
{
...
@@ -64,6 +65,14 @@ $hover: #D9EDF7;
...
@@ -64,6 +65,14 @@ $hover: #D9EDF7;
background-image
:
-o-linear-gradient
(
$from
,
$to
);
background-image
:
-o-linear-gradient
(
$from
,
$to
);
}
}
@mixin
bg-light-gray-gradient
{
background
:
#f1f1f1
;
background-image
:
-webkit-gradient
(
linear
,
0
0
,
0
30
,
color-stop
(
0
.066
,
#f5f5f5
)
,
to
(
#e1e1e1
));
background-image
:
-webkit-linear-gradient
(
#f5f5f5
6
.6%
,
#e1e1e1
);
background-image
:
-moz-linear-gradient
(
#f5f5f5
6
.6%
,
#e1e1e1
);
background-image
:
-o-linear-gradient
(
#f5f5f5
6
.6%
,
#e1e1e1
);
}
@mixin
bg-gray-gradient
{
@mixin
bg-gray-gradient
{
background
:
#eee
;
background
:
#eee
;
background-image
:
-webkit-gradient
(
linear
,
0
0
,
0
30
,
color-stop
(
0
.066
,
#eee
)
,
to
(
#dfdfdf
));
background-image
:
-webkit-gradient
(
linear
,
0
0
,
0
30
,
color-stop
(
0
.066
,
#eee
)
,
to
(
#dfdfdf
));
...
...
app/assets/stylesheets/ref_select.scss
View file @
96b2959f
...
@@ -19,31 +19,66 @@
...
@@ -19,31 +19,66 @@
margin-right
:
10px
;
margin-right
:
10px
;
.chzn-drop
{
.chzn-drop
{
margin
:
7px
0
;
min-width
:
400px
;
min-width
:
400px
;
border
:
2px
solid
$blue_link
;
.chzn-results
{
@include
border-radius
(
4px
);
max-height
:
300px
;
}
.chzn-search
input
{
min-width
:
365px
;
}
}
}
/** Fix for Search Dropdown Border **/
.chzn-container
{
.chzn-search
{
input
:focus
{
-webkit-box-shadow
:
none
;
-moz-box-shadow
:
none
;
box-shadow
:
none
;
}
}
.chzn-drop
{
margin
:
7px
0
;
min-width
:
200px
;
border
:
1px
solid
#bbb
;
border-radius
:
0
;
.chzn-results
{
.chzn-results
{
margin-top
:
5px
;
max-height
:
300px
;
max-height
:
300px
;
.group-result
{
.group-result
{
color
:
$blue_link
;
color
:
$style_color
;
border-bottom
:
1px
solid
#EEE
;
padding
:
8px
;
}
}
.active-result
{
.active-result
{
border-radius
:
0
;
&
.highlighted
{
&
.highlighted
{
background
:
$blue_link
;
background
:
$hover
;
color
:
$style_color
;
}
&
.result-selected
{
background
:
#EEE
;
border-left
:
4px
solid
#CCC
;
}
}
}
}
}
}
.chzn-search
input
{
.chzn-search
{
min-width
:
365px
;
@include
bg-gray-gradient
;
input
{
min-width
:
165px
;
border-color
:
#CCC
;
}
}
}
}
}
.chzn-single
{
.chzn-single
{
@include
bg-gray-gradient
;
@include
bg-
light-
gray-gradient
;
div
{
div
{
background
:transparent
;
background
:transparent
;
...
@@ -55,14 +90,3 @@
...
@@ -55,14 +90,3 @@
}
}
}
}
}
}
/** Fix for Search Dropdown Border **/
.chzn-container
{
.chzn-search
{
input
:focus
{
-webkit-box-shadow
:
none
;
-moz-box-shadow
:
none
;
box-shadow
:
none
;
}
}
}
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