UI: Blender-id web-assets v2 upgrade #93590
1
.gitmodules
vendored
1
.gitmodules
vendored
@ -3,6 +3,7 @@
|
|||||||
# Please keep this a publicly accessible URL, as it is used for the
|
# Please keep this a publicly accessible URL, as it is used for the
|
||||||
# automatic deployment.
|
# automatic deployment.
|
||||||
url = https://projects.blender.org/infrastructure/web-assets.git
|
url = https://projects.blender.org/infrastructure/web-assets.git
|
||||||
|
branch = v2
|
||||||
[submodule "playbooks/shared"]
|
[submodule "playbooks/shared"]
|
||||||
path = playbooks/shared
|
path = playbooks/shared
|
||||||
url = https://projects.blender.org/infrastructure/web-playbooks
|
url = https://projects.blender.org/infrastructure/web-playbooks
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 41b3c1678602b71a18f0e29f3abc59a03b878beb
|
Subproject commit f74960d430061fca60cf4cd8a85276bd47990f0f
|
@ -1,5 +1,5 @@
|
|||||||
body.is-auth-page
|
body.is-auth-page
|
||||||
--btn-accent-box-shadow: 0px 4px 10px rgba(0,82,255,.2), 1px 10px 25px rgba(0,82,255,.1)
|
--btn-accent-box-shadow: 0px var(--spacer-1) var(--spacer-2) rgba(0,82,255,.2), .1rem var(--spacer-2) var(--spacer-4) rgba(0,82,255,.1)
|
||||||
|
|
||||||
.container-main
|
.container-main
|
||||||
align-items: center
|
align-items: center
|
||||||
@ -8,26 +8,31 @@ body.is-auth-page
|
|||||||
height: 100%
|
height: 100%
|
||||||
justify-content: center
|
justify-content: center
|
||||||
|
|
||||||
|
.container
|
||||||
|
max-height: 100%
|
||||||
|
overflow-y: auto
|
||||||
|
|
||||||
.box
|
.box
|
||||||
backdrop-filter: blur(25px)
|
@extend .bg-filter-blur
|
||||||
background-color: rgba(white, .66)
|
@extend .bg-noise
|
||||||
box-shadow: 0 15px 50px rgba(black, .15)
|
|
||||||
margin-bottom: 6rem
|
box-shadow: 0 var(--spacer) var(--spacer-5) rgba(black, .15)
|
||||||
padding: 2rem
|
margin-bottom: var(--spacer-1)
|
||||||
|
padding: calc(var(--spacer) * 2)
|
||||||
|
|
||||||
.btn-accent
|
.btn-accent
|
||||||
padding-block: .33rem
|
padding-block: .2rem
|
||||||
|
|
||||||
input.form-control
|
input.form-control
|
||||||
border-color: transparent
|
border-color: transparent
|
||||||
height: unset
|
height: unset
|
||||||
|
|
||||||
&:focus
|
&:focus
|
||||||
border-color: var(--color-primary)
|
border-color: var(--color-accent)
|
||||||
|
|
||||||
.blender-logo
|
.blender-logo
|
||||||
filter: drop-shadow(2px 0px 15px rgba(0,0,0,0.15))
|
filter: drop-shadow(.2rem 0 var(--spacer) rgba(0,0,0,0.15))
|
||||||
margin: 1rem auto
|
margin: calc(var(--spacer) * 2) auto
|
||||||
z-index: 1
|
z-index: 1
|
||||||
|
|
||||||
form
|
form
|
||||||
@ -40,15 +45,15 @@ body.is-auth-page
|
|||||||
right: 0
|
right: 0
|
||||||
z-index: 1
|
z-index: 1
|
||||||
|
|
||||||
.page-background
|
.page-bg
|
||||||
background-size: cover
|
background-size: cover
|
||||||
bottom: 0
|
height: 100%
|
||||||
left: 0
|
left: 0
|
||||||
opacity: .8
|
opacity: .8
|
||||||
pointer-events: none
|
pointer-events: none
|
||||||
position: fixed
|
position: absolute
|
||||||
right: 0
|
|
||||||
top: 0
|
top: 0
|
||||||
|
width: 100%
|
||||||
|
|
||||||
&::after
|
&::after
|
||||||
background-color: transparent
|
background-color: transparent
|
||||||
@ -60,12 +65,15 @@ body.is-auth-page
|
|||||||
|
|
||||||
.blender-logo
|
.blender-logo
|
||||||
display: block
|
display: block
|
||||||
width: 250px
|
|
||||||
|
svg
|
||||||
|
height: calc(var(--spacer) * 5)
|
||||||
|
max-width: 100%
|
||||||
|
|
||||||
.auth-notes
|
.auth-notes
|
||||||
background-color: rgba(black, .05)
|
background-color: rgba(black, .05)
|
||||||
border-bottom-right-radius: var(--border-radius)
|
border-bottom-right-radius: var(--border-radius)
|
||||||
border-left: 4px solid rgba(black, .2)
|
border-left: var(--spacer-1) solid rgba(black, .2)
|
||||||
border-top-right-radius: var(--border-radius)
|
border-top-right-radius: var(--border-radius)
|
||||||
+margin(3, top)
|
+margin(3, top)
|
||||||
+padding(3, left)
|
+padding(3, left)
|
||||||
|
@ -1,49 +1,13 @@
|
|||||||
@import toastr.min
|
@import toastr.min
|
||||||
|
|
||||||
// Import variables.
|
|
||||||
@import '../../../../assets_shared/src/styles/_media_queries'
|
|
||||||
@import '../../../../assets_shared/src/styles/_variables'
|
|
||||||
|
|
||||||
/* Import Bootstrap. */
|
|
||||||
@import '../../../../assets_shared/src/styles/bootstrap/_functions'
|
|
||||||
@import '../../../../assets_shared/src/styles/bootstrap/_variables'
|
|
||||||
@import '../../../../assets_shared/src/styles/bootstrap/_mixins'
|
|
||||||
@import '../../../../assets_shared/src/styles/bootstrap/_root'
|
|
||||||
@import '../../../../assets_shared/src/styles/bootstrap/_reboot'
|
|
||||||
@import '../../../../assets_shared/src/styles/bootstrap/_images'
|
|
||||||
@import '../../../../assets_shared/src/styles/bootstrap/_grid'
|
|
||||||
@import '../../../../assets_shared/src/styles/bootstrap/_forms'
|
|
||||||
@import '../../../../assets_shared/src/styles/bootstrap/_transitions'
|
|
||||||
@import '../../../../assets_shared/src/styles/bootstrap/_nav'
|
|
||||||
@import '../../../../assets_shared/src/styles/bootstrap/_navbar'
|
|
||||||
@import '../../../../assets_shared/src/styles/bootstrap/_media'
|
|
||||||
@import '../../../../assets_shared/src/styles/bootstrap/_utilities'
|
|
||||||
|
|
||||||
@import '../../../../assets_shared/src/styles/_mixins'
|
|
||||||
@import '../../../../assets_shared/src/styles/_utilities'
|
|
||||||
|
|
||||||
$font-path: '/static/assets/fonts'
|
$font-path: '/static/assets/fonts'
|
||||||
@import '../../../../assets_shared/src/styles/_fonts'
|
|
||||||
|
|
||||||
@import '../../../../assets_shared/src/styles/_bootstrap_overrides'
|
/* Import Blender Web Assets. */
|
||||||
|
@import '../../../../assets_shared/src/styles/main'
|
||||||
@import '../../../../assets_shared/src/styles/_alert'
|
|
||||||
@import '../../../../assets_shared/src/styles/_base'
|
|
||||||
@import '../../../../assets_shared/src/styles/_box'
|
|
||||||
@import '../../../../assets_shared/src/styles/_button'
|
|
||||||
@import '../../../../assets_shared/src/styles/_cards'
|
|
||||||
@import '../../../../assets_shared/src/styles/_code'
|
|
||||||
@import '../../../../assets_shared/src/styles/_footer'
|
|
||||||
@import '../../../../assets_shared/src/styles/_forms'
|
|
||||||
@import '../../../../assets_shared/src/styles/_hero'
|
|
||||||
@import '../../../../assets_shared/src/styles/_list'
|
|
||||||
@import '../../../../assets_shared/src/styles/_navigation'
|
|
||||||
@import '../../../../assets_shared/src/styles/_navigation_global'
|
|
||||||
@import '../../../../assets_shared/src/styles/_sidebar'
|
|
||||||
@import '../../../../assets_shared/src/styles/_type'
|
|
||||||
|
|
||||||
@import '_auth'
|
@import '_auth'
|
||||||
|
|
||||||
|
// TODO: check explicit font-sizes
|
||||||
.bid
|
.bid
|
||||||
&-user // .bid-user
|
&-user // .bid-user
|
||||||
align-items: center
|
align-items: center
|
||||||
@ -58,7 +22,8 @@ $font-path: '/static/assets/fonts'
|
|||||||
|
|
||||||
&-links // .bid-links
|
&-links // .bid-links
|
||||||
display: flex
|
display: flex
|
||||||
font-size: var(--font-size-small)
|
font-size: var(--fs-sm)
|
||||||
|
line-height: var(--lh-sm)
|
||||||
justify-content: space-between
|
justify-content: space-between
|
||||||
+list-unstyled
|
+list-unstyled
|
||||||
margin: var(--spacer) 0 0 0
|
margin: var(--spacer) 0 0 0
|
||||||
@ -75,7 +40,7 @@ $font-path: '/static/assets/fonts'
|
|||||||
|
|
||||||
&-header // .bid-header
|
&-header // .bid-header
|
||||||
font-size: 1.1em
|
font-size: 1.1em
|
||||||
margin: 10px
|
margin: var(--spacer-2)
|
||||||
|
|
||||||
&-tokens // .bid-tokens
|
&-tokens // .bid-tokens
|
||||||
+list-unstyled
|
+list-unstyled
|
||||||
@ -94,13 +59,13 @@ $font-path: '/static/assets/fonts'
|
|||||||
|
|
||||||
.app-url
|
.app-url
|
||||||
color: var(--text-color-secondary)
|
color: var(--text-color-secondary)
|
||||||
font-size: var(--font-size-small)
|
font-size: var(--fs-sm)
|
||||||
|
|
||||||
.app-icon
|
.app-icon
|
||||||
border-radius: var(--border-radius)
|
border-radius: var(--border-radius)
|
||||||
height: 48px
|
height: var(--spacer-5)
|
||||||
+margin(3, right)
|
+margin(3, right)
|
||||||
width: 48px
|
width: var(--spacer-5)
|
||||||
|
|
||||||
.app
|
.app
|
||||||
&-url
|
&-url
|
||||||
@ -113,6 +78,13 @@ $font-path: '/static/assets/fonts'
|
|||||||
&:hover
|
&:hover
|
||||||
color: lighten(var(--color-danger), 10%)
|
color: lighten(var(--color-danger), 10%)
|
||||||
|
|
||||||
|
&.box
|
||||||
|
overflow-x: auto
|
||||||
|
|
||||||
|
td,
|
||||||
|
th
|
||||||
|
white-space: nowrap
|
||||||
|
|
||||||
.app-info
|
.app-info
|
||||||
display: flex
|
display: flex
|
||||||
flex: 1
|
flex: 1
|
||||||
@ -125,7 +97,7 @@ $font-path: '/static/assets/fonts'
|
|||||||
position: absolute
|
position: absolute
|
||||||
|
|
||||||
.cke
|
.cke
|
||||||
margin-top: 40px !important
|
margin-top: var(--spacer-5) !important
|
||||||
|
|
||||||
.authorize
|
.authorize
|
||||||
padding: 20px
|
padding: 20px
|
||||||
@ -135,32 +107,32 @@ $font-path: '/static/assets/fonts'
|
|||||||
margin: 0 auto 15px
|
margin: 0 auto 15px
|
||||||
position: relative
|
position: relative
|
||||||
|
|
||||||
img, .authorize__app-image_placeholder
|
img, .authorize__app-img_placeholder
|
||||||
height: 100px
|
height: 100px
|
||||||
width: 100px
|
width: 100px
|
||||||
|
|
||||||
.authorize__app-image
|
.authorize__app-img
|
||||||
background: #7596d9
|
background: #7596d9
|
||||||
margin-right: 20px
|
margin-right: var(--spacer-4)
|
||||||
|
|
||||||
.authorize__app-image_placeholder
|
.authorize__app-img_placeholder
|
||||||
background: #7596d9
|
background: #7596d9
|
||||||
margin-right: 20px
|
margin-right: var(--spacer-4)
|
||||||
|
|
||||||
.authorize__app-image_placeholder_icon
|
.authorize__app-img_placeholder_icon
|
||||||
position: absolute
|
position: absolute
|
||||||
top: 20px
|
top: var(--spacer-4)
|
||||||
left: 33px
|
left: calc(var(--spacer) * 2)
|
||||||
color: white
|
color: white
|
||||||
|
|
||||||
.authorize__person-image
|
.authorize__person-img
|
||||||
background: #afd876
|
background: #afd876
|
||||||
|
|
||||||
.authorize__pictogram__arrow
|
.authorize__pictogram__arrow
|
||||||
margin-top: -98px
|
margin-top: -98px // TODO: check magic number
|
||||||
|
|
||||||
font-family: FontAwesome
|
font-family: FontAwesome
|
||||||
font-size: 70px
|
font-size: 7.2rem
|
||||||
color: white
|
color: white
|
||||||
|
|
||||||
&:before
|
&:before
|
||||||
@ -170,42 +142,42 @@ $font-path: '/static/assets/fonts'
|
|||||||
|
|
||||||
|
|
||||||
&__title
|
&__title
|
||||||
margin-bottom: 10px !important
|
margin-bottom: var(--spacer-2) !important
|
||||||
text-align: center
|
text-align: center
|
||||||
|
|
||||||
&__blurb
|
&__blurb
|
||||||
max-width: 60%
|
max-width: 60%
|
||||||
margin: 20px auto !important
|
margin: var(--spacer-4) auto !important
|
||||||
font-size: 16px
|
font-size: 1.6rem
|
||||||
|
|
||||||
text-shadow: none
|
text-shadow: none
|
||||||
text-align: center
|
text-align: center
|
||||||
|
|
||||||
&__info
|
&__info
|
||||||
font-size: 13px
|
font-size: var(-fs-sm)
|
||||||
color: #737373
|
color: #737373
|
||||||
|
|
||||||
&__review
|
&__review
|
||||||
padding: 20px 0
|
padding: var(--spacer-4) 0
|
||||||
margin-bottom: 20px
|
margin-bottom: var(--spacer-4)
|
||||||
|
|
||||||
border-top: 1px solid #dfdfdf
|
border-top: .1rem solid #dfdfdf
|
||||||
border-bottom: 1px solid #dfdfdf
|
border-bottom: .1rem solid #dfdfdf
|
||||||
|
|
||||||
h3
|
h3
|
||||||
margin: 0 0 10px 15px
|
margin: 0 0 var(--spacer-2) var(--spacer)
|
||||||
|
|
||||||
ul
|
ul
|
||||||
padding-left: 15px
|
padding-left: var(--spacer)
|
||||||
|
|
||||||
li
|
li
|
||||||
margin-bottom: 5px
|
margin-bottom: var(--spacer-1)
|
||||||
|
|
||||||
.btn-chooser
|
.btn-chooser
|
||||||
padding-bottom: 20px
|
padding-bottom: var(--spacer-4)
|
||||||
|
|
||||||
.btn
|
.btn
|
||||||
margin-right: 10px
|
margin-right: var(--spacer-2)
|
||||||
&:last-child
|
&:last-child
|
||||||
margin-right: 0
|
margin-right: 0
|
||||||
|
|
||||||
@ -215,11 +187,11 @@ $font-path: '/static/assets/fonts'
|
|||||||
|
|
||||||
.box__learn-more
|
.box__learn-more
|
||||||
display: block
|
display: block
|
||||||
font-size: 12px
|
font-size: 1.2rem
|
||||||
text-align: center
|
text-align: center
|
||||||
|
|
||||||
.profile.address .box
|
.profile.address .box
|
||||||
padding: 15px
|
padding: var(--spacer)
|
||||||
|
|
||||||
.profile.address .box h2
|
.profile.address .box h2
|
||||||
padding: 0
|
padding: 0
|
||||||
@ -248,7 +220,7 @@ ul.errorlist
|
|||||||
|
|
||||||
@media (min-width: 991px)
|
@media (min-width: 991px)
|
||||||
.box.decent-height
|
.box.decent-height
|
||||||
min-height: 400px
|
min-height: calc(var(--spacer) * 25)
|
||||||
|
|
||||||
.developer-apps
|
.developer-apps
|
||||||
form .form-check-input
|
form .form-check-input
|
||||||
@ -259,15 +231,15 @@ ul.errorlist
|
|||||||
h2 i
|
h2 i
|
||||||
color: var(--color-warning)
|
color: var(--color-warning)
|
||||||
|
|
||||||
.badge-image
|
.badge-img
|
||||||
--badge-image-size: 64px
|
--badge-img-size: calc(var(--spacer) * 4)
|
||||||
margin: 0
|
margin: 0
|
||||||
transition: opacity var(--transition-speed-slow)
|
transition: opacity var(--transition-speed-slow)
|
||||||
|
|
||||||
img
|
img
|
||||||
border-radius: var(--border-radius-lg)
|
border-radius: var(--border-radius-lg)
|
||||||
height: var(--badge-image-size)
|
height: var(--badge-img-size)
|
||||||
width: var(--badge-image-size)
|
width: var(--badge-img-size)
|
||||||
|
|
||||||
.badge-info
|
.badge-info
|
||||||
flex: 1
|
flex: 1
|
||||||
@ -286,7 +258,7 @@ ul.badges
|
|||||||
+list-unstyled
|
+list-unstyled
|
||||||
margin: 0
|
margin: 0
|
||||||
|
|
||||||
.badge-image
|
.badge-img
|
||||||
+margin(3, right)
|
+margin(3, right)
|
||||||
|
|
||||||
li
|
li
|
||||||
@ -300,7 +272,7 @@ ul.badges
|
|||||||
color: var(--text-color-secondary)
|
color: var(--text-color-secondary)
|
||||||
opacity: .5
|
opacity: .5
|
||||||
|
|
||||||
.badge-image
|
.badge-img
|
||||||
opacity: .3
|
opacity: .3
|
||||||
|
|
||||||
.toggle-group
|
.toggle-group
|
||||||
@ -329,23 +301,23 @@ ul.badges
|
|||||||
left: -50%
|
left: -50%
|
||||||
|
|
||||||
.toggle
|
.toggle
|
||||||
background-color: var(--color-primary)
|
background-color: var(--color-accent)
|
||||||
border-radius: 999em
|
border-radius: 999em
|
||||||
padding: 0
|
padding: 0
|
||||||
|
|
||||||
&:hover
|
&:hover
|
||||||
background-color: var(--color-primary)
|
background-color: var(--color-accent)
|
||||||
|
|
||||||
&.btn
|
&.btn
|
||||||
min-height: 30px !important
|
min-height: calc(var(--spacer) * 2) !important
|
||||||
|
|
||||||
.toggle .toggle-handle
|
.toggle .toggle-handle
|
||||||
background-color: white
|
background-color: white
|
||||||
border: none
|
border: none
|
||||||
border-radius: 999em
|
border-radius: 999em
|
||||||
height: 20px
|
height: var(--spacer-4)
|
||||||
padding: 0
|
padding: 0
|
||||||
width: 20px
|
width: var(--spacer-4)
|
||||||
|
|
||||||
.badge-privacy-toggle
|
.badge-privacy-toggle
|
||||||
align-self: flex-start
|
align-self: flex-start
|
||||||
@ -367,9 +339,9 @@ ul.badges
|
|||||||
form
|
form
|
||||||
.profile-avatar
|
.profile-avatar
|
||||||
img
|
img
|
||||||
height: 150px
|
height: calc(var(--spacer) * 10)
|
||||||
max-width: initial
|
max-width: initial
|
||||||
width: 150px
|
width: calc(var(--spacer) * 10)
|
||||||
|
|
||||||
.nav-global
|
.nav-global
|
||||||
.profile-avatar
|
.profile-avatar
|
||||||
@ -388,17 +360,99 @@ form
|
|||||||
/* Larger icons */
|
/* Larger icons */
|
||||||
i.icon.icon-lg
|
i.icon.icon-lg
|
||||||
svg
|
svg
|
||||||
width: 32px
|
width: calc(var(--spacer) * 2)
|
||||||
height: 32px
|
height: calc(var(--spacer) * 2)
|
||||||
max-width: 32px
|
max-width: calc(var(--spacer) * 2)
|
||||||
max-height: 32px
|
max-height: calc(var(--spacer) * 2)
|
||||||
|
|
||||||
/* Bootstrap's outline icons */
|
/* Bootstrap's outline icons */
|
||||||
svg.bi
|
svg.bi
|
||||||
stroke: none
|
stroke: none
|
||||||
margin-top: -3px
|
margin-top: -.3rem // TODO: check magic number
|
||||||
|
|
||||||
.oauth-logo
|
.oauth-logo
|
||||||
max-width: 210px
|
// TODO: check magic numbers
|
||||||
max-height: 85px
|
max-width: 21.0rem
|
||||||
|
max-height: 8.5rem
|
||||||
width: 100%
|
width: 100%
|
||||||
|
|
||||||
|
/* Web Assets overrides. */
|
||||||
|
// TODO: @web-assets v2 check --input-color-bg-hover
|
||||||
|
\:root
|
||||||
|
--input-color-bg: white
|
||||||
|
--input-color-bg-hover: var(--input-color-bg)
|
||||||
|
|
||||||
|
.btn
|
||||||
|
justify-content: center
|
||||||
|
|
||||||
|
.footer-pages
|
||||||
|
line-height: var(--lh-sm)
|
||||||
|
|
||||||
|
a
|
||||||
|
+padding(0, y)
|
||||||
|
+padding(2, x)
|
||||||
|
|
||||||
|
form
|
||||||
|
// TODO: @web-assets check form buttons sizing height
|
||||||
|
.btn
|
||||||
|
align-items: center
|
||||||
|
display: flex
|
||||||
|
min-height: var(--spacer-5)
|
||||||
|
|
||||||
|
.form-check
|
||||||
|
align-items: center
|
||||||
|
display: flex
|
||||||
|
padding-left: 0
|
||||||
|
|
||||||
|
// TODO: @web-assets consolidate input checkbox styles
|
||||||
|
input
|
||||||
|
&[type="checkbox"]
|
||||||
|
height: auto
|
||||||
|
+margin(0, left)
|
||||||
|
+margin(2, right)
|
||||||
|
+margin(0, top)
|
||||||
|
position: static
|
||||||
|
transform: scale(1.25)
|
||||||
|
transform-origin: left
|
||||||
|
|
||||||
|
&:hover
|
||||||
|
cursor: pointer
|
||||||
|
|
||||||
|
.form-group
|
||||||
|
display: block
|
||||||
|
|
||||||
|
.form-text
|
||||||
|
ul
|
||||||
|
+margin(2, top)
|
||||||
|
+padding(3, left)
|
||||||
|
|
||||||
|
+media-lg
|
||||||
|
.nav-global-container
|
||||||
|
max-width: 117.0rem
|
||||||
|
|
||||||
|
/* Utilities. */
|
||||||
|
// TODO: make bg filter blur uniform in project
|
||||||
|
// TODO: @web-assets move to web-assets
|
||||||
|
.bg-filter-blur
|
||||||
|
background-color: transparent
|
||||||
|
backdrop-filter: blur(var(--spacer-4))
|
||||||
|
position: relative
|
||||||
|
|
||||||
|
&::before
|
||||||
|
background-color: var(--box-bg-color)
|
||||||
|
border-radius: var(--border-radius)
|
||||||
|
content: ""
|
||||||
|
height: 100%
|
||||||
|
left: 0
|
||||||
|
opacity: .8
|
||||||
|
position: absolute
|
||||||
|
top: 0
|
||||||
|
width: 100%
|
||||||
|
z-index: -1
|
||||||
|
|
||||||
|
.bg-noise
|
||||||
|
// SVG generated at https://fffuel.co/nnnoise
|
||||||
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' version='1.1' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:svgjs='http://svgjs.dev/svgjs' viewBox='0 0 700 700' width='700' height='700'%3E%3Cdefs%3E%3Cfilter id='nnnoise-filter' x='-20%25' y='-20%25' width='140%25' height='140%25' filterUnits='objectBoundingBox' primitiveUnits='userSpaceOnUse' color-interpolation-filters='linearRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.102' numOctaves='4' seed='15' stitchTiles='stitch' x='0%25' y='0%25' width='100%25' height='100%25' result='turbulence'%3E%3C/feTurbulence%3E%3CfeSpecularLighting surfaceScale='15' specularConstant='0.75' specularExponent='20' lighting-color='%23f5a623' x='0%25' y='0%25' width='100%25' height='100%25' in='turbulence' result='specularLighting'%3E%3CfeDistantLight azimuth='3' elevation='100'%3E%3C/feDistantLight%3E%3C/feSpecularLighting%3E%3CfeColorMatrix type='saturate' values='0' x='0%25' y='0%25' width='100%25' height='100%25' in='specularLighting' result='colormatrix'%3E%3C/feColorMatrix%3E%3C/filter%3E%3C/defs%3E%3Crect width='700' height='700' fill='transparent'%3E%3C/rect%3E%3Crect width='700' height='700' fill='%23f5a623' filter='url(%23nnnoise-filter)'%3E%3C/rect%3E%3C/svg%3E")
|
||||||
|
|
||||||
|
.mh-0
|
||||||
|
min-height: 0 !important
|
||||||
|
@ -32,10 +32,10 @@ Active Sessions
|
|||||||
</td>
|
</td>
|
||||||
<td>{{ session.ip }}</td>
|
<td>{{ session.ip }}</td>
|
||||||
<td>{{ session.device }}</td>
|
<td>{{ session.device }}</td>
|
||||||
<td class="text-center">
|
<td>
|
||||||
<form action="{% url 'bid_main:terminate_session' session.pk %}" method="post">
|
<form action="{% url 'bid_main:terminate_session' session.pk %}" class="d-flex justify-content-end" method="post">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
<button type="submit" class="btn-danger" title="Terminate Session"><i class="i-trash"></i></button>
|
<button type="submit" class="btn btn-danger mh-0" title="Terminate Session"><i class="i-trash"></i></button>
|
||||||
</form>
|
</form>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<div class="col">
|
<div class="col">
|
||||||
<div class="oauth-background mb-4" style="background-image:url({{ oauth_app.background.url }})">
|
<div class="oauth-bg mb-4" style="background-image:url({{ oauth_app.background.url }})">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
||||||
<div class="col-md-7 col-sm-6 mx-auto d-flex flex-column align-items-sm-start align-items-center justify-content-center text-center text-sm-left mb-sm-0">
|
<div class="col-md-7 col-sm-6 mx-auto d-flex flex-column align-items-sm-start align-items-center justify-content-center text-center text-sm-left mb-sm-0">
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<div class="bid-cta">
|
<div class="bid-cta">
|
||||||
<div><p><i class="icon mr-2">
|
<div><p><i class="icon me-2">
|
||||||
<svg class="bi" xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
|
<svg class="bi" xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
|
||||||
<path d="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"></path>
|
<path d="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"></path>
|
||||||
<path d="M8.93 6.588l-2.29.287-.082.38.45.083c.294.07.352.176.288.469l-.738 3.468c-.194.897.105 1.319.808 1.319.545 0 1.178-.252 1.465-.598l.088-.416c-.2.176-.492.246-.686.246-.275 0-.375-.193-.304-.533L8.93 6.588zM9 4.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0z"></path>
|
<path d="M8.93 6.588l-2.29.287-.082.38.45.083c.294.07.352.176.288.469l-.738 3.468c-.194.897.105 1.319.808 1.319.545 0 1.178-.252 1.465-.598l.088-.416c-.2.176-.492.246-.686.246-.275 0-.375-.193-.304-.533L8.93 6.588zM9 4.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0z"></path>
|
||||||
|
@ -39,7 +39,7 @@ Profile
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<div class="bid-user">
|
<div class="bid-user">
|
||||||
<a class="mr-4" href="{% url 'bid_main:profile' %}">{% avatar %}</a>
|
<a class="me-4" href="{% url 'bid_main:profile' %}">{% avatar %}</a>
|
||||||
|
|
||||||
<div class="bid-user-info">
|
<div class="bid-user-info">
|
||||||
{% if not user.full_name %}
|
{% if not user.full_name %}
|
||||||
|
@ -40,8 +40,10 @@
|
|||||||
|
|
||||||
<!-- Avatar input-->
|
<!-- Avatar input-->
|
||||||
{% avatar size=128 %}
|
{% avatar size=128 %}
|
||||||
<div class="custom-file my-3">
|
|
||||||
<input class="custom-file-input" id="avatar-file-input" type="file" name="avatar"/>
|
<div class="d-flex form-group my-3">
|
||||||
|
<span class="form-group-addon"><i class="i-image"></i></span>
|
||||||
|
<input class="form-control" id="avatar-file-input" name="avatar" type="file">
|
||||||
</div>
|
</div>
|
||||||
<div class="form-check">
|
<div class="form-check">
|
||||||
<input class="form-check-input" type="checkbox" name="avatar-clear"/>
|
<input class="form-check-input" type="checkbox" name="avatar-clear"/>
|
||||||
@ -54,7 +56,7 @@
|
|||||||
<span>Cancel</span>
|
<span>Cancel</span>
|
||||||
</a>
|
</a>
|
||||||
{% if user.is_staff %}
|
{% if user.is_staff %}
|
||||||
<a class="mr-auto btn btn-admin" href="{% url 'admin:bid_main_user_change' user.id %}">
|
<a class="me-auto btn btn-admin" href="{% url 'admin:bid_main_user_change' user.id %}">
|
||||||
Admin
|
Admin
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<li class="badge js-badge {{ badge.name }}{% if badge.id in private_badge_ids %} is-private{% endif %}" title="{{ badge.description }}">
|
<li class="badge js-badge {{ badge.name }}{% if badge.id in private_badge_ids %} is-private{% endif %}" title="{{ badge.description }}">
|
||||||
|
|
||||||
{% if badge.badge_img %}
|
{% if badge.badge_img %}
|
||||||
<figure class="badge-image">
|
<figure class="badge-img">
|
||||||
<img src="{{ badge.badge_img.url }}" alt="{{ badge.description }}" width="{{ badge.badge_img_width }}" height="{{ badge.badge_img_height }}"/>
|
<img src="{{ badge.badge_img.url }}" alt="{{ badge.description }}" width="{{ badge.badge_img_width }}" height="{{ badge.badge_img_height }}"/>
|
||||||
</figure>
|
</figure>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
<label class="{{ label_class }}" for="{{ field.id_for_label }}">
|
<label class="{{ label_class }}" for="{{ field.id_for_label }}">
|
||||||
<span>{% firstof label field.label %}</span>
|
<span>{% firstof label field.label %}</span>
|
||||||
{% if field.help_text and field.errors %}
|
{% if field.help_text and field.errors %}
|
||||||
<span class="small subtitle ml-2">{{ field.help_text }}</span>
|
<span class="small subtitle ms-2">{{ field.help_text }}</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if field.field.required %}
|
{% if field.field.required %}
|
||||||
<span class="form-required-indicator ml-1">*</span>
|
<span class="form-required-indicator ms-1">*</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</label>
|
</label>
|
||||||
{% endspaceless %}
|
{% endspaceless %}
|
||||||
|
@ -79,7 +79,7 @@
|
|||||||
</div>
|
</div>
|
||||||
{% get_flatpages as flatpages %}
|
{% get_flatpages as flatpages %}
|
||||||
{% if flatpages %}
|
{% if flatpages %}
|
||||||
<div class="footer-pages pt-2">
|
<div class="footer-pages">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<ul class="d-flex justify-content-center">
|
<ul class="d-flex justify-content-center">
|
||||||
{% for page in flatpages %}
|
{% for page in flatpages %}
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user