summaryrefslogtreecommitdiff
path: root/Pages/Upload.razor.css
blob: 6ff40a2fbce9c7981f028851cf7781cc3a3bed04 (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
div#dropzone {
    border-radius: 10px;
    border:        3px dashed #aaa;
    cursor:        pointer;
    height:        400px;
    left:          50%;
    position:      relative;
    top:           50%;
    transform:     translate(-50%, -50%);
    transition:    border-color 0.1s linear;
    width:         700px;
}

div#dropzone p {
    color:      #aaa;
    display:    inline-block;
    left:       50%;
    margin:     0;
    position:   relative;
    text-align: center;
    top:        50%;
    transform:  translate(-50%, -50%);
}

div#dropzone input {
    display: none;
}

div#dropzone.hover, div#dropzone:hover {
    border: 3px dashed white;
}

div#dropzone.hover p, div#dropzone:hover p {
    color: white;
}