aboutsummaryrefslogtreecommitdiffstats
path: root/stories/angular/styles.scss
blob: 19dbc570aca3b3855143cc0250f9431c3ec6799b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
/*
Specific styles for storybook
*/

.sb-show-main {
    padding: 20px;
}

.storybook-new-row {
    display: flex;
    flex-direction: row;
}

.storybook-component-wrapper {
    margin: 10px;
    padding: 10px;
}

.storybook-component-info {
    display: block;
    text-align: left;
    margin-bottom: 10px;
}

.storybook-icons-showcase {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;

    .storybook-component-wrapper {
        width: 150px;
        text-align: center;
        width: 150px;
        border: solid 1px #eeeeee;
        border-radius: 5px;
    }

    .storybook-component-info {
        text-align: center;
        font-size: 11px;
        user-select: text;
    }

    .storybook-debug-icon {
        border: solid 1px #000000;
    }
}

/*
Specific styles for storybook components sample
*/
.sdc-accordion-custom-class .sdc-accordion-header,
.sdc-accordion-custom-class .sdc-accordion-body.open {
    padding: 10px;
    border-radius: 3px;
}
.sdc-accordion-custom-class .sdc-accordion-header {
    background-color: #d2d2d2;
}
.sdc-accordion-custom-class .sdc-accordion-body.open {
    border: 1px solid #d2d2d2;
    margin-top: 1px;
 }



.colors-table {
    font-size: 13px;

    .color-group {

        display: flex;
        flex-direction: row;
        align-items: flex-start;

        .color-section {

        margin: 0 20px 20px 0;
        text-align: center;
        
        div {
            align-self: center;
            user-select: text;
        }
        $circle-size: 80px;
        .color-circle {
            height: $circle-size;
            width: $circle-size;
            border-radius: $circle-size;
            text-align: center;
        }
        }
    }
}

.storybook-welcome {
    h1 { font-size: 30px; margin: 12px 0 12px 0; }
    h2 { font-size: 24px; margin: 12px 0 12px 0; }
    h3 { font-size: 20px; margin: 12px 0 12px 0; }
    h4 { font-size: 14px; margin: 4px 0 4px 0; text-decoration: underline; }
    code { font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif; font-size: 12px; }
    ul li { list-style: circle; list-style-position: inside; }
}