aboutsummaryrefslogtreecommitdiff
path: root/resources/assets/stylesheets/scss/profile.scss
blob: c180e0398fe2fc390b6da679945289020eaa6b7f (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
105
106
.profile-sidebar-details {
    margin-left: 0.5em;
}

.profile-view {
    display: flex;
}
.profile-view-aside {
    flex: 1 0 auto;
}
.profile-view-main {
    flex: 1 1 100%;
    padding: 0 1em;
}
.profile-view-actions {
    @extend .list-unstyled;
    img {
        vertical-align: text-top;
    }
}

@include media-breakpoint-tiny-down(){

    table.settings-privacy {
        &, thead, tbody, th, td, tr {
            display: block;
        }

        > tbody > tr > td {
            border: none !important;
            padding-left: 10%;
        }

        .visibility-homepage-element {
            margin-top: 2em;
        }

        .visibility-homepage-element-name {
            font-weight: 600;
            margin-right: .75em;
        }

        tbody td,
        tbody td:first-child {
            width: auto;
        }
    }
};



#select_fach_abschluss {
    margin: 1em 0;
    min-width: 300px;

    tbody {
        td {
            display: block;
            white-space: nowrap;

            &:last-child {
                padding-right: .5em;
            }

            &::before {
                content: attr(data-label);
                font-weight: bold;
                width: 6.5em;
                display: inline-block;
            }
        }

        th, td {
            text-align: left;
        }
    }
}

#select_fach_abschluss > tbody > tr:last-child > td {
    border-bottom: 1px solid var(--table-header-color);
}

@include media-breakpoint-small-up(){
    #select_fach_abschluss tbody {
        td::before {
            display: none;
        }

        th, td {
            display: table-cell;
            padding: .25em .5em;
        }
        th:first-child,
        td:first-child {
            padding-left: 0;
        }
        th:last-child,
        td:last-child {
            padding-right: 0;
        }

        td:last-child {
            text-align: center;
        }
    }
};