mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 10:38:45 +02:00
N°2314 Regression: extracted setup's stylesheet in its own file and pimped it up
This commit is contained in:
242
css/setup.scss
Normal file
242
css/setup.scss
Normal file
@@ -0,0 +1,242 @@
|
||||
$message-default-border-color: #4A5568 !default;
|
||||
$message-default-text-color: #1A202C !default;
|
||||
$message-default-background-color: #F7FAFC !default;
|
||||
|
||||
$message-valid-border-color: #48BB78 !default;
|
||||
$message-valid-text-color: #276749 !default;
|
||||
$message-valid-background-color: #F0FFF4 !default;
|
||||
|
||||
$message-warning-border-color: #ED8936 !default;
|
||||
$message-warning-text-color: #C05621 !default;
|
||||
$message-warning-background-color: #FFFAF0 !default;
|
||||
|
||||
$message-error-border-color: #E53E3E !default;
|
||||
$message-error-text-color: #C53030 !default;
|
||||
$message-error-background-color: #FFF5F5 !default;
|
||||
|
||||
$content-border-color: #CBD2D9 !default;
|
||||
$default-font-color: #1A202C !default;
|
||||
$legend-border-color: #718096 !default;
|
||||
$link-default-color: #1c94c4 !default;
|
||||
$link-hover-color: #EA7D1E !default;
|
||||
body {
|
||||
background-color: #eee;
|
||||
color: $default-font-color;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-size: 10pt;
|
||||
font-family: Tahoma, Verdana, Arial, Helvetica;
|
||||
overflow-y: auto;
|
||||
}
|
||||
a{
|
||||
color: $link-default-color;
|
||||
text-decoration: none;
|
||||
&:hover{
|
||||
color: $link-hover-color;
|
||||
}
|
||||
}
|
||||
#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;
|
||||
}
|
||||
#header img {
|
||||
border: 0;
|
||||
vertical-align: middle;
|
||||
margin-right: 20px;
|
||||
}
|
||||
#header h1 {
|
||||
vertical-align: middle;
|
||||
height: 54px;
|
||||
noline-height: 54px;
|
||||
margin: 0;
|
||||
}
|
||||
#setup {
|
||||
width: 600px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
padding: 20px;
|
||||
background-color: #fff;
|
||||
border: 3px solid $content-border-color;
|
||||
border-top: none;
|
||||
}
|
||||
.center {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
h1 {
|
||||
color: #555555;
|
||||
font-size: 16pt;
|
||||
}
|
||||
h2 {
|
||||
color: $default-font-color;
|
||||
font-size: 14pt;
|
||||
}
|
||||
h3 {
|
||||
color: #1C94C4;
|
||||
font-size: 12pt;
|
||||
font-weight: bold;
|
||||
}
|
||||
.next {
|
||||
width: 100%;
|
||||
text-align: right;
|
||||
}
|
||||
.v-spacer {
|
||||
padding-top: 1em;
|
||||
}
|
||||
button {
|
||||
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;
|
||||
}
|
||||
p.ok {
|
||||
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;
|
||||
}
|
||||
p.error {
|
||||
padding-left: 50px;
|
||||
background: url(../images/stop-mid.png) no-repeat left -5px;
|
||||
min-height: 48px;
|
||||
}
|
||||
td.label {
|
||||
text-align: left;
|
||||
}
|
||||
label.read-only {
|
||||
color: #666;
|
||||
cursor: text;
|
||||
}
|
||||
td.input {
|
||||
text-align: left;
|
||||
}
|
||||
table.formTable {
|
||||
border: 0;
|
||||
cellpadding: 2px;
|
||||
cellspacing: 0;
|
||||
}
|
||||
.wizlabel, .wizinput {
|
||||
color: #000;
|
||||
font-size: 10pt;
|
||||
}
|
||||
.wizhelp {
|
||||
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{
|
||||
transition: background-color 0.2s ease-in-out;
|
||||
&.progress-error{
|
||||
background-color: #E53E3E !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
h3.clickable {
|
||||
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-background-color;
|
||||
border-left: 4px solid $message-default-border-color;
|
||||
padding: 10px;
|
||||
|
||||
&.message-valid{
|
||||
color: $message-valid-text-color;
|
||||
background-color: $message-valid-background-color;
|
||||
border-color: $message-valid-border-color;
|
||||
}
|
||||
&.message-warning{
|
||||
color: $message-warning-text-color;
|
||||
background-color: $message-warning-background-color;
|
||||
border-color: $message-warning-border-color;
|
||||
}
|
||||
&.message-error{
|
||||
color: $message-error-text-color;
|
||||
background-color: $message-error-background-color;
|
||||
border-color: $message-error-border-color;
|
||||
}
|
||||
>.message-title {
|
||||
font-weight: bold;
|
||||
margin-right: 5px;
|
||||
}
|
||||
}
|
||||
.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: 0;
|
||||
|
||||
> legend{
|
||||
font-size: 12pt;
|
||||
margin-top: 25px;
|
||||
margin-bottom: 7px;
|
||||
width: 100%;
|
||||
border-bottom: 1px solid#718096;
|
||||
padding-bottom: 7px;
|
||||
}
|
||||
}
|
||||
|
||||
#details{
|
||||
>.message{
|
||||
margin-bottom: 6px;
|
||||
|
||||
&:last-of-type{
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
.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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user