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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
8651137a
Commit
8651137a
authored
Mar 07, 2016
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Dropdown variables
parent
c6f51662
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
7 deletions
+12
-7
app/assets/stylesheets/framework/dropdowns.scss
app/assets/stylesheets/framework/dropdowns.scss
+6
-6
app/assets/stylesheets/framework/variables.scss
app/assets/stylesheets/framework/variables.scss
+5
-0
app/views/help/ui.html.haml
app/views/help/ui.html.haml
+1
-1
No files found.
app/assets/stylesheets/framework/dropdowns.scss
View file @
8651137a
...
@@ -187,13 +187,13 @@
...
@@ -187,13 +187,13 @@
position
:
absolute
;
position
:
absolute
;
top
:
-1px
;
top
:
-1px
;
padding
:
0
;
padding
:
0
;
color
:
#BFBFBF
;
color
:
$dropdown-title-btn-color
;
font-size
:
14px
;
font-size
:
14px
;
border
:
0
;
border
:
0
;
background
:
none
;
background
:
none
;
&
:hover
{
&
:hover
{
color
:
darken
(
#BFBFBF
,
15%
);
color
:
darken
(
$dropdown-title-btn-color
,
15%
);
}
}
}
}
...
@@ -222,7 +222,7 @@
...
@@ -222,7 +222,7 @@
.dropdown-input-field
{
.dropdown-input-field
{
width
:
100%
;
width
:
100%
;
padding
:
0
7px
;
padding
:
0
7px
;
color
:
#C7C7C7
;
color
:
$dropdown-input-color
;
line-height
:
30px
;
line-height
:
30px
;
border
:
1px
solid
$dropdown-divider-color
;
border
:
1px
solid
$dropdown-divider-color
;
border-radius
:
2px
;
border-radius
:
2px
;
...
@@ -230,8 +230,8 @@
...
@@ -230,8 +230,8 @@
&
:focus
{
&
:focus
{
color
:
$dropdown-link-color
;
color
:
$dropdown-link-color
;
border-color
:
rgb
(
58
,
171
,
240
)
;
border-color
:
$dropdown-input-focus-border
;
box-shadow
:
0
0
4px
rgba
(
#000
,
.2
)
;
box-shadow
:
0
0
4px
$dropdown-input-focus-shadow
;
+
.fa
{
+
.fa
{
color
:
$dropdown-link-color
;
color
:
$dropdown-link-color
;
...
@@ -265,7 +265,7 @@
...
@@ -265,7 +265,7 @@
left
:
0
;
left
:
0
;
display
:
none
;
display
:
none
;
z-index
:
9
;
z-index
:
9
;
background-color
:
rgba
(
#fff
,
.6
)
;
background-color
:
$dropdown-loading-bg
;
font-size
:
28px
;
font-size
:
28px
;
.fa
{
.fa
{
...
...
app/assets/stylesheets/framework/variables.scss
View file @
8651137a
...
@@ -138,3 +138,8 @@ $dropdown-shadow-color: rgba(#000, .1);
...
@@ -138,3 +138,8 @@ $dropdown-shadow-color: rgba(#000, .1);
$dropdown-divider-color
:
rgba
(
#000
,
.1
);
$dropdown-divider-color
:
rgba
(
#000
,
.1
);
$dropdown-header-color
:
#959494
;
$dropdown-header-color
:
#959494
;
$dropdown-caret-color
:
#54565B
;
$dropdown-caret-color
:
#54565B
;
$dropdown-title-btn-color
:
#BFBFBF
;
$dropdown-input-color
:
#C7C7C7
;
$dropdown-input-focus-border
:
rgb
(
58
,
171
,
240
);
$dropdown-input-focus-shadow
:
rgba
(
#000
,
.2
);
$dropdown-loading-bg
:
rgba
(
#fff
,
.6
);
app/views/help/ui.html.haml
View file @
8651137a
...
@@ -353,7 +353,7 @@
...
@@ -353,7 +353,7 @@
.example
.example
%div
%div
.dropdown.inline
.open
.dropdown.inline
%button
.dropdown-toggle.btn
{
type:
'button'
,
data:
{
toggle:
'dropdown'
}}
%button
.dropdown-toggle.btn
{
type:
'button'
,
data:
{
toggle:
'dropdown'
}}
Dropdown page 2
Dropdown page 2
%b
.caret
%b
.caret
...
...
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