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
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Bryan BRANCOTTE
django-basetheme-bootstrap
Commits
185f0964
Commit
185f0964
authored
5 years ago
by
Bryan BRANCOTTE
Browse files
Options
Downloads
Patches
Plain Diff
Applying theme to buttons
WIP #2
parent
f716cfb3
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Pipeline
#14025
passed
5 years ago
Stage: test
Changes
2
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
basetheme_bootstrap/static/css/basetheme_bootstrap4_pasteur.css
+32
-0
32 additions, 0 deletions
...eme_bootstrap/static/css/basetheme_bootstrap4_pasteur.css
test_app_1/templates/test_app_1/mybasePasteur.html
+25
-5
25 additions, 5 deletions
test_app_1/templates/test_app_1/mybasePasteur.html
with
57 additions
and
5 deletions
basetheme_bootstrap/static/css/basetheme_bootstrap4_pasteur.css
+
32
−
0
View file @
185f0964
...
...
@@ -231,3 +231,35 @@ main a {
color
:
#1D1D1B
;
font-family
:
"BrandonGrotesqueBld"
;
}
.btn
{
border-radius
:
0
;
}
.btn-outline-primary
:hover
,
.btn-primary
:hover
{
background-color
:
#0275e3
;
border-color
:
#0275e3
;
}
.btn-outline-secondary
:hover
,
.btn-secondary
:hover
{
background-color
:
#81796a
;
border-color
:
#81796
;
}
.btn-primary
{
color
:
#fff
;
background-color
:
#2d96fa
;
border-color
:
#2d96fa
;
}
.btn-secondary
{
color
:
#fff
;
background-color
:
#989287
;
border-color
:
#989287
;
}
.btn-outline-primary
{
color
:
#2d96fa
;
border-color
:
#2d96fa
;
}
.btn-outline-secondary
{
color
:
#989287
;
border-color
:
#989287
;
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
test_app_1/templates/test_app_1/mybasePasteur.html
+
25
−
5
View file @
185f0964
...
...
@@ -14,11 +14,11 @@
{%block project_name %}TestApp{%endblock%}
{% block content %}
<div
class=
"col-
6
"
>
<div
class=
"col-
4
"
>
<a
href=
"aaa"
>
aaa
</a>
{% crispy form %}
</div>
<div
class=
"col-
6
"
>
<div
class=
"col-
4
"
>
<div
class=
"card"
>
<div
class=
"card-header"
>
The header
...
...
@@ -31,4 +31,24 @@
</div>
</div>
</div>
<div
class=
"col-4"
>
<div
class=
"btn-group d-flex"
role=
"group"
aria-label=
"Get content"
>
<a
href=
"/data-source/30/update/"
role=
"button"
class=
"btn btn-outline-primary"
><i
class=
"fa fa-upload"
></i>
Update content
</a>
<a
href=
"/data-source/30/download/"
role=
"button"
class=
"float-right btn btn-outline-primary"
>
<i
class=
"fa fa-download"
></i>
Download it
</a>
</div>
<br/>
<a
href=
"qsdqsd"
role=
"button"
class=
"btn btn-primary"
>
blabla
</a>
<a
href=
"qsdqsd"
role=
"button"
class=
"btn btn-secondary"
>
blabla
</a>
<a
href=
"qsdqsd"
role=
"button"
class=
"btn btn-outline-primary"
>
blabla
</a>
<a
href=
"qsdqsd"
role=
"button"
class=
"btn btn-outline-secondary"
>
blabla
</a>
<br/>
<button
class=
"btn btn-primary full-width"
type=
"submit"
>
Login
</button>
<button
class=
"btn btn-secondary full-width"
type=
"submit"
>
Login
</button>
<button
class=
"btn btn-outline-primary full-width"
type=
"submit"
>
Login
</button>
<button
class=
"btn btn-outline-secondary full-width"
type=
"submit"
>
Login
</button>
</div>
{% endblock %}
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