summaryrefslogtreecommitdiffstats
path: root/css/owncloud.css
blob: a4b18ee575ef8ea5581c24103bdfce52d827b705 (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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
/* ---- APP STYLING ---- */
#app { height: 100%; width: 100%; }
/* Navigation: folder like structure */
#app-navigation {
        width: 250px; height: 100%; float: left; padding-bottom: 32px;
        -moz-box-sizing: border-box; box-sizing: border-box;
        border-right: 1px solid #ccc; background-color: #f8f8f8;
}
#app-navigation > ul {
        height: 100%; overflow: auto;
        -moz-box-sizing: border-box; box-sizing: border-box;
}
#app-navigation li {
        width: 100%; position: relative;
        -moz-box-sizing: border-box; box-sizing: border-box;
        text-shadow: 0 1px 0 rgba(255, 255, 255, .9);
}
#app-navigation li.active {	background-color: #ccc;	text-shadow: 0 1px 0 rgba(255,255,255,.7); }

#app-navigation > ul > li {
        border-bottom: 1px solid #ddd;
        border-top: 1px solid #fff;
        background-color: #eee;
}
#app-navigation > ul > li.active { border-bottom: 1px solid #ccc; border-top: 1px solid #ccc; }

#app-navigation ul.with-icon a {
        padding-left: 32px;
        background-size: 16px 16px;	background-repeat: no-repeat;
        background-position: 10px center;
}

#app-navigation li > a {
        display: block; width: 100%; padding: 0 16px; overflow: hidden; line-height: 32px;
        -moz-box-sizing: border-box; box-sizing: border-box;
        white-space: nowrap; text-overflow: ellipsis; color: #333;
}
#app-navigation li:hover > a { background-color: #ccc; }
#app-navigation > ul > li:hover { border-top: 1px solid #ccc; border-bottom: 1px solid #ccc;}

#app-navigation li.collapsible > button.collapse {
        display: none; position: absolute; left: 6px; top: 5px; height: 16px; width: 16px;
        background: none; background-image: url('../img/actions/triangle-s.svg');
        background-repeat: no-repeat; background-size: 16px 16px;
        border: none; border-radius: 0; outline: none !important;
        box-shadow: none;
}

#app-navigation li.collapsible:hover > a { background-image: none; }
#app-navigation li.collapsible:hover > button.collapse { display: block; }

#app-navigation li.collapsible button.collapse {
        -moz-transform: rotate(-90deg);
        -webkit-transform: rotate(-90deg);
        -ms-transform:rotate(-90deg);
        -o-transform:rotate(-90deg);
        transform: rotate(-90deg);
}

#app-navigation li.collapsible.open button.collapse {
        -moz-transform: rotate(0);
        -webkit-transform: rotate(0);
        -ms-transform:rotate(0);
        -o-transform:rotate(0);
        transform: rotate(0);
}

/* Second level nesting for lists */
#app-navigation > ul ul { display: none; }
#app-navigation > ul ul li > a { padding-left: 32px; }
#app-navigation > ul.with-icon ul li > a { padding-left: 48px; background-position: 24px center; }

#app-navigation .open {
        background-image: linear-gradient(top, rgb(238,238,238) 0%, rgb(245,245,245) 100%);
        background-image: -o-linear-gradient(top, rgb(238,238,238) 0%, rgb(245,245,245) 100%);
        background-image: -moz-linear-gradient(top, rgb(238,238,238) 0%, rgb(245,245,245) 100%);
        background-image: -webkit-linear-gradient(top, rgb(238,238,238) 0%, rgb(245,245,245) 100%);
        background-image: -ms-linear-gradient(top, rgb(238,238,238) 0%, rgb(245,245,245) 100%);
}

#app-navigation > ul li.open:hover {
        -webkit-box-shadow: inset 0 0 3px #cccccc;
        box-shadow: inset 0 0 3px #cccccc;
        border-top: 1px solid #ccc;
}

#app-navigation > ul li.open ul { display: block; }

/* drag and drop */
#app-navigation .drag-and-drop {
        -moz-transition: padding-bottom 500ms ease 0s;
        -o-transition: padding-bottom 500ms ease 0s;
        -webkit-transition: padding-bottom 500ms ease 0s;
        -ms-transition: padding-bottom 500ms ease 0s;
        transition: padding-bottom 500ms ease 0s;
        padding-bottom: 40px;
}
#app-navigation .personalblock > legend { padding: 10px 0; margin: 0; }
#app-navigation .error { color: #DD1144; }



/* Part where the content will be loaded into */
#app-content { height: 100%; overflow-y: auto; }

/* settings area */
#app-settings {	position: fixed; width: 249px; bottom: 0; border-top: 1px solid #ccc; }
#app-settings-header { background-color: #eee; }
#app-settings-content {	background-color: #eee;	display: none; padding: 10px; }
#app-settings.open #app-settings-content { display: block; }

.settings-button {
        height: 32px; width: 100%; padding: 0;	margin: 0; display: block;
        background-image: url('../img/actions/settings.png');
        background-repeat: no-repeat; background-position: 10px center;
        background-color: transparent;
        box-shadow: none;
        border-radius: 0; border: 0;
}
.settings-button:hover { background-color: #ddd; }

/* icons */
.folder-icon { background-image: url('../img/places/folder.png'); }
.delete-icon { background-image: url('../img/actions/delete.svg'); }
.delete-icon:hover { background-image: url('../img/actions/delete-hover.svg'); }
.edit-icon { background-image: url('../img/actions/rename.svg'); }

/* buttons */
button.loading {
        background-image: url('../img/loading.gif');
        background-position: right 10px center;
        background-repeat: no-repeat;
        padding-right: 30px;
}