apache-ignite

Форк
0
/
callouts.scss 
75 строк · 2.0 Кб
1
// Licensed to the Apache Software Foundation (ASF) under one or more
2
// contributor license agreements.  See the NOTICE file distributed with
3
// this work for additional information regarding copyright ownership.
4
// The ASF licenses this file to You under the Apache License, Version 2.0
5
// (the "License"); you may not use this file except in compliance with
6
// the License.  You may obtain a copy of the License at
7
//
8
//     http://www.apache.org/licenses/LICENSE-2.0
9
//
10
// Unless required by applicable law or agreed to in writing, software
11
// distributed under the License is distributed on an "AS IS" BASIS,
12
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
// See the License for the specific language governing permissions and
14
// limitations under the License.
15
aside {
16
    border-left: 6px solid var(--callout-border);
17
    background: var(--callout-background);
18
    color: var(--callout-text);
19
    margin-left: 0;
20
    padding-right: 10px;
21
	padding-left:20px;
22
    position: relative;
23
    display: flex;
24
    margin-bottom: 16px;
25
	
26
	h3 {
27
		font-weight: bold;
28
		color:var(--callout-text);
29
	}
30

31
    &+aside {
32
        margin-top: 1em;
33
    }
34

35
    &:before {
36
       	font-size: 18px;
37
        width: 78px;
38
        flex: 0 0 auto;
39
        align-self: center;
40
        text-align: center;
41
    }
42

43
    .callout__margin-collapse-root {
44
        margin-top: 16px;
45
        margin-bottom: 16px;
46
    }
47

48
    &.note {
49
        --callout-text: #723c81;
50
        --callout-border: #723c81;
51
        --callout-background: #f7f7f7;
52
        --callout-icon: "\2B50";
53
    }
54
	
55
    &.tip {
56
        --callout-text: #af4e17;
57
        --callout-border: #f18329;
58
        --callout-background: #f7f7f7;
59
        --callout-icon: "\2B50";
60
    }
61

62
    &.caution, &.important {
63
        --callout-text: #65666a;
64
        --callout-border: #e9502c;
65
        --callout-background: #f7f7f7;
66
        --callout-icon: "\01F449";
67
    }
68

69
    &.warning {
70
        --callout-text: #df2226;
71
        --callout-border: #df2226;
72
        --callout-background: #f7f7f7;
73
        --callout-icon: "\01F4CD";
74
    }
75
}
76

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.