Ajout d'une extension

This commit is contained in:
Gauvain Boiché
2020-04-04 18:27:27 +02:00
parent c3ed8cc1c1
commit 3a964fe237
387 changed files with 58921 additions and 0 deletions

View File

@@ -0,0 +1,115 @@
.nojs .aps-ajax {
display: none;
}
.aps-tabs {
background: #e5e5e5;
border-top: 1px solid #d7d7d7;
border-right: 1px solid #cccccc;
border-bottom: 1px solid #cccccc;
border-left: 1px solid #d7d7d7;
border-radius: 3px;
display: flex;
flex-wrap: wrap;
}
.aps-tab-input {
opacity: 0;
position: absolute;
}
.aps-tab-label {
font-size: 1.2em;
font-weight: bold;
background: #e5e5e5;
border-right: 1px solid transparent;
border-left: 1px solid transparent;
color: #7f7f7f;
width: 100%;
padding: 10px 20px;
cursor: pointer;
transition: all 0.2s ease-in;
}
.aps-tab-label:first-of-type { border-top-left-radius: 3px; }
.aps-tab-label:last-of-type { border-top-right-radius: 3px; }
.aps-tab-label:hover { background: #d8d8d8; }
.aps-tab-label:active { background: #cccccc; }
.aps-tab-input:checked + .aps-tab-label {
background: #ffffff;
border-color: #cccccc;
color: #000000;
}
.aps-tab-input:checked:first-of-type + .aps-tab-label {
border-left-color: transparent;
}
@media (min-width: 600px) {
.aps-tab-label {
width: auto;
}
}
.aps-tab-panel {
background: #ffffff;
border: none;
border-top-left-radius: 0;
border-top-right-radius: 0;
display: none;
width: 100%;
margin: 0;
}
@media (min-width: 600px) {
.aps-tab-panel {
order: 99;
}
}
.aps-tab-input:checked + .aps-tab-label + .aps-tab-panel {
display: block;
}
.aps-tabs h3 {
font-size: 1.2em;
color: #115098;
margin: 5px 0 10px;
}
.aps-tabs small {
font-size: 90%;
}
/* aps logs */
table th.aps-logs-mark,
table td.aps-logs-mark { width: 50px; }
.aps-logs-user { width: 15%; }
.aps-logs-time { width: 20%; }
.aps-logs-points { width: 10%; }
.aps-logs-action {
display: block;
}
.aps-logs-edit {
font-size: 120%;
text-decoration: none;
float: right;
margin-right: 5px;
}
.aps-logs-mark label {
display: block;
padding: 0;
}
@media all and (max-width: 700px) {
.aps-logs-edit {
margin-right: 0;
}
.aps-logs-mark label {
display: inline-block;
}
}

View File

@@ -0,0 +1,211 @@
.aps-form *,
.aps-form *:before,
.aps-form *:after {
box-sizing: border-box;
}
.aps-bool {
display: none;
}
.aps-radio { display: none; }
.aps-radio:checked + .aps-button-blue {
background: #12a3eb;
border-color: #12a3eb;
color: #ffffff;
}
/* Fix for double borders due to border-box */
.aps-form dt {
border-right: none;
}
.aps-form dd,
.aps-form dd label {
font-size: 14px;
line-height: 1.42857143;
}
.aps-form dd label {
display: inline-block;
height: 34px;
padding: 6px 6px 6px 0;
}
.aps-form dd label input[type="radio"] {
height: initial;
margin-right: 3px;
}
.aps-button-red,
.aps-button-blue,
.aps-button-green,
.aps-form input:not(.iconpicker-search),
.aps-form select,
.aps-form textarea {
font-size: 14px;
line-height: 1.42857143;
color: #555555;
height: 34px;
padding: 6px 12px;
}
.aps-button-red,
.aps-button-blue,
.aps-button-green,
.aps-form input[type="text"],
.aps-form input[type="number"],
.aps-form input[type="submit"],
.aps-form input[type="reset"],
.aps-form select,
.aps-form textarea {
background-color: #ffffff;
background-image: none;
border: 1px solid #cccccc;
border-radius: 4px;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
-webkit-transition: border-color ease-in-out 0.15s, -webkit-box-shadow ease-in-out 0.15s;
-o-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}
.aps-form input:not([type="checkbox"]):not([type="radio"]):focus,
.aps-form select:focus,
.aps-form textarea:focus {
border-color: #66afe9;
outline: 0;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
}
.aps-form select:focus {
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
}
.aps-form select[multiple] {
height: auto;
min-height: 170px;
}
.has-js select[multiple] {
max-height: 340px;
}
.aps-form textarea {
height: auto;
resize: vertical;
}
/* Buttons */
.aps-button-green,
a.aps-button-green,
.aps-form input[type="submit"] {
border-color: #28a745;
color: #28a745;
}
.aps-bool:checked + .aps-button-green,
.aps-button-green:hover,
a.aps-button-green:hover,
.aps-form input[type="submit"]:hover {
background-color: #28a745;
color: #ffffff;
}
.aps-button-red,
a.aps-button-red,
.aps-form input[type="reset"] {
border-color: #d31141;
color: #d31141;
}
.aps-bool:checked + .aps-button-red,
.aps-button-red:hover,
a.aps-button-red:hover,
.aps-form input[type="reset"]:hover {
background-color: #d31141;
color: #ffffff;
}
.aps-button-blue {
border-color: #12a3eb;
color: #12a3eb;
}
.aps-button-blue:hover {
background-color: #12a3eb;
color: #ffffff;
}
.aps-button-red,
.aps-button-blue,
.aps-button-green {
text-decoration: none !important;
cursor: pointer;
}
/* Point names height toggle */
.aps-points-names {
overflow: hidden;
max-height: 100px;
padding-bottom: 20px;
}
.aps-points-names dl:not(:first-of-type) {
opacity: 0;
}
.aps-points-full {
max-height: 100%;
padding-bottom: 30px;
}
.aps-points-full dl:not(:first-of-type) {
opacity: 1;
}
@media all and (max-width: 700px) {
fieldset.aps-points-names:not(.aps-points-full) dl:first-of-type {
border-bottom: none;
}
}
.aps-names-toggle {
font-weight: bold;
text-decoration: none !important;
border: 1px solid #cccccc;
border-bottom: none;
border-radius: 4px 4px 0 0;
opacity: 1;
position: absolute;
z-index: 1;
bottom: 0;
left: 45%;
padding: 5px 10px;
cursor: pointer;
user-select: none;
transform: translateX(-50%);
}
/* Multiple select scrollbar */
.aps-form select[multiple] {
scrollbar-color: #666666 #cccccc;
scrollbar-width: 10px;
}
.aps-form select[multiple]::-webkit-scrollbar {
width: 10px;
}
.aps-form select[multiple]::-webkit-scrollbar-thumb {
background: #666666;
border-radius: 0 4px 4px 0;
}
.aps-form select[multiple]::-webkit-scrollbar-track {
background: #cccccc;
border-radius: 0 4px 4px 0;
}

View File

@@ -0,0 +1,78 @@
.aps-icon-picker,
#aps_points_icon {
border-top-right-radius: 0 !important;
border-bottom-right-radius: 0 !important;
}
.aps-icon-picker + i,
#aps_points_icon + i {
font-size: 14px;
line-height: 1.42857143;
vertical-align: -1px;
background-color: #f3f3f3;
border: 1px solid #cccccc;
border-left: none;
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
color: #555555;
display: inline-block;
width: auto;
height: 34px;
padding: 6px 12px;
cursor: pointer;
}
.aps-icon-picker:focus,
#aps_points_icon:focus {
border-right-color: #cccccc;
}
.aps-icon-picker:focus + i,
#aps_points_icon:focus + i {
border-color: #66afe9;
outline: 0;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
}
.iconpicker-popover.popover {
border: 1px solid #cccccc;
border-radius: 4px;
}
.iconpicker-popover .arrow:after {
border-bottom-color: #f7f7f7 !important;
}
.iconpicker-popover .iconpicker-item {
margin: 0 11px 11px 0;
}
.iconpicker-search,
.iconpicker-search:hover,
.iconpicker-search:focus {
background-color: #ffffff;
border-radius: 4px;
max-width: calc(100% - 16px);
padding: 5px 8px;
}
.iconpicker-popover ::-webkit-scrollbar {
background: transparent;
width: 5px;
height: 5px;
}
.iconpicker-popover ::-webkit-scrollbar-corner {
background: transparent;
}
.iconpicker-popover ::-webkit-scrollbar-thumb {
background: #333333;
border-radius: 10px;
}
.iconpicker-popover ::-webkit-scrollbar-track {
background: #f3f3f3;
border-radius: 10px;
}

