Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bootstrap
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
Administrator
bootstrap
Commits
1fd92378
Commit
1fd92378
authored
Sep 01, 2013
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixes #9909: Add component active color variable to complement component active bg variable
parent
bfda156b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
customize.html
customize.html
+6
-2
less/variables.less
less/variables.less
+2
-1
No files found.
customize.html
View file @
1fd92378
...
@@ -554,10 +554,14 @@ base_url: "../"
...
@@ -554,10 +554,14 @@ base_url: "../"
<input
type=
"text"
class=
"form-control"
placeholder=
"6px"
data-var=
"@border-radius-large"
>
<input
type=
"text"
class=
"form-control"
placeholder=
"6px"
data-var=
"@border-radius-large"
>
<label>
@border-radius-small
</label>
<label>
@border-radius-small
</label>
<input
type=
"text"
class=
"form-control"
placeholder=
"3px"
data-var=
"@border-radius-small"
>
<input
type=
"text"
class=
"form-control"
placeholder=
"3px"
data-var=
"@border-radius-small"
>
<h4>
Active text color
</h4>
<label>
@component-active-color
</label>
<input
type=
"text"
class=
"form-control"
placeholder=
"#fff"
data-var=
"@component-active-color"
>
<p
class=
"help-block"
>
Global color for active items (e.g., navs or dropdowns)
</p>
<h4>
Active background color
</h4>
<h4>
Active background color
</h4>
<label>
@component-active-bg
</label>
<label>
@component-active-bg
</label>
<input
type=
"text"
class=
"form-control"
placeholder=
"@brand-primary"
data-var=
"@component-active-bg"
>
<input
type=
"text"
class=
"form-control"
placeholder=
"@brand-primary"
data-var=
"@component-active-bg"
>
<p
class=
"help-block"
>
Used for active or hovered items in places like navs or dropdowns.
</p>
<p
class=
"help-block"
>
Global background color for active items (e.g., navs or dropdowns)
</p>
</div>
</div>
</div>
</div>
...
@@ -923,7 +927,7 @@ base_url: "../"
...
@@ -923,7 +927,7 @@ base_url: "../"
<p
class=
"help-block"
>
Hovered dropdown menu entry text color
</p>
<p
class=
"help-block"
>
Hovered dropdown menu entry text color
</p>
<label>
@dropdown-link-active-color
</label>
<label>
@dropdown-link-active-color
</label>
<input
type=
"text"
class=
"form-control"
placeholder=
"
#fff
"
data-var=
"@dropdown-link-active-color"
>
<input
type=
"text"
class=
"form-control"
placeholder=
"
@component-active-color
"
data-var=
"@dropdown-link-active-color"
>
<p
class=
"help-block"
>
Active dropdown menu entry text color
</p>
<p
class=
"help-block"
>
Active dropdown menu entry text color
</p>
<label>
@dropdown-link-active-bg
</label>
<label>
@dropdown-link-active-bg
</label>
<input
type=
"text"
class=
"form-control"
placeholder=
"@component-active-bg"
data-var=
"@dropdown-link-active-bg"
>
<input
type=
"text"
class=
"form-control"
placeholder=
"@component-active-bg"
data-var=
"@dropdown-link-active-bg"
>
...
...
less/variables.less
View file @
1fd92378
...
@@ -91,6 +91,7 @@
...
@@ -91,6 +91,7 @@
@border-radius-large: 6px;
@border-radius-large: 6px;
@border-radius-small: 3px;
@border-radius-small: 3px;
@component-active-color: #fff;
@component-active-bg: @brand-primary;
@component-active-bg: @brand-primary;
@caret-width-base: 4px;
@caret-width-base: 4px;
...
@@ -178,7 +179,7 @@
...
@@ -178,7 +179,7 @@
@dropdown-link-hover-color: darken(@gray-dark, 5%);
@dropdown-link-hover-color: darken(@gray-dark, 5%);
@dropdown-link-hover-bg: #f5f5f5;
@dropdown-link-hover-bg: #f5f5f5;
@dropdown-link-active-color:
#fff
;
@dropdown-link-active-color:
@component-active-color
;
@dropdown-link-active-bg: @component-active-bg;
@dropdown-link-active-bg: @component-active-bg;
@dropdown-link-disabled-color: @gray-light;
@dropdown-link-disabled-color: @gray-light;
...
...
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