Skip to content

Commit

Permalink
Mise à jour pour la version beta2 du CMS.
Browse files Browse the repository at this point in the history
  • Loading branch information
noelma committed Sep 13, 2020
1 parent d95760c commit c13ba10
Show file tree
Hide file tree
Showing 11 changed files with 960 additions and 0 deletions.
390 changes: 390 additions & 0 deletions assets/css/admin.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,390 @@
.btn.btn-action {
margin-right: 5px;
}
.btn-toogle-password {
background: none;
border: 1px solid #ccc;
color: #337ab7;
font-weight: 600;
z-index: 9;
}
.btn-toogle-password i {
width: 18px;
}
.sticky{
position: initial;
top: 5em;
}
@media (min-width: 992px){
.sticky{
position: -webkit-sticky;
position: sticky;
}
}
.action_bar {
margin-bottom: 1em;
}
.is-invalid{
border-color:#a94442;
}

/* --------------------------- */
/* -------- FORM FLEX-- ------ */
/* --------------------------- */
.form-group-inline {
display: inline-block;
}
.form-group-flex{
align-items: stretch;
display: -ms-flexbox;
display: flex;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
-ms-flex-align: stretch;
position: relative;
width: 100%;
}
.form-group-flex > input{
-ms-flex: 1 1 auto;
flex: 1 1 auto;
margin-bottom: 0;
position: relative;
width: 1%;
}
.form-flex-prepend{
display: -ms-flexbox;
display: flex;
}
.form-group-flex span{
background-color: #eee;
padding: .5em;
}
.form-group-flex > button,
.form-group-flex > .form-control:not(:first-child){
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
.form-group-flex > button,
.form-group-flex > .form-control:not(:last-child){
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}


/* --------------------------- */
/* ------ CONFIGURATION ------ */
/* --------------------------- */
#nav_config ul{
padding: 0;
}
#nav_config ul li{
list-style: none;
}
#nav_config ul li a{
display:block;
padding: .5em 1em;
}
#nav_config ul li a:hover{
background: #e1e4e8;
}
#nav_config ul li.active a{
color: #FFF;
background: #1a92bb;
}


/* --------------------------- */
/* ---------- FILE ----------- */
/* --------------------------- */
.input-file-img {
max-height: 200px;
max-width: 100%;
}


/* --------------------------- */
/* ---------- USER ----------- */
/* --------------------------- */
#nav_user{
padding-bottom: 1em;
}
#nav_user ul{
list-style-type: none;
padding: 0;
}
#nav_user li{
display: inline;
}
.user-picture,
.user-picture_default{
border: 1px solid #e1e4e8;
border-bottom-color: rgb(225, 228, 232);
border-bottom-style: solid;
border-bottom-width: 1px;
}
.user-picture_default {
position: relative;
width: 100%;
white-space: nowrap;
background: #e6e7f4;
}
.user-picture_default:after {
content: "";
display: block;
padding-bottom: 100%;
}
.user-picture_default_username {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 5em;
color: #FFF;
}
.user-title{
padding-top: 1em;
padding-bottom: 1em;
margin: 0;
}
.user-fullname,
.user-username{
display:block;
}
.user-fullname{
color: #333;
font-size: 26px;
line-height: 30px;
font-weight: bold;
}
.user-username {
color: #666;
font-size: 20px;
font-style: normal;
font-weight: 300;
line-height: 24px;
}


/* --------------------------- */
/* ---------- ROLE ----------- */
/* --------------------------- */
.badge-role {
border-radius: 1em;
box-shadow: 0 2px 2px rgba(0,0,0,.2);
color: #fff;
display: inline-block;
height: 1.5em;
line-height: 1.3em;
text-align: center;
vertical-align: middle;
width: 1.5em;
}
.badge-role i {
font-size: .8em;
}
#role_color_btn{
color: #fff;
text-shadow: rgba(0,0,0,.75) 0 0 1px;
}