View File

@@ -0,0 +1,94 @@
.aps-locations {
background-color: #ffffff;
border: 1px solid #e6e9ed;
border-radius: 8px;
padding: 15px;
}
.aps-locations > p {
text-align: center;
margin: 5rem 160px;
}
.aps-location input {
display: none;
}
.aps-location input ~ span {
line-height: 16px;
text-align: center;
color: #ffffff;
display: none;
min-width: 50px;
height: 30px;
}
.aps-location input:not(:checked) ~ .aps-button-red,
.aps-location input:checked ~ .aps-button-green { display: inline-block; }
.aps-location .aps-button-green { background-color: #28a745; }
.aps-location .aps-button-red { background-color: #d31141; }
.navbar {
background-color: #cadceb;
border-radius: 7px;
overflow: visible;
height: 40px;
padding: 3px 10px;
}
.navbar > ul {
display: block;
margin: 0;
padding: 2px 0;
list-style-type: none;
}
.navbar > ul > li {
font-size: 1.1em;
line-height: 2.2em;
float: left;
width: auto;
margin-right: 7px;
padding-top: 1px;
list-style-type: none;
}
.navbar > ul > .right-side {
text-align: right;
float: right;
margin-right: 0;
margin-left: 7px;
}
.has-dropdown {
position: relative;
}
.dropdown {
text-align: left;
z-index: 10;
top: 25px;
min-width: 150px;
}
.dropdown.quick-links {
left: -15px;
}
.dropdown.user {
right: -10px;
left: unset;
}
.dropdown .pointer {
border-color: #ffffff transparent;
}
.dropdown.user .pointer {
right: 10px;
left: unset;
}
.dropdown .dropdown-contents {
padding: 10px 5px;
}

File diff suppressed because one or more lines are too long