summary refs log tree commit diff
path: root/webclient/mobile.css
blob: 6fa9221ccf415e7ef72e3035cbca2283981bde0d (plain) (blame)
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
/*** Mobile voodoo ***/
@media all and (max-device-width: 640px) {
            
    #messageTableWrapper {
        margin-right: 0px ! important;
    }
    
    .leftBlock {
        width: 8em ! important;
        font-size: 8px ! important;
    }
    
    .rightBlock {
        width: 0px ! important;
        display: none ! important;
    }
    
    .avatar {
        width: 36px ! important;
    }
    
    #header {
        background-color: transparent;
    }
    
    #headerContent {
        padding-right: 5px;
    }
    
    #headerContent button {
        font-size: 8px;
    }
    
    #messageTable,
    #wrapper,
    #controls {
        max-width: 640px ! important;
    }    
    
    #headerUserId,
    #roomHeader img,
    #userIdCell,
    #roomRecentsTableWrapper,
    #usersTableWrapper,
    .extraControls {
        display: none;
    }
    
    #buttonsCell {
        width: 60px ! important;
        padding-left: 20px ! important;
    }
    
    #roomLogo {
        display: none;
    }
        
    .bubble {
        font-size: 12px ! important;
        min-height: 20px ! important;
    }

    #roomHeader {
        padding-top: 10px;
    }
    
    #roomName {
        font-size: 12px ! important;
        margin-top: 0px ! important;
    }

    .roomTopicSection {
        display: none;
    }
        
    #roomPage {
        top: 40px ! important;
        left: 5px ! important;
        right: 5px ! important;
        bottom: 70px ! important;
    }
    
    #controlPanel {
        height: 70px;
    }
        
    /* stop zoom on select */
    select:focus,
    textarea,
    input
    {
        font-size: 16px ! important;
    }
    
}