/* --------------------------- */
/* ---------- TABLE ---------- */
/* --------------------------- */
.table > tbody > tr > td,
.table > tbody > tr > th,
.table > tfoot > tr > td,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > thead > tr > th {
vertical-align: middle;
padding: 1em;
}
thead{
background-color: #1c889e;
color: #fff;
font-family: "Open Sans","Segoe UI","Helvetica",sans-serif;
font-size: 14px;
font-weight: bold;
text-transform: uppercase;
}
.responsive thead tr th{
padding: 1em;
}
@media (max-width: 768px) {
.table > tbody > tr > td,
.table > tbody > tr > th,
.table > tfoot > tr > td,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > thead > tr > th {
border: 0;
}
.responsive table,
.responsive thead,
.responsive tbody,
.responsive th,
.responsive td,
.responsive tr {
display: block;
}
.responsive thead {
display:none;
}
.responsive td {
position: relative;
border: 0px solid transparent;
padding-left: 50% !important;
white-space: normal;
text-align:right;
border-bottom: 0;
}
.responsive td:before {
content: attr(data-title);
position: absolute;
left: 0;
width: 45%;
height:100%;
white-space: nowrap;
text-overflow: ellipsis !important;
overflow:hidden !important;
text-align:left;
font-weight: 600;
padding-left: 1em;
}
.responsive tbody tr th a,
.responsive tbody tr th{
background-color:#1c889e;
color: #fff;
}
}


/* --------------------------- */
/* -------- TOOLTIP ---------- */
/* --------------------------- */
label[data-tooltip] {
display: block;
}
[data-tooltip] {
cursor: help;
position: relative;
}
[data-tooltip]:before,
[data-tooltip]:after {
opacity: 0;
visibility: hidden;
z-index: 9999;
}
[data-tooltip]:before {
bottom: 100%;
background: #20222d;
background: rgba(32, 34, 45, 0.8);
color: #fff;
content: attr(data-tooltip);
font-size: 14px;
left: -10px;
transform: translateX(-50%) translateY(0);
margin-bottom: 9px;
padding: 8px 10px;
position: absolute;
}
label[data-tooltip]:before {
transform: none;
}
/* Triangle */
[data-tooltip]:after {
border-top: 10px solid #20222d;
border-right: 10px solid transparent;
border-left: 10px solid transparent;
bottom: 100%;
content: "";
left: 0;
position: absolute;
}
[data-tooltip]:hover:before,
[data-tooltip]:hover:after {
opacity: 1;
transition: opacity .5s;
visibility: visible;
}


/* --------------------------- */
/* -------- MODULES ---------- */
/* --------------------------- */
.module-icon {
width: 4em;
background: #e6e7f4;
background-color: rgb(230, 231, 244);
color: #666999;
font-size: 1em;
display: inline-block;
line-height: 2em;
text-align: center;
padding: 1em;
border-radius: 4em;
}
@media (max-width: 768px) {
.module-icon {
width: 100%;
border-radius: 0;
}
.table-modules > tbody > tr > td.th,
.table-modules > tbody > tr > th{
padding: 0 !important;
}
}


/* --------------------------- */
/* ---------- MENU ----------- */
/* --------------------------- */
.nested-sortable {
cursor: move;
list-style-type: none;
padding: 0;
}
.nested-sortable .link-item {
background-color: #fff;
border: 1px solid rgba(0,0,0,.125);
margin-top: 1em;
padding: 1em;
}
.nested-sortable .link-item:hover {
border: 1px dashed rgba(0,0,0,.5);
}
.nested-sortable .link-item.placeholder {
background: #e1e4e8;
opacity: .5;
}
.nested-sortable .link-title {
margin-bottom: 5px;
}


/* --------------------------- */
/* ---------- NODE ----------- */
/* --------------------------- */
.icon-archived,
.icon-draft,
.icon-pending_publication,
.icon-publish{
display: block;
width: 16px;
height: 16px;
margin-left: auto;
margin-right: auto;
}
.icon-archived{
color: #d14;
}
.icon-draft{
color: #666;
}
.icon-pending_publication{
color: #dd9f3a;
}
.icon-publish{
color: #2ecc71;
}
Loading

0 comments on commit c13ba10

Please sign in to comment.