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
2d20bba3
Commit
2d20bba3
authored
Oct 28, 2014
by
Mark Otto
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #14891 from twbs/cursor_var
Add variable for default cursor
parents
aad0f008
e528daf6
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
13 additions
and
10 deletions
+13
-10
less/buttons.less
less/buttons.less
+1
-1
less/dropdowns.less
less/dropdowns.less
+1
-1
less/forms.less
less/forms.less
+4
-4
less/list-group.less
less/list-group.less
+1
-1
less/navs.less
less/navs.less
+1
-1
less/pager.less
less/pager.less
+1
-1
less/pagination.less
less/pagination.less
+1
-1
less/variables.less
less/variables.less
+3
-0
No files found.
less/buttons.less
View file @
2d20bba3
...
@@ -46,7 +46,7 @@
...
@@ -46,7 +46,7 @@
&.disabled,
&.disabled,
&[disabled],
&[disabled],
fieldset[disabled] & {
fieldset[disabled] & {
cursor:
not-allow
ed;
cursor:
@cursor-disabl
ed;
pointer-events: none; // Future-proof disabling of clicks
pointer-events: none; // Future-proof disabling of clicks
.opacity(.65);
.opacity(.65);
.box-shadow(none);
.box-shadow(none);
...
...
less/dropdowns.less
View file @
2d20bba3
...
@@ -111,7 +111,7 @@
...
@@ -111,7 +111,7 @@
background-color: transparent;
background-color: transparent;
background-image: none; // Remove CSS gradient
background-image: none; // Remove CSS gradient
.reset-filter();
.reset-filter();
cursor:
not-allow
ed;
cursor:
@cursor-disabl
ed;
}
}
}
}
...
...
less/forms.less
View file @
2d20bba3
...
@@ -141,7 +141,7 @@ output {
...
@@ -141,7 +141,7 @@ output {
&[disabled],
&[disabled],
&[readonly],
&[readonly],
fieldset[disabled] & {
fieldset[disabled] & {
cursor:
not-allow
ed;
cursor:
@cursor-disabl
ed;
background-color: @input-bg-disabled;
background-color: @input-bg-disabled;
opacity: 1; // iOS fix for unreadable disabled content
opacity: 1; // iOS fix for unreadable disabled content
}
}
...
@@ -275,7 +275,7 @@ input[type="checkbox"] {
...
@@ -275,7 +275,7 @@ input[type="checkbox"] {
&[disabled],
&[disabled],
&.disabled,
&.disabled,
fieldset[disabled] & {
fieldset[disabled] & {
cursor:
not-allow
ed;
cursor:
@cursor-disabl
ed;
}
}
}
}
// These classes are used directly on <label>s
// These classes are used directly on <label>s
...
@@ -283,7 +283,7 @@ input[type="checkbox"] {
...
@@ -283,7 +283,7 @@ input[type="checkbox"] {
.checkbox-inline {
.checkbox-inline {
&.disabled,
&.disabled,
fieldset[disabled] & {
fieldset[disabled] & {
cursor:
not-allow
ed;
cursor:
@cursor-disabl
ed;
}
}
}
}
// These classes are used on elements with <label> descendants
// These classes are used on elements with <label> descendants
...
@@ -292,7 +292,7 @@ input[type="checkbox"] {
...
@@ -292,7 +292,7 @@ input[type="checkbox"] {
&.disabled,
&.disabled,
fieldset[disabled] & {
fieldset[disabled] & {
label {
label {
cursor:
not-allow
ed;
cursor:
@cursor-disabl
ed;
}
}
}
}
}
}
...
...
less/list-group.less
View file @
2d20bba3
...
@@ -74,7 +74,7 @@ a.list-group-item {
...
@@ -74,7 +74,7 @@ a.list-group-item {
&.disabled:focus {
&.disabled:focus {
background-color: @list-group-disabled-bg;
background-color: @list-group-disabled-bg;
color: @list-group-disabled-color;
color: @list-group-disabled-color;
cursor:
not-allow
ed;
cursor:
@cursor-disabl
ed;
// Force color to inherit for custom content
// Force color to inherit for custom content
.list-group-item-heading {
.list-group-item-heading {
...
...
less/navs.less
View file @
2d20bba3
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
color: @nav-disabled-link-hover-color;
color: @nav-disabled-link-hover-color;
text-decoration: none;
text-decoration: none;
background-color: transparent;
background-color: transparent;
cursor:
not-allow
ed;
cursor:
@cursor-disabl
ed;
}
}
}
}
}
}
...
...
less/pager.less
View file @
2d20bba3
...
@@ -48,7 +48,7 @@
...
@@ -48,7 +48,7 @@
> span {
> span {
color: @pager-disabled-color;
color: @pager-disabled-color;
background-color: @pager-bg;
background-color: @pager-bg;
cursor:
not-allow
ed;
cursor:
@cursor-disabl
ed;
}
}
}
}
}
}
less/pagination.less
View file @
2d20bba3
...
@@ -69,7 +69,7 @@
...
@@ -69,7 +69,7 @@
color: @pagination-disabled-color;
color: @pagination-disabled-color;
background-color: @pagination-disabled-bg;
background-color: @pagination-disabled-bg;
border-color: @pagination-disabled-border;
border-color: @pagination-disabled-border;
cursor:
not-allow
ed;
cursor:
@cursor-disabl
ed;
}
}
}
}
}
}
...
...
less/variables.less
View file @
2d20bba3
...
@@ -214,6 +214,9 @@
...
@@ -214,6 +214,9 @@
//** Border color for textual input addons
//** Border color for textual input addons
@input-group-addon-border-color: @input-border;
@input-group-addon-border-color: @input-border;
//** Disabled cursor for form controls and buttons.
@cursor-disabled: not-allowed;
//== Dropdowns
//== Dropdowns
//
//
...
...
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