Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
persona
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hexang 息壤平台
persona
Commits
ac87642a
Commit
ac87642a
authored
12 years ago
by
Shane Tomlinson
Browse files
Options
Downloads
Patches
Plain Diff
Add spinners to the submit buttons whenever submit is disabled.
parent
cb4e39ac
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
resources/static/common/css/style.css
+19
-11
19 additions, 11 deletions
resources/static/common/css/style.css
with
19 additions
and
11 deletions
resources/static/common/css/style.css
+
19
−
11
View file @
ac87642a
...
...
@@ -260,7 +260,6 @@ button::-moz-focus-inner, .button::-moz-focus-inner {
border
:
0
}
.submit
button
{
padding
:
6px
45px
7px
10px
;
background-color
:
#4eb5e5
;
...
...
@@ -300,7 +299,11 @@ button::-moz-focus-inner, .button::-moz-focus-inner {
background-image
:
url("/common/i/button-arrow-active.png")
,
linear-gradient
(
top
,
#184a73
,
#276084
);
}
/* Override all previously applied styles so that the button does not change
* styles even if the user hovers, focuses or clicks on the button.
*/
button
[
disabled
],
.submit_disabled
button
,
.submit_disabled
.button
,
.submit_disabled
button
:hover
,
.submit_disabled
.button
:hover
,
.submit_disabled
button
:focus
,
.submit_disabled
.button
:focus
,
.submit_disabled
button
:active
,
.submit_disabled
.button
:active
{
color
:
#d8dde0
;
...
...
@@ -319,6 +322,21 @@ button[disabled], .submit_disabled button, .submit_disabled .button,
border-bottom
:
1px
solid
#777
;
}
.submit_disabled
.submit
button
,
.submit_disabled
.submit
.button
,
.submit_disabled
.submit
button
:hover
,
.submit_disabled
.submit
.button
:hover
,
.submit_disabled
.submit
button
:focus
,
.submit_disabled
.submit
.button
:focus
,
.submit_disabled
.submit
button
:active
,
.submit_disabled
.submit
.button
:active
{
background-color
:
#4eb5e5
;
background-image
:
url("/common/i/button-loader.gif")
,
-webkit-gradient
(
linear
,
left
top
,
left
bottom
,
from
(
#4eb5e5
),
to
(
#3196cf
));
background-image
:
url("/common/i/button-loader.gif")
,
-webkit-linear-gradient
(
top
,
#4eb5e5
,
#3196cf
);
background-image
:
url("/common/i/button-loader.gif")
,
-moz-linear-gradient
(
top
,
#4eb5e5
,
#3196cf
);
background-image
:
url("/common/i/button-loader.gif")
,
-ms-linear-gradient
(
top
,
#4eb5e5
,
#3196cf
);
background-image
:
url("/common/i/button-loader.gif")
,
-o-linear-gradient
(
top
,
#4eb5e5
,
#3196cf
);
background-image
:
url("/common/i/button-loader.gif")
,
linear-gradient
(
top
,
#4eb5e5
,
#3196cf
);
background-position
:
95%
center
;
box-shadow
:
inset
0
-1px
0
rgba
(
0
,
0
,
0
,
0.3
),
0
1px
0
rgba
(
0
,
0
,
0
,
0.2
);
}
button
.negative
{
background-color
:
#d94f30
;
background-image
:
-webkit-gradient
(
linear
,
left
top
,
left
bottom
,
from
(
#d94f30
),
to
(
#ad1804
));
...
...
@@ -356,16 +374,6 @@ button.negative:active,
background-image
:
linear-gradient
(
top
,
#83311e
,
#670d01
);
}
button
.loading
,
input
[
type
=
"submit"
]
.loading
,
.submit
button
.loading
,
.submit
.button.loading
{
background-color
:
#4eb5e5
;
background-image
:
url("/common/i/button-loader.gif")
,
-webkit-gradient
(
linear
,
left
top
,
left
bottom
,
from
(
#4eb5e5
),
to
(
#3196cf
));
background-image
:
url("/common/i/button-loader.gif")
,
-webkit-linear-gradient
(
top
,
#4eb5e5
,
#3196cf
);
background-image
:
url("/common/i/button-loader.gif")
,
-moz-linear-gradient
(
top
,
#4eb5e5
,
#3196cf
);
background-image
:
url("/common/i/button-loader.gif")
,
-ms-linear-gradient
(
top
,
#4eb5e5
,
#3196cf
);
background-image
:
url("/common/i/button-loader.gif")
,
-o-linear-gradient
(
top
,
#4eb5e5
,
#3196cf
);
background-image
:
url("/common/i/button-loader.gif")
,
linear-gradient
(
top
,
#4eb5e5
,
#3196cf
);
background-position
:
95%
center
;
}
.tospp
{
line-height
:
14px
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment