mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
433 lines
7.3 KiB
CSS
433 lines
7.3 KiB
CSS
/* -------------
|
|
Head Buttons
|
|
-------------
|
|
|
|
.head-button-1
|
|
|
|
or
|
|
|
|
.head-button-2
|
|
|
|
*/
|
|
|
|
.head-button-1, .head-button-2 {
|
|
position: relative;
|
|
padding: 10px;
|
|
border-radius: 5px;
|
|
font-weight: bold;
|
|
display: flex;
|
|
align-items: baseline;
|
|
cursor: pointer;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.head-button-1:active, .head-button-2:active {
|
|
box-shadow: none;
|
|
transform: translateY(2px);
|
|
}
|
|
|
|
.head-button-1 {
|
|
color: white;
|
|
background: #ffa646;
|
|
box-shadow: 0px 2px #bb7932;
|
|
}
|
|
|
|
.head-button-1 p, .head-button-2 p {
|
|
margin: 0;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.head-button-1:hover {
|
|
background: #ff7700;
|
|
text-decoration: none !important;
|
|
color: white;
|
|
transition: all 125ms ease-out;
|
|
}
|
|
|
|
.head-button-2 {
|
|
background: #fafafa;
|
|
box-shadow: 0px 2px #00000024;
|
|
}
|
|
|
|
.head-button-2:hover {
|
|
text-decoration: none !important;
|
|
color: inherit !important;
|
|
}
|
|
|
|
/* -------------
|
|
Advanced filter
|
|
-------------
|
|
|
|
.advanced-filter-btn.icon-filter(.advanced-filter-open)
|
|
...
|
|
.advanced-filter(.advanced-filter-open)
|
|
.advanced-filter-header
|
|
.advanced-filter-title
|
|
.advanced-filter-close.icon-cancel
|
|
.advanced-filter-container
|
|
.advanced-filter-item
|
|
.advanced-filter-item-label
|
|
.advanced-filter-item-container
|
|
// Put here your filter
|
|
...
|
|
*/
|
|
|
|
.advanced-filter-btn {
|
|
width: 70px;
|
|
z-index: 2;
|
|
position: relative;
|
|
cursor: pointer;
|
|
padding: 10px;
|
|
text-align: center;
|
|
font-weight: bold;
|
|
background-color: #F3F3F3;
|
|
}
|
|
|
|
.advanced-filter-btn::before { /* Change icon size */
|
|
font-size: 14px;
|
|
}
|
|
|
|
.advanced-filter-btn.advanced-filter-open::after {
|
|
content: "";
|
|
display: block;
|
|
width: 100%;
|
|
height: 16px;
|
|
background-color: inherit;
|
|
bottom: -16px;
|
|
left: 0;
|
|
position: absolute;
|
|
}
|
|
|
|
.advanced-filter {
|
|
display: none;
|
|
padding: 15px;
|
|
font-size: 1em;
|
|
flex-direction: column;
|
|
|
|
background-color: #F3F3F3;
|
|
}
|
|
|
|
.advanced-filter.advanced-filter-open {
|
|
display: flex;
|
|
}
|
|
|
|
.advanced-filter-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.advanced-filter-title {
|
|
font-weight: bold;
|
|
|
|
color: #3e3e3e;
|
|
}
|
|
|
|
.advanced-filter-close {
|
|
font-size: 1.8em;
|
|
color: #C5C5C5;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.advanced-filter-close:hover {
|
|
color: #ff7700;
|
|
}
|
|
|
|
.advanced-filter-container {
|
|
display: flex;
|
|
}
|
|
|
|
.advanced-filter-item:not(:last-child) {
|
|
margin-right: 30px;
|
|
}
|
|
|
|
.advanced-filter-item-label {
|
|
text-align: left;
|
|
display: flex;
|
|
margin-bottom: 5px;
|
|
|
|
color:#3e3e3e;
|
|
}
|
|
|
|
.advanced-filter-item-container {
|
|
position: relative;
|
|
text-align: left;
|
|
width: 100%;
|
|
}
|
|
|
|
/* Set Margin if the last element is a slider */
|
|
.advanced-filter-item:last-child .advanced-filter-item-container .slider-bar-wrapper {
|
|
margin-right: 10px;
|
|
}
|
|
|
|
/* -------------
|
|
Advanced filter Select
|
|
-------------
|
|
|
|
.advanced-filter-select-container
|
|
select.advanced-filter-select
|
|
|
|
or (generated by selectize.js)
|
|
|
|
.advanced-filter-item-container
|
|
.selectize-control
|
|
.selectize-input
|
|
*/
|
|
|
|
.user-action-select-container::before, .advanced-filter-select-container::before {
|
|
content: '\e835'; font-size: 14px; position: absolute; font-family: "fontello"; color: #6E6E6E; pointer-events: none;
|
|
}
|
|
|
|
.advanced-filter-select-container::before {
|
|
top: 8px; right:10px
|
|
}
|
|
|
|
.advanced-filter-select {
|
|
display: block;
|
|
border: solid 1px #D4D4D4;
|
|
padding: 8px 10px;
|
|
height: 34px;
|
|
background: white;
|
|
}
|
|
|
|
.advanced-filter-item-container .selectize-control .selectize-input {
|
|
border: solid 1px #D4D4D4 !important;
|
|
padding: 8px 10px !important;
|
|
height: 34px;
|
|
background: white !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.advanced-filter-item-container .selectize-control .selectize-input .item {
|
|
padding-right: 0 !important;
|
|
}
|
|
|
|
/* -------------
|
|
Info Framed
|
|
-------------
|
|
|
|
.info-framed
|
|
.info-framed-icon
|
|
i or img
|
|
.info-framed-container
|
|
.info-framed-title
|
|
div
|
|
div
|
|
...
|
|
|
|
*/
|
|
|
|
.info-framed {
|
|
display: flex;
|
|
border: #EEE solid 2px;
|
|
padding: 20px;
|
|
border-radius: 5px;
|
|
margin: 0px 10px;
|
|
align-items: center;
|
|
}
|
|
|
|
a.info-framed:hover {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.info-framed-icon {
|
|
font-size: 34px;
|
|
margin-right: 20px;
|
|
display: flex;
|
|
color: #3c3c3c;
|
|
}
|
|
|
|
.info-framed-icon i {
|
|
margin: auto;
|
|
}
|
|
|
|
.info-framed-container {
|
|
margin: 0;
|
|
display: inline-table;
|
|
}
|
|
|
|
.info-framed-container > * {
|
|
margin: 0;
|
|
word-wrap: anywhere;
|
|
}
|
|
|
|
.info-framed-title {
|
|
color: #3c3c3c;
|
|
font-weight: bold;
|
|
}
|
|
|
|
/* -------------
|
|
Info
|
|
-------------
|
|
|
|
.info, .errors, .warnings, .messages
|
|
.info-message.icon-*, .info-warning.icon-*, .info-error.icon-*
|
|
p
|
|
(a)
|
|
*/
|
|
|
|
/***Banner messages***/
|
|
.infos,
|
|
.errors,
|
|
.warnings,
|
|
.messages,
|
|
#photosAddContent .infos,
|
|
.AddUserErrors,
|
|
.AddAlbumErrors,
|
|
.EditUserErrors,
|
|
.update-password-fail,
|
|
.icon-red-error {
|
|
text-align: left;
|
|
margin: 20px;
|
|
padding: 10px 5px;
|
|
font-weight:600;
|
|
flex-direction: row;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: start;
|
|
border-radius:0px;
|
|
}
|
|
|
|
.AddUserErrors{
|
|
margin:10px 0;
|
|
}
|
|
|
|
.AddAlbumErrors{
|
|
margin:0;
|
|
}
|
|
|
|
.infos ul,
|
|
.errors ul,
|
|
.warnings ul,
|
|
.messages ul,
|
|
#photosAddContent .infos ul{
|
|
margin:10px 0;
|
|
padding-left:0;
|
|
}
|
|
|
|
#photosAddContent .infos ul li,
|
|
.eiw ul li{
|
|
padding:2px;
|
|
margin-bottom:2px;
|
|
display:flex;
|
|
align-items:center;
|
|
}
|
|
|
|
.eiw ul li p,
|
|
.UsernameBlock.success_message{
|
|
margin-right:0px;
|
|
margin:0;
|
|
}
|
|
|
|
#photosAddContent .infos ul li:not(:last-child),
|
|
.eiw ul li:not(:last-child){
|
|
margin-bottom:10px;
|
|
}
|
|
|
|
.info-message a,
|
|
.info-warning a,
|
|
.info-error a,
|
|
.messages a,
|
|
#photosAddContent .infos ul li a,
|
|
.eiw ul li a{
|
|
border-radius:4px;
|
|
margin:0 5px;
|
|
padding: 2px 7px;
|
|
cursor:pointer;
|
|
}
|
|
|
|
.info.hide {
|
|
display: none;
|
|
}
|
|
|
|
/***Rounded messages***/
|
|
|
|
.info-message,
|
|
.info-warning,
|
|
.info-error,
|
|
.update-user-success,
|
|
.update-user-fail,
|
|
.groupError,
|
|
.AddAlbumErrors,
|
|
.ValidationUserDissociated
|
|
.ValidationUserAssociated,
|
|
.update-user-success,
|
|
.update-password-success,
|
|
.update-username-success {
|
|
overflow: hidden;
|
|
border-radius: 30px;
|
|
padding: 10px 15px;
|
|
font-weight: bold;
|
|
align-items: start;
|
|
text-align:left;
|
|
}
|
|
|
|
.info-message,
|
|
.info-warning,
|
|
.info-error,
|
|
.update-user-success,
|
|
.update-user-fail{
|
|
display: flex;
|
|
margin-left: 10px;
|
|
}
|
|
|
|
.update-username-success{
|
|
display: flex;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.info-message p, .info-warning p, .info-error p {
|
|
margin: auto;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
text-align: initial;
|
|
}
|
|
|
|
.info-message::before,
|
|
.info-warning::before,
|
|
.info-error::before {
|
|
font-size: 16px;
|
|
}
|
|
|
|
.info-message {
|
|
display: none;
|
|
}
|
|
|
|
.info-error{
|
|
display: none;
|
|
animation-name: info-error-appear ;
|
|
animation-duration: 0.4s;
|
|
animation-timing-function: ease;
|
|
}
|
|
|
|
@keyframes info-error-appear {
|
|
25% { transform: translateX(-10px)}
|
|
50% { transform: translateX(10px)}
|
|
75% { transform: translateX(-10px)}
|
|
100% { transform: translateX(0px)}
|
|
}
|
|
|
|
/*** Message Icons ***/
|
|
|
|
.eiw-icon,
|
|
#photosAddContent .infos ul li a i,
|
|
.eiw ul li a i,
|
|
.AddAlbumErrors::before,
|
|
.groupError::before,
|
|
.ValidationUserDissociated i,
|
|
.ValidationUserAssociated i{
|
|
margin-right:10px;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.AddAlbumErrors::before,
|
|
.groupError::before{
|
|
margin-top: 3px;
|
|
}
|
|
|
|
/***/
|
|
|
|
.tree .badge-container i.icon-imagefolder-01.nb-sub-photos:before{
|
|
margin-right:0.5em!important;
|
|
} |