_modals.scss 3.74 KB
Newer Older
1 2 3 4 5 6
p.progress-area {
	visibility: hidden;

}

.in-progress .modal-body {
7
	background-color: $gray-light-extra-1;
8 9 10
	p.progress-area {
		visibility: visible;
	}
11

12 13 14
}

.modal {
olga's avatar
olga committed
15
	&[data-item="user"] {
16
		&:not([data-type="contact"]) .table-selected .owner-name {
olga's avatar
olga committed
17 18 19
			display: none;
		}
	}
olga's avatar
olga committed
20

21 22 23
	&#user-contact {
		p {
			margin-top: 18px;
24
			position: relative;
25 26
		}
	}
Athina Bekakou's avatar
Athina Bekakou committed
27 28 29 30 31 32
	p {
		position: relative;
	}
	p>.error-sign {
		top: 0;
	}
33 34

	h3 {
olga's avatar
olga committed
35
		margin-top: 0;
36 37
		font-weight: bold
	}
38 39 40
    textarea {
        resize: vertical;
    }
41 42 43 44 45

	textarea, input {
		width: 87%;
		vertical-align: text-top;
		padding: 4px 8px;
46
        border: 1px solid $gray-lighter;
47
        color: $modal-text-color;
48 49 50 51
		&.body {
			min-height: 160px;
		}
	}
52

53 54 55
	label {
		// float: left;
		margin-right: 6px;
56 57
		width: 70px;
		vertical-align: sub;
58 59 60 61 62 63 64 65 66 67 68 69
	}

	.modal-body {
		background-color: white;

	}

	.modal-footer {
		margin-top: 0;
		form {
			display: inline;
		}
Athina Bekakou's avatar
Athina Bekakou committed
70
		.custom-btn:first-child {
olga's avatar
olga committed
71 72 73 74
			float: left;
			background-color: $gray-dark;
			border-color: $gray-dark;
		}
75 76 77 78 79 80 81
	}
}

.modal {
	.custom-btn {
		color: white;
		opacity: 0.9;
82 83
		&:hover,
        &:focus{
84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103
			opacity: 1;
		}
	}
	&[data-karma="dark"] {
		.elem {
			color: $gray-light
		}
	}
	&[data-karma="neutral"] {
		.elem {
			color: darken($blue-intense, 10%);

		}
	}
	&[data-karma="good"] {
		.elem {
			color: darken($green-intense, 10%);

		}
	}
104

105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136

	&[data-karma="bad"] {
		.elem {
			color: darken($orange-intense, 10%);

		}
	}

	&[data-caution="warning"][data-karma="good"], &[data-caution="warning"][data-karma="neutral"] {
		.elem {
			color: darken($orange-intense, 10%);

		}
	}

	&[data-caution="dangerous"][data-karma="bad"], &[data-caution="dangerous"][data-karma="neutral"] {
		.elem {
			color: darken($red-intense, 10%);

		}
	}
}

.custom-btn[data-karma="dark"] {
	background-color: #222222;
	border-color: transparent;
}
.modal {
	em {
		font-weight: bold;
		font-style: normal;
	}
Athina Bekakou's avatar
Athina Bekakou committed
137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155
	.popover {
		z-index: 2000;
		dl {
			color: black;
			font-weight: normal;
			dt {
				width: 90px;
			}
			dd {
				margin-left: 110px;
			}
		}
		h2 {
			font-size: 16px;
	        color: $gray-dark;
			font-weight: bold;
			text-align: center;
		}
	}
156 157 158
	.popover-content {
		min-width: 150px;
	}
Athina Bekakou's avatar
Athina Bekakou committed
159

160 161 162
}

.modal-content {
olga's avatar
olga committed
163
	padding: 20px;
164 165 166 167 168 169 170 171 172 173 174
	color: $gray-dark;
	.badge {
		background-color: transparent;
	}
}



.instructions-icon {
	color: $blue-intense;
	font-size: 22px;
175
	margin-left: 78px;
176 177 178 179 180 181 182 183 184 185 186 187 188 189
	&:hover {
		text-decoration: none;
	}
}

.extra-info {
	margin-top: 10px;
}

.error-sign {
	color: red;
	font-size: 20px;
	margin-left: 10px;
	position: absolute;
190 191
	// right: 8px;
	top: 6px;
192
	display: none;
193 194
	&:hover,
    &:focus{
195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212
		color: red;
		// color:#A80A0A;
		text-decoration: none;
	}
}

.form-area {
	position: relative;
}
.form-subject {
	margin-bottom: 15px;
}

.toggle-more {
	margin-top: -16px;
	display: none;
}

Olga Brani's avatar
Olga Brani committed
213 214
.modal {
    .table-selected {
Olga Brani's avatar
Olga Brani committed
215
        th,td {
216 217 218 219
            word-break: break-word;
            &.td-with-input {
                width: 250px;
            }
Olga Brani's avatar
Olga Brani committed
220
        }
Olga Brani's avatar
Olga Brani committed
221
        td:last-child {
Olga Brani's avatar
Olga Brani committed
222 223 224
            .wrap {
                padding-right: 36px;
            }
Olga Brani's avatar
Olga Brani committed
225 226 227 228 229 230 231 232 233
        }
        tr:nth-child(2n){
            background: darken(#fff, 5%);
        }
        tr {
            a {
                font-weight: bold;
            }
        }
234 235
        tr:hover,
        tr:focus{
Olga Brani's avatar
Olga Brani committed
236 237 238 239 240 241 242 243 244 245
            background: $gray-lighter;
            a {
                color: red;
            }
        }
        
        .remove {
            position: absolute;
            right: 14px;
            color: transparent;
246
            &:hover{
Olga Brani's avatar
Olga Brani committed
247
                cursor: pointer;
Olga Brani's avatar
Olga Brani committed
248 249
                text-decoration: none;
            }
250
        }
251 252 253 254 255 256 257 258 259 260
        .new-email {
            &+.error-sign {
                right: -25px;
                top: 10px;
            }
        }

    }
    .info-list dd {
        position: relative;
261 262
    }
}