Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
django-basetheme-bootstrap
Manage
Activity
Members
Labels
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Operate
Environments
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Bryan BRANCOTTE
django-basetheme-bootstrap
Commits
fe571b64
Commit
fe571b64
authored
5 years ago
by
Bryan BRANCOTTE
Browse files
Options
Downloads
Patches
Plain Diff
indicating when menu item are disabled
parent
cf3918d8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
basetheme_bootstrap/static/css/basetheme_bootstrap4_pasteur.css
+8
-0
8 additions, 0 deletions
...eme_bootstrap/static/css/basetheme_bootstrap4_pasteur.css
test_app_1/templates/test_app_1/mybasePasteur.html
+4
-4
4 additions, 4 deletions
test_app_1/templates/test_app_1/mybasePasteur.html
with
12 additions
and
4 deletions
basetheme_bootstrap/static/css/basetheme_bootstrap4_pasteur.css
+
8
−
0
View file @
fe571b64
...
...
@@ -356,6 +356,10 @@ color: #0275e3;
background-color
:
#989287
;
border-color
:
#989287
;
}
.btn-secondary
+
.dropdown-menu
>
.dropdown-item.disabled
,
.btn-secondary
+
.dropdown-menu
>
.dropdown-item
:disabled
,
.btn-outline-secondary
+
.dropdown-menu
>
.dropdown-item.disabled
,
.btn-outline-secondary
+
.dropdown-menu
>
.dropdown-item
:disabled
{
color
:
#bdb6ae
;
}
.btn-primary.dropdown-toggle
+
.dropdown-menu
{
background-color
:
#0275e3
;
border-color
:
#0275e3
;
...
...
@@ -382,6 +386,10 @@ color: #0275e3;
background-color
:
#2d96fa
;
border-color
:
#2d96fa
;
}
.btn-primary
+
.dropdown-menu
>
.dropdown-item.disabled
,
.btn-primary
+
.dropdown-menu
>
.dropdown-item
:disabled
,
.btn-outline-primary
+
.dropdown-menu
>
.dropdown-item.disabled
,
.btn-outline-primary
+
.dropdown-menu
>
.dropdown-item
:disabled
{
color
:
#9fbbd6
;
}
.input-group
>
.input-group-append
:last-child
>
.btn
:not
(
:last-child
)
:not
(
.dropdown-toggle
),
.input-group
>
.input-group-append
:last-child
>
.input-group-text
:not
(
:last-child
),
.input-group
>
.input-group-append
:not
(
:last-child
)>
.btn
,
.input-group
>
.input-group-append
:not
(
:last-child
)>
.input-group-text
,
.input-group
>
.input-group-prepend
>
.btn
,
.input-group
>
.input-group-prepend
>
.input-group-text
{
border-radius
:
0
;
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
test_app_1/templates/test_app_1/mybasePasteur.html
+
4
−
4
View file @
fe571b64
...
...
@@ -57,7 +57,7 @@
</a>
<div
class=
"dropdown-menu"
aria-labelledby=
"dropdownMenuExport"
x-placement=
"bottom-start"
style=
"position: absolute; will-change: transform; top: 0px; left: 0px; transform: translate3d(1258px, 47px, 0px);"
>
<button
class=
"dropdown-item"
type=
"button"
>
<button
class=
"dropdown-item
disabled"
disabled=
"disabled
"
type=
"button"
>
<i
class=
"fa fa-clipboard"
></i>
Copy link into clipboard (recommended)
</button>
...
...
@@ -74,7 +74,7 @@
</a>
<div
class=
"dropdown-menu"
aria-labelledby=
"dropdownMenuExport"
x-placement=
"bottom-start"
style=
"position: absolute; will-change: transform; top: 0px; left: 0px; transform: translate3d(1258px, 47px, 0px);"
>
<button
class=
"dropdown-item"
type=
"button"
>
<button
class=
"dropdown-item
disabled"
disabled=
"disabled
"
type=
"button"
>
<i
class=
"fa fa-clipboard"
></i>
Copy link into clipboard (recommended)
</button>
...
...
@@ -95,7 +95,7 @@
<i
class=
"fa fa-clipboard"
></i>
Copy link into clipboard (recommended)
</button>
<button
class=
"dropdown-item"
type=
"button"
onclick=
"$('form').submit()"
>
<button
class=
"dropdown-item
disabled"
disabled=
"disabled
"
type=
"button"
onclick=
"$('form').submit()"
>
<i
class=
"fa fa-download"
></i>
Download displayed data in a spreadsheet
</button>
...
...
@@ -112,7 +112,7 @@
<i
class=
"fa fa-clipboard"
></i>
Copy link into clipboard (recommended)
</button>
<button
class=
"dropdown-item"
type=
"button"
onclick=
"$('form').submit()"
>
<button
class=
"dropdown-item
disabled"
disabled=
"disabled
"
type=
"button"
onclick=
"$('form').submit()"
>
<i
class=
"fa fa-download"
></i>
Download displayed data in a spreadsheet
</button>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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