mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-12 23:14:18 +01:00
N°3565 - Migrate backoffice pages to new UIBlock system : Setup
This commit is contained in:
548
css/setup.scss
548
css/setup.scss
@@ -18,8 +18,10 @@
|
||||
|
||||
/* integrityCheck: begin (do not remove/edit) */
|
||||
|
||||
/////////
|
||||
// Colors
|
||||
$approot-relative: '../' !default;
|
||||
|
||||
@import "backoffice/main";
|
||||
|
||||
$content-border-color: #CBD2D9 !default;
|
||||
$default-font-color: #1A202C !default;
|
||||
$legend-border-color: #718096 !default;
|
||||
@@ -54,266 +56,416 @@ $progress-bar-error-bg-color: #F56565 !default;
|
||||
|
||||
/* Helpers classes */
|
||||
.center {
|
||||
text-align: center;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* Animations */
|
||||
@keyframes progress_bar_color_ongoing {
|
||||
from { background-color: $progress-bar-ongoing-1-bg-color; }
|
||||
to { background-color: $progress-bar-ongoing-2-bg-color; }
|
||||
from {
|
||||
background-color: $progress-bar-ongoing-1-bg-color;
|
||||
}
|
||||
to {
|
||||
background-color: $progress-bar-ongoing-2-bg-color;
|
||||
}
|
||||
}
|
||||
|
||||
@-webkit-keyframes bg-pan-left {
|
||||
0% {
|
||||
background-position: 100% 50%;
|
||||
}
|
||||
100% {
|
||||
background-position: 0 50%;
|
||||
}
|
||||
0% {
|
||||
background-position: 100% 50%;
|
||||
}
|
||||
100% {
|
||||
background-position: 0 50%;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes bg-pan-left {
|
||||
0% {
|
||||
background-position: 100% 50%;
|
||||
}
|
||||
100% {
|
||||
background-position: 0 50%;
|
||||
}
|
||||
0% {
|
||||
background-position: 100% 50%;
|
||||
}
|
||||
100% {
|
||||
background-position: 0 50%;
|
||||
}
|
||||
}
|
||||
|
||||
/* Theme */
|
||||
body {
|
||||
background-color: #eee;
|
||||
color: $default-font-color;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-size: 10pt;
|
||||
font-family: Tahoma, Verdana, Arial, Helvetica, serif;
|
||||
overflow-y: auto;
|
||||
background-color: #eee;
|
||||
color: $default-font-color;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-size: 10pt;
|
||||
font-family: Tahoma, Verdana, Arial, Helvetica, serif;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
h1 {
|
||||
color: #555555;
|
||||
font-size: 16pt;
|
||||
color: #555555;
|
||||
font-size: 16pt;
|
||||
}
|
||||
|
||||
h2 {
|
||||
color: $default-font-color;
|
||||
font-size: 14pt;
|
||||
font-weight: normal;
|
||||
color: $default-font-color;
|
||||
font-size: 14pt;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
h3 {
|
||||
color: #1C94C4;
|
||||
font-size: 12pt;
|
||||
font-weight: bold;
|
||||
}
|
||||
a{
|
||||
color: $link-default-color;
|
||||
text-decoration: none;
|
||||
&:hover{
|
||||
color: $link-hover-color;
|
||||
}
|
||||
color: #1C94C4;
|
||||
font-size: 12pt;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#header {
|
||||
width: 600px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
margin-top: 50px;
|
||||
padding: 20px;
|
||||
background-color: #fff;
|
||||
height: 54px;
|
||||
border: 3px solid $content-border-color;
|
||||
border-bottom: none;
|
||||
a {
|
||||
color: $link-default-color;
|
||||
text-decoration: none;
|
||||
|
||||
img {
|
||||
border: 0;
|
||||
vertical-align: middle;
|
||||
margin-right: 20px;
|
||||
}
|
||||
h1 {
|
||||
height: 54px;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
#setup, #ibo-page-container {
|
||||
width: 600px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
padding: 20px;
|
||||
background-color: #fff;
|
||||
border: 3px solid $content-border-color;
|
||||
border-top: none;
|
||||
&:hover {
|
||||
color: $link-hover-color;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.itop-setup--message {
|
||||
margin-top: 16px;
|
||||
}
|
||||
|
||||
.next {
|
||||
width: 100%;
|
||||
text-align: right;
|
||||
width: 100%;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.v-spacer {
|
||||
padding-top: 1em;
|
||||
padding-top: 1em;
|
||||
}
|
||||
|
||||
button {
|
||||
margin-top: 1em;
|
||||
padding-left: 1em;
|
||||
padding-right: 1em;
|
||||
margin-top: 1em;
|
||||
padding-left: 1em;
|
||||
padding-right: 1em;
|
||||
}
|
||||
|
||||
p.info {
|
||||
padding-left: 50px;
|
||||
background: url(../images/info-mid.png) no-repeat left -5px;
|
||||
min-height: 48px;
|
||||
padding-left: 50px;
|
||||
background: url(../images/info-mid.png) no-repeat left -5px;
|
||||
min-height: 48px;
|
||||
}
|
||||
|
||||
p.ok {
|
||||
padding-left: 50px;
|
||||
background: url(../images/clean-mid.png) no-repeat left -8px;
|
||||
min-height: 48px;
|
||||
padding-left: 50px;
|
||||
background: url(../images/clean-mid.png) no-repeat left -8px;
|
||||
min-height: 48px;
|
||||
}
|
||||
|
||||
p.warning {
|
||||
padding-left: 50px;
|
||||
background: url(../images/messagebox_warning-mid.png) no-repeat left -5px;
|
||||
min-height: 48px;
|
||||
padding-left: 50px;
|
||||
background: url(../images/messagebox_warning-mid.png) no-repeat left -5px;
|
||||
min-height: 48px;
|
||||
}
|
||||
|
||||
p.error {
|
||||
padding-left: 50px;
|
||||
background: url(../images/stop-mid.png) no-repeat left -5px;
|
||||
min-height: 48px;
|
||||
padding-left: 50px;
|
||||
background: url(../images/stop-mid.png) no-repeat left -5px;
|
||||
min-height: 48px;
|
||||
}
|
||||
|
||||
label {
|
||||
cursor: pointer;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
td.label {
|
||||
text-align: left;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
label.read-only {
|
||||
color: #666;
|
||||
cursor: text;
|
||||
color: #666;
|
||||
cursor: text;
|
||||
}
|
||||
|
||||
td.input {
|
||||
text-align: left;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
table.formTable {
|
||||
border: 0;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.wizlabel, .wizinput {
|
||||
color: #000;
|
||||
font-size: 10pt;
|
||||
color: #000;
|
||||
font-size: 10pt;
|
||||
}
|
||||
|
||||
.wizhelp {
|
||||
color: #333;
|
||||
font-size: 8pt;
|
||||
color: #333;
|
||||
font-size: 8pt;
|
||||
}
|
||||
|
||||
#progress {
|
||||
border: none;
|
||||
width: 210px;
|
||||
height: 26px;
|
||||
line-height: 26px;
|
||||
text-align: center;
|
||||
margin: 5px;
|
||||
box-shadow: inset 0 2px 4px 0 rgba(0,0,0,.06) !important;
|
||||
border-radius: 2px;
|
||||
background-color: #EDF2F7 !important;
|
||||
|
||||
.progress{
|
||||
color: $progress-bar-color !important; /* !important to overload jQuery UI style */
|
||||
background-image: linear-gradient(270deg, $progress-bar-ongoing-1-bg-color 50%, $progress-bar-ongoing-2-bg-color 55%, $progress-bar-ongoing-1-bg-color 80%) !important; /* !important to overload jQuery UI style */
|
||||
animation: bg-pan-left 3s infinite both;
|
||||
background-size: 600% 100%;
|
||||
border-radius: inherit;
|
||||
&.progress-error{
|
||||
background-image: none !important;
|
||||
background-color: $progress-bar-error-bg-color !important; /* !important to overload jQuery UI style */
|
||||
animation: none;
|
||||
}
|
||||
border: none;
|
||||
width: 210px;
|
||||
height: 26px;
|
||||
line-height: 26px;
|
||||
text-align: center;
|
||||
margin: 5px;
|
||||
box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, .06) !important;
|
||||
border-radius: 2px;
|
||||
background-color: #EDF2F7 !important;
|
||||
|
||||
.progress {
|
||||
color: $progress-bar-color !important; /* !important to overload jQuery UI style */
|
||||
background-image: linear-gradient(270deg, $progress-bar-ongoing-1-bg-color 50%, $progress-bar-ongoing-2-bg-color 55%, $progress-bar-ongoing-1-bg-color 80%) !important; /* !important to overload jQuery UI style */
|
||||
animation: bg-pan-left 3s infinite both;
|
||||
background-size: 600% 100%;
|
||||
border-radius: inherit;
|
||||
|
||||
&.progress-error {
|
||||
background-image: none !important;
|
||||
background-color: $progress-bar-error-bg-color !important; /* !important to overload jQuery UI style */
|
||||
animation: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
h3.clickable {
|
||||
background: url(../images/plus.gif) no-repeat left;
|
||||
padding-left:16px;
|
||||
cursor: hand;
|
||||
background: url(../images/plus.gif) no-repeat left;
|
||||
padding-left: 16px;
|
||||
cursor: hand;
|
||||
}
|
||||
|
||||
h3.clickable.open {
|
||||
background: url(../images/minus.gif) no-repeat left;
|
||||
padding-left:16px;
|
||||
cursor: hand;
|
||||
}
|
||||
.message{
|
||||
color: $message-default-text-color;
|
||||
background-color: $message-default-bg-color;
|
||||
border-left: 4px solid $message-default-border-color;
|
||||
padding: 10px;
|
||||
|
||||
>.message-title {
|
||||
font-weight: bold;
|
||||
margin-right: 5px;
|
||||
}
|
||||
&.message-valid{
|
||||
color: $message-valid-text-color;
|
||||
background-color: $message-valid-bg-color;
|
||||
border-color: $message-valid-border-color;
|
||||
}
|
||||
&.message-warning{
|
||||
color: $message-warning-text-color;
|
||||
background-color: $message-warning-bg-color;
|
||||
border-color: $message-warning-border-color;
|
||||
}
|
||||
&.message-error{
|
||||
color: $message-error-text-color;
|
||||
background-color: $message-error-bg-color;
|
||||
border-color: $message-error-border-color;
|
||||
}
|
||||
}
|
||||
*:not(.message) + .message{
|
||||
margin-top: 6px;
|
||||
}
|
||||
.text-valid{
|
||||
color:$message-valid-text-color
|
||||
}
|
||||
.text-warning{
|
||||
color:$message-warning-text-color
|
||||
}
|
||||
.text-error{
|
||||
color:$message-error-text-color
|
||||
background: url(../images/minus.gif) no-repeat left;
|
||||
padding-left: 16px;
|
||||
cursor: hand;
|
||||
}
|
||||
|
||||
fieldset{
|
||||
border: none;
|
||||
padding: 0;
|
||||
margin: 30px 0 0 0;
|
||||
|
||||
> legend{
|
||||
.message {
|
||||
color: $message-default-text-color;
|
||||
background-color: $message-default-bg-color;
|
||||
border-left: 4px solid $message-default-border-color;
|
||||
padding: 10px;
|
||||
font-size: initial;
|
||||
|
||||
> .message-title {
|
||||
font-weight: bold;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
&.message-valid {
|
||||
color: $message-valid-text-color;
|
||||
background-color: $message-valid-bg-color;
|
||||
border-color: $message-valid-border-color;
|
||||
}
|
||||
|
||||
&.message-warning {
|
||||
color: $message-warning-text-color;
|
||||
background-color: $message-warning-bg-color;
|
||||
border-color: $message-warning-border-color;
|
||||
}
|
||||
|
||||
&.message-error {
|
||||
color: $message-error-text-color;
|
||||
background-color: $message-error-bg-color;
|
||||
border-color: $message-error-border-color;
|
||||
}
|
||||
}
|
||||
|
||||
*:not(.message) + .message {
|
||||
margin-top: 6px;
|
||||
}
|
||||
|
||||
.text-valid {
|
||||
color: $message-valid-text-color
|
||||
}
|
||||
|
||||
.text-warning {
|
||||
color: $message-warning-text-color
|
||||
}
|
||||
|
||||
.text-error {
|
||||
color: $message-error-text-color
|
||||
}
|
||||
|
||||
fieldset {
|
||||
border: none;
|
||||
padding: 0;
|
||||
margin: 30px 0 0 0;
|
||||
|
||||
> legend {
|
||||
margin-top: 25px;
|
||||
margin-bottom: 7px;
|
||||
padding-bottom: 7px;
|
||||
width: 100%;
|
||||
color: #3C3C3C;
|
||||
font-size: 11pt;
|
||||
font-weight: bold;
|
||||
border-bottom: 1px solid #D2D2D2;
|
||||
}
|
||||
}
|
||||
|
||||
.module-selection-banner {
|
||||
img {
|
||||
max-height: 48px;
|
||||
}
|
||||
}
|
||||
|
||||
.module-selection-body {
|
||||
height: 28em;
|
||||
overflow: auto;
|
||||
box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, .06) !important;
|
||||
background-color: #F7FAFC;
|
||||
padding: 10px;
|
||||
|
||||
.wiz-choice:checked ~ .description {
|
||||
#itop-ticket-mgmt-simple-ticket-enhanced-portal:not(:checked),
|
||||
#itop-ticket-mgmt-itil-enhanced-portal:not(:checked) {
|
||||
~ .description::after {
|
||||
content: "Legacy portal is no longer part of iTop, by leaving this option unchecked your portal users won't be able to access iTop anymore.";
|
||||
display: block;
|
||||
margin-top: 0.5em;
|
||||
font-weight: bold;
|
||||
color: $legacy-portal-removal-text-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
body {
|
||||
font-size: 1.17rem;
|
||||
font-family: "Monorale";
|
||||
}
|
||||
|
||||
#ibo_setup_container {
|
||||
width: 800px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
|
||||
.ibo-title {
|
||||
@extend %ibo-vertically-centered-content;
|
||||
|
||||
h2 {
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
}
|
||||
|
||||
.ibo-setup--header {
|
||||
background-color: #fff;
|
||||
padding: 20px;
|
||||
border: 3px solid $content-border-color;
|
||||
margin-top: 50px;
|
||||
height: 80px;
|
||||
border-bottom: none;
|
||||
|
||||
img {
|
||||
border: 0;
|
||||
vertical-align: middle;
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
h1 {
|
||||
margin-top: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
.ibo-setup--body {
|
||||
background-color: #fff;
|
||||
padding: 20px;
|
||||
border: 3px solid $content-border-color;
|
||||
border-top: none;
|
||||
|
||||
.itop-setup--message {
|
||||
margin-top: 16px;
|
||||
}
|
||||
|
||||
.ibo-setup--button-bar {
|
||||
margin-top: 16px;
|
||||
@extend %ibo-vertically-centered-content;
|
||||
|
||||
.ibo-setup--button-spacer {
|
||||
flex-grow: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.ibo-setup--js-error {
|
||||
overflow: auto;
|
||||
max-height: 100px;
|
||||
color: $ibo-color-danger-800;
|
||||
font-size: $ibo-font-size-100;
|
||||
}
|
||||
|
||||
.ibo-setup--upgrade-info {
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
.ibo-fieldset {
|
||||
margin-top: 25px;
|
||||
|
||||
& ~ .ibo-fieldset {
|
||||
margin-top: 25px;
|
||||
margin-bottom: 7px;
|
||||
padding-bottom: 7px;
|
||||
width: 100%;
|
||||
color: #3C3C3C;
|
||||
font-size: 11pt;
|
||||
font-weight: bold;
|
||||
border-bottom: 1px solid #D2D2D2;
|
||||
}
|
||||
}
|
||||
|
||||
.ibo-field {
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
.ibo-setup--small-field-label {
|
||||
.ibo-field--label {
|
||||
width: 15%;
|
||||
}
|
||||
}
|
||||
|
||||
.ibo-field--comments {
|
||||
font-size: $ibo-font-size-100;
|
||||
color: $ibo-color-grey-700;
|
||||
text-align: left;
|
||||
width: 100%;
|
||||
padding-left: 10px;
|
||||
}
|
||||
|
||||
.ibo-alert {
|
||||
padding: 7px 20px;
|
||||
}
|
||||
|
||||
.ibo-setup--small-message {
|
||||
font-size: $ibo-font-size-100;
|
||||
color: $ibo-color-grey-700;
|
||||
}
|
||||
|
||||
.ibo-collapsible-section {
|
||||
margin: 10px 0 0 0;
|
||||
|
||||
&.ibo-setup--small {
|
||||
.ibo-collapsible-section--header {
|
||||
.ibo-collapsible-section--title {
|
||||
font-size: $ibo-font-size-150;
|
||||
font-weight: 400;
|
||||
color: $ibo-color-grey-700;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.ibo-collapsible-section--body {
|
||||
max-height: 400px;
|
||||
overflow: auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.module-selection-banner{
|
||||
img{
|
||||
max-height: 48px;
|
||||
}
|
||||
}
|
||||
.module-selection-body{
|
||||
height: 28em;
|
||||
overflow: auto;
|
||||
box-shadow: inset 0 2px 4px 0
|
||||
rgba(0,0,0,.06) !important;
|
||||
background-color: #F7FAFC;
|
||||
padding: 10px;
|
||||
.wiz-choice:checked ~ .description{
|
||||
#itop-ticket-mgmt-simple-ticket-enhanced-portal:not(:checked),
|
||||
#itop-ticket-mgmt-itil-enhanced-portal:not(:checked){
|
||||
~ .description::after {
|
||||
content: "Legacy portal is no longer part of iTop, by leaving this option unchecked your portal users won't be able to access iTop anymore.";
|
||||
display: block;
|
||||
margin-top: 0.5em;
|
||||
font-weight: bold;
|
||||
color: $legacy-portal-removal-text-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
.ibo-setup--button-bar {
|
||||
margin-top: 16px;
|
||||
@extend %ibo-vertically-centered-content;
|
||||
|
||||
.ibo-setup--full-width {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
|
||||
.ibo-setup--full-width {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
/* integrityCheck: end (do not remove/edit) */
|
||||
Reference in New Issue
Block a user