Importation des concours
This commit is contained in:
178
public/assets/sass/section/_bottomMenu.scss
Normal file
178
public/assets/sass/section/_bottomMenu.scss
Normal file
@@ -0,0 +1,178 @@
|
||||
.appBottomMenu {
|
||||
min-height: 56px;
|
||||
position: fixed;
|
||||
z-index: 999;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
background: #FFFFFF;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-top: 1px solid $colorLine;
|
||||
padding-left: 4px;
|
||||
padding-right: 4px;
|
||||
padding-bottom: $safeBottom;
|
||||
&.no-border{
|
||||
border: 0 !important;
|
||||
box-shadow: 0 !important;
|
||||
}
|
||||
&.rounded{
|
||||
border-radius: 24px 24px 0 0 !important;
|
||||
.item{
|
||||
&:before{
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
.item {
|
||||
font-size: 9px;
|
||||
letter-spacing: 0;
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
height: 56px;
|
||||
line-height: 1.2em;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
position: relative;
|
||||
&:before{
|
||||
content: '';
|
||||
display: block;
|
||||
height: 2px;
|
||||
border-radius: 0 0 10px 10px;
|
||||
background: transparent;
|
||||
position: absolute;
|
||||
left: 4px;
|
||||
right: 4px;
|
||||
top: 0;
|
||||
}
|
||||
.col{
|
||||
width: 100%;
|
||||
padding: 0 4px;
|
||||
text-align: center;
|
||||
}
|
||||
i.bi,
|
||||
i.icon,
|
||||
ion-icon{
|
||||
display: inline-flex;
|
||||
margin: 1px auto 3px auto;
|
||||
font-size: 26px;
|
||||
line-height: 1em;
|
||||
color: $colorHeading;
|
||||
transition: none;
|
||||
display: block;
|
||||
margin-top: 1px;
|
||||
margin-bottom: 3px;
|
||||
}
|
||||
.action-button{
|
||||
display: inline-flex;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
margin-left: -5px;
|
||||
margin-right: -5px;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 200px;
|
||||
background: $colorPrimary;
|
||||
&.large{
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
margin-top: -20px;
|
||||
margin-left: -10px;
|
||||
margin-right: -10px;
|
||||
}
|
||||
i.bi,
|
||||
i.icon,
|
||||
ion-icon{
|
||||
color: #FFF !important;
|
||||
margin: 0 !important;
|
||||
line-height: 0 !important;
|
||||
}
|
||||
}
|
||||
strong {
|
||||
margin-top: 4px;
|
||||
display: block;
|
||||
color: $colorHeading;
|
||||
font-weight: $regular;
|
||||
transition: none;
|
||||
}
|
||||
&:active{
|
||||
opacity: .8;
|
||||
}
|
||||
&.active {
|
||||
&:before{
|
||||
background: transparent;
|
||||
}
|
||||
i.bi,
|
||||
i.icon,
|
||||
ion-icon,
|
||||
strong {
|
||||
color: $colorPrimary !important;
|
||||
font-weight: $medium;
|
||||
}
|
||||
}
|
||||
&:hover {
|
||||
i.bi,
|
||||
i.icon,
|
||||
ion-icon,
|
||||
strong {
|
||||
color: $colorHeading;
|
||||
}
|
||||
}
|
||||
}
|
||||
&.text-light{
|
||||
color: #FFF;
|
||||
.item{
|
||||
color: #FFF;
|
||||
opacity: .7;
|
||||
i.bi,
|
||||
i.icon,
|
||||
ion-icon,
|
||||
strong{
|
||||
color:#FFF;
|
||||
}
|
||||
&.active{
|
||||
opacity: 1;
|
||||
i.bi,
|
||||
i.icon,
|
||||
ion-icon,
|
||||
strong{
|
||||
color: #FFF !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
&.bg-primary,
|
||||
&.bg-secondary,
|
||||
&.bg-success,
|
||||
&.bg-warning,
|
||||
&.bg-danger,
|
||||
&.bg-info,
|
||||
&.bg-light,
|
||||
&.bg-dark{
|
||||
border: 0;
|
||||
.item{
|
||||
&:before{
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.infinite-menu{
|
||||
display: block;
|
||||
overflow-x: auto;
|
||||
white-space: nowrap;
|
||||
margin: 0;
|
||||
&::-webkit-scrollbar{
|
||||
width: 0;
|
||||
height: 0;
|
||||
}
|
||||
.item{
|
||||
display: inline-flex;
|
||||
flex: unset;
|
||||
margin: 0 5px 0 0;
|
||||
width: 20%;
|
||||
}
|
||||
}
|
||||
77
public/assets/sass/section/_content.scss
Normal file
77
public/assets/sass/section/_content.scss
Normal file
@@ -0,0 +1,77 @@
|
||||
#appCapsule {
|
||||
padding: 56px 0;
|
||||
margin-bottom: $safeBottom;
|
||||
margin-top: $safeTop;
|
||||
&.extra-header-active{
|
||||
padding-top: 112px;
|
||||
}
|
||||
&.full-height{
|
||||
min-height: 100vh;
|
||||
}
|
||||
}
|
||||
.section {
|
||||
padding: 0 16px;
|
||||
&.full {
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
.wide-block {
|
||||
background: #fff;
|
||||
border-top: 1px solid $colorLine;
|
||||
border-bottom: 1px solid $colorLine;
|
||||
padding-left: 16px;
|
||||
padding-right: 16px;
|
||||
&.transparent{
|
||||
background: transparent !important;
|
||||
}
|
||||
}
|
||||
.section-title {
|
||||
font-size: $fontSize;
|
||||
padding: 6px 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
color: $colorHeading;
|
||||
font-weight: $medium;
|
||||
&.large{
|
||||
font-size: $fontSizeHeadingLarge;
|
||||
line-height: 1.2em;
|
||||
font-weight: $bold;
|
||||
}
|
||||
&.medium{
|
||||
font-size: $fontSizeHeading;
|
||||
font-weight: $bold;
|
||||
}
|
||||
}
|
||||
.content-header,
|
||||
.content-footer {
|
||||
font-size: $fontSizeCaption;
|
||||
color: $colorLight;
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
line-height: 1.4em;
|
||||
}
|
||||
.section.full {
|
||||
.section-title {
|
||||
padding-left: 16px;
|
||||
padding-right: 16px;
|
||||
}
|
||||
.content-header,
|
||||
.content-footer {
|
||||
padding-left: 16px;
|
||||
padding-right: 16px;
|
||||
}
|
||||
.wide-block {
|
||||
.content-header,
|
||||
.content-footer {
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
.section.inset {
|
||||
.wide-block {
|
||||
border: 1px solid $colorLine;
|
||||
border-radius: $borderRadius;
|
||||
}
|
||||
}
|
||||
65
public/assets/sass/section/_footer.scss
Normal file
65
public/assets/sass/section/_footer.scss
Normal file
@@ -0,0 +1,65 @@
|
||||
.appFooter {
|
||||
border-top: 1px solid $colorLine;
|
||||
padding: 24px 16px;
|
||||
font-size: 12px;
|
||||
text-align: center;
|
||||
line-height: 1.2em;
|
||||
background: #fff;
|
||||
.footer-title {
|
||||
font-weight: $medium;
|
||||
color: $colorHeading;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
.btn {
|
||||
margin: 0 5px;
|
||||
}
|
||||
}
|
||||
.fixed-footer {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
min-height: 84px;
|
||||
right: 0;
|
||||
background: #fff;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding-left: 8px;
|
||||
padding-right: 8px;
|
||||
padding-bottom: $safeBottom;
|
||||
> div {
|
||||
width: 100%;
|
||||
}
|
||||
&.transparent {
|
||||
background: transparent !important;
|
||||
}
|
||||
}
|
||||
.footer-logo{
|
||||
height: 16px;
|
||||
}
|
||||
.footer-link{
|
||||
padding: 0;
|
||||
border-top: 1px solid rgba($colorLine, .5);
|
||||
border-bottom: 1px solid rgba($colorLine, .5);
|
||||
margin-left: -16px;
|
||||
margin-right: -16px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
a{
|
||||
flex: 1;
|
||||
padding: 12px 2px;
|
||||
width: 100%;
|
||||
color: $colorText;
|
||||
display: block;
|
||||
span{
|
||||
display: block;
|
||||
}
|
||||
i.bi,
|
||||
i.icon,
|
||||
ion-icon{
|
||||
font-size: 24px;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
}
|
||||
}
|
||||
189
public/assets/sass/section/_header.scss
Normal file
189
public/assets/sass/section/_header.scss
Normal file
@@ -0,0 +1,189 @@
|
||||
.appHeader {
|
||||
min-height: 56px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
position: fixed;
|
||||
top: $safeTop;
|
||||
left: 0;
|
||||
right: 0;
|
||||
z-index: 999;
|
||||
background: #FFF;
|
||||
color: $colorHeading;
|
||||
box-shadow: $boxShadow;
|
||||
&:before{
|
||||
content: '';
|
||||
height: $safeTop;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
width: 100%;
|
||||
z-index: 9999;
|
||||
background: $colorPrimary;
|
||||
}
|
||||
&.no-border {
|
||||
border: 0;
|
||||
box-shadow: none;
|
||||
}
|
||||
&.transparent {
|
||||
background: transparent;
|
||||
box-shadow: none;
|
||||
}
|
||||
.left,
|
||||
.right {
|
||||
height: 56px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
position: absolute;
|
||||
i.bi,
|
||||
i.icon,
|
||||
ion-icon {
|
||||
font-size: 26px;
|
||||
--ionicon-stroke-width: 36px;
|
||||
}
|
||||
.headerButton {
|
||||
min-width: 36px;
|
||||
height: 56px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 10px;
|
||||
color: $colorHeading;
|
||||
position: relative;
|
||||
.btn {
|
||||
font-size: 16px;
|
||||
height: 32px;
|
||||
padding: 0px 14px;
|
||||
font-weight: $regular;
|
||||
}
|
||||
&:active {
|
||||
opacity: 0.6;
|
||||
}
|
||||
}
|
||||
}
|
||||
.left {
|
||||
left: 8px;
|
||||
top: 0;
|
||||
}
|
||||
.right {
|
||||
right: 8px;
|
||||
top: 0;
|
||||
}
|
||||
.pageTitle {
|
||||
font-size: $fontSizeHeading;
|
||||
font-weight: $medium;
|
||||
padding: 0 10px;
|
||||
.logo {
|
||||
max-height: 18px;
|
||||
}
|
||||
}
|
||||
&.text-light {
|
||||
color: #fff;
|
||||
.headerButton,
|
||||
.pageTitle{
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
&.bg-primary,
|
||||
&.bg-secondary,
|
||||
&.bg-success,
|
||||
&.bg-warning,
|
||||
&.bg-danger,
|
||||
&.bg-info,
|
||||
&.bg-light,
|
||||
&.bg-dark {
|
||||
border: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.extraHeader {
|
||||
position: fixed;
|
||||
left: 0;
|
||||
top: 56px;
|
||||
height: 56px;
|
||||
right: 0;
|
||||
width: 100%;
|
||||
padding: 5px 16px;
|
||||
margin-top: $safeTop;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
background: #fff;
|
||||
z-index: 1000;
|
||||
box-shadow: $boxShadow;
|
||||
}
|
||||
|
||||
.header-large-title {
|
||||
padding: 0 16px;
|
||||
.title {
|
||||
margin: 4px 0 0 0;
|
||||
font-size: $fontSizeHeadingXLarge;
|
||||
letter-spacing: -0.02em;
|
||||
line-height: 1.3em;
|
||||
}
|
||||
.subtitle{
|
||||
font-size: $fontSizeHeading;
|
||||
font-weight: $regular;
|
||||
margin: 6px 0 0 0;
|
||||
color: $colorHeading;
|
||||
line-height: 1.6em;
|
||||
}
|
||||
}
|
||||
|
||||
.appHeader.scrolled {
|
||||
background: transparent;
|
||||
border-bottom: 1px solid transparent;
|
||||
box-shadow: none;
|
||||
height: 0;
|
||||
transition: 0.1s all;
|
||||
.pageTitle {
|
||||
opacity: 0;
|
||||
}
|
||||
&.is-active {
|
||||
background: #FFF;
|
||||
min-height: 56px;
|
||||
border-bottom-color: $colorLine;
|
||||
box-shadow: $boxShadow;
|
||||
.pageTitle {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@mixin appHeaderColored($color) {
|
||||
background: transparent !important;
|
||||
border-bottom: 0 !important;
|
||||
.headerButton{
|
||||
color: $color;
|
||||
}
|
||||
&.is-active{
|
||||
background: $color !important;
|
||||
.headerButton{
|
||||
color: #FFF !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.appHeader.scrolled.bg-primary{
|
||||
@include appHeaderColored($colorPrimary);
|
||||
}
|
||||
.appHeader.scrolled.bg-secondary{
|
||||
@include appHeaderColored($colorSecondary);
|
||||
}
|
||||
.appHeader.scrolled.bg-success{
|
||||
@include appHeaderColored($colorSuccess);
|
||||
}
|
||||
.appHeader.scrolled.bg-danger{
|
||||
@include appHeaderColored($colorDanger);
|
||||
}
|
||||
.appHeader.scrolled.bg-warning{
|
||||
@include appHeaderColored($colorWarning);
|
||||
}
|
||||
.appHeader.scrolled.bg-info{
|
||||
@include appHeaderColored($colorInfo);
|
||||
}
|
||||
.appHeader.scrolled.bg-dark{
|
||||
@include appHeaderColored(#000);
|
||||
}
|
||||
174
public/assets/sass/section/_sidebar.scss
Normal file
174
public/assets/sass/section/_sidebar.scss
Normal file
@@ -0,0 +1,174 @@
|
||||
$sidebarWidth : 300px;
|
||||
|
||||
.profileBox{
|
||||
width: $sidebarWidth;
|
||||
padding-left: 16px;
|
||||
padding-right: 16px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
position: relative;
|
||||
background: $colorPrimary;
|
||||
box-shadow: $boxShadow;
|
||||
position: fixed;
|
||||
z-index: 100;
|
||||
left: 0;
|
||||
top: 0;
|
||||
margin-top: $safeTop;
|
||||
&:before{
|
||||
background: $colorPrimary; // do not forget to change this background color if you change profilebox
|
||||
content: '';
|
||||
height: $safeTop;
|
||||
display: block;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: $sidebarWidth;
|
||||
}
|
||||
.image-wrapper {
|
||||
margin-right: 16px;
|
||||
padding: 16px 0;
|
||||
.imaged{
|
||||
width: 42px;
|
||||
height: 42px;
|
||||
border: 2px solid #FFF;
|
||||
box-shadow: $boxShadow;
|
||||
}
|
||||
}
|
||||
.in {
|
||||
line-height: 1.4em;
|
||||
padding: 16px 25px 16px 0;
|
||||
strong {
|
||||
display: block;
|
||||
font-weight: $medium;
|
||||
color: #FFF;
|
||||
}
|
||||
.text-muted {
|
||||
font-size: 14px;
|
||||
color: rgba(255,255,255,.5) !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
.sidebar-buttons{
|
||||
width: $sidebarWidth;
|
||||
background: #FFF;
|
||||
border-top: 1px solid $colorLine;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
position: fixed;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
padding-bottom: $safeBottom;
|
||||
.button{
|
||||
width: 100%;
|
||||
height: 56px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 26px;
|
||||
color: $colorHeading;
|
||||
&:hover,
|
||||
&:active{
|
||||
background: rgba($colorLine, .2);
|
||||
}
|
||||
}
|
||||
&:last-child{
|
||||
border-right-color: transparent;
|
||||
}
|
||||
}
|
||||
.close-sidebar-button{
|
||||
font-size: 22px;
|
||||
position: absolute;
|
||||
width: 36px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
border-radius: 100%;
|
||||
justify-content: center;
|
||||
height: 36px;
|
||||
right: 10px;
|
||||
top: 50%;
|
||||
color: rgba(255,255,255,.5) !important;
|
||||
margin-top: -18px;
|
||||
&:active{
|
||||
background: rgba(255,255,255,.1);
|
||||
}
|
||||
}
|
||||
|
||||
.action-group{
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
padding: 0px 16px 10px 16px;
|
||||
background: $colorPrimary;
|
||||
.action-button{
|
||||
padding: 10px 2px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
text-align: center;
|
||||
font-size: $fontSizeCaption;
|
||||
line-height: 1em;
|
||||
color: rgba(255,255,255,.7);
|
||||
.iconbox{
|
||||
background: rgba(#000, .3);
|
||||
width: 38px;
|
||||
height: 38px;
|
||||
margin: 0 auto 8px auto;
|
||||
border-radius: 100%;
|
||||
font-size: 18px;
|
||||
color: #FFF;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
&:last-child{
|
||||
border-right: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
#sidebarPanel{
|
||||
padding: 0;
|
||||
padding-top: $safeTop;
|
||||
padding-bottom: $safeBottom;
|
||||
.offcanvas-body{
|
||||
padding: 0 0 70px 0;
|
||||
margin-top: 74px;
|
||||
}
|
||||
.modal-content{
|
||||
width: $sidebarWidth;
|
||||
padding-top: $safeTop;
|
||||
}
|
||||
}
|
||||
|
||||
.panelbox-left,
|
||||
.panelbox-right{
|
||||
.listview{
|
||||
> li{
|
||||
padding: 10px 16px;
|
||||
}
|
||||
}
|
||||
.link-listview{
|
||||
> li{
|
||||
padding: 0;
|
||||
a{
|
||||
padding: 10px 36px 10px 16px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.image-listview{
|
||||
> li{
|
||||
padding: 0;
|
||||
.item{
|
||||
padding: 10px 16px;
|
||||
}
|
||||
a.item{
|
||||
padding-right: 36px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.sidebar-close{
|
||||
position: absolute;
|
||||
right: 10px;
|
||||
}
|
||||
Reference in New Issue
Block a user