node-red/editor/sass/notifications.scss

52 lines
1.2 KiB
SCSS
Raw Normal View History

2015-04-09 15:46:29 +02:00
/**
* Copyright 2015 IBM Corp.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
**/
2015-07-14 16:59:56 +02:00
#notifications {
z-index: 10000;
width: 500px;
margin-left: -250px;
left: 50%;
position: absolute;
top: 1px;
}
2015-04-09 15:46:29 +02:00
.notification {
2015-07-14 16:59:56 +02:00
box-sizing: border-box;
2015-07-14 00:21:03 +02:00
position: relative;
2015-07-14 16:59:56 +02:00
padding: 14px 18px;
2015-07-14 00:21:03 +02:00
margin-bottom: 4px;
2015-07-14 16:59:56 +02:00
box-shadow: 0 1px 1px 1px rgba(0,0,0, 0.15);
background-color: #fff;
color: #666;
2015-07-14 00:21:03 +02:00
border: 1px solid #325C80;
2015-07-14 16:59:56 +02:00
border-left-width: 16px;
2015-07-14 00:21:03 +02:00
}
2016-01-13 00:03:33 +01:00
.notification a {
text-decoration: none;
&:hover {
text-decoration: underline;
}
}
2015-07-14 00:21:03 +02:00
.notification-success {
2015-07-14 16:59:56 +02:00
border-color: #4B8400;
2015-04-09 15:46:29 +02:00
}
2015-07-14 00:21:03 +02:00
.notification-warning {
border-color: #D74108;
2015-04-09 15:46:29 +02:00
}
2015-07-14 00:21:03 +02:00
.notification-error {
2015-07-14 16:59:56 +02:00
border-color: #AD1625;
2015-04-09 15:46:29 +02:00
}