summaryrefslogtreecommitdiffstats
path: root/css/navigation.scss
blob: c9387913f75e1f3bf4a16369042a37c8a550a6da (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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
/**
 * Nextcloud - News
 *
 * This file is licensed under the Affero General Public License version 3 or
 * later. See the COPYING file.
 *
 * @author Bernhard Posselt <dev@bernhard-posselt.com>
 * @copyright Bernhard Posselt 2014
 */

/* add new feed or folder */
/* button */
#app-navigation .add-new .heading {
    height: 44px;
    width: 100%;
}

#app-navigation .add-new .heading:hover {
    background-color: var(--color-background-darker);
}

#app-navigation .add-new .heading button {
    padding: 0 0 0 44px;
    line-height: 44px;
    width: 100%;
    border: 0;
    margin: 0;
    text-align: left;
    font-weight: normal;
    background-color: transparent;
    background-position: 14px center;
}


/* navigation */
#app-navigation ul.with-icon > li > a,
#app-navigation ul.with-icon > li > ul > li > a {
    padding-left: 44px;
}

#app-navigation .icon-starred {
    background-image: url('../img/starred.png');
}

.icon-rss {
    background-image: url('../img/rss.svg') !important;
}

.icon-rss-unread {
    background-image: url('../img/rss_unread.svg') !important;
}

.icon-add-folder {
    background-image: url('../img/add_folder.svg') !important;
}

.icon-facebook {
    background-image: url('../img/facebook.svg') !important;
}

.icon-twitter {
    background-image: url('../img/twitter.svg') !important;
}


.col-4 {
    -ms-flex: 0 0 33.333333%;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    position: relative;
    width: 100%;
}

.row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.icon-dropdown{
    background-position: center !important;
    background-size: 24px;
    padding: 2em !important;
    min-height: 28px !important;
    min-width: 28px !important;
}

.icon-full-text-enabled {
    background-image: url('../img/fulltext.svg');
    background-size: 50%;
    opacity: .5;
}


.icon-full-text-disabled {
    background-image: url('../img/nonfulltext.svg');
    background-size: 50%;
    opacity: .5;
}

#app-navigation .unread > a {
    font-weight: bold;
}

#app-navigation p.error {
    line-height: 25px;
}

#app-navigation .folder-rename-error {
    height: auto;
}

/**
 * Error message
 */
#app-navigation .error-message {
    padding: 15px;
    background-color: var(--color-main-background);
    color: var(--color-error);
    position: relative;
    overflow-y: auto;
}

#app-navigation .ui-state-disabled {
    opacity: 1;
}

#app-navigation .error-message .title {
    font-weight: bold;
    padding-right: 30px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#app-navigation .error-message:hover .title
#app-navigation .error-message:hover .message {

}

#app-navigation .error-message button {
    top: 0;
    right: 0;
    position: absolute;
    margin: 0;
    height: 44px;
    width: 44px;
    padding: 15px;
    border: 0;
    background-size: 25px;
    background-color: transparent;
    background-image: url('../img/close.svg');
    background-repeat: no-repeat;
    background-position: right 5px top 5px;
    opacity: .9;
}

#app-navigation .error-message button:hover {
    opacity: 1;
}

#app-navigation .animate-show.ng-hide-add,
#app-navigation .animate-show.ng-hide-remove {
    /* this is required as of 1.3x to properly
       apply all styling in a show/hide animation */
    transition: 0s linear opacity;
}

#app-navigation .animate-show.ng-hide-add-active,
#app-navigation .animate-show.ng-hide-remove-active {
    transition: .2s linear opacity;
}

#app-navigation .animate-show {
    opacity: 1;
}

#app-navigation .animate-show.ng-hide {
    opacity: 0;
}

#app-navigation .feed-no-ordering {
    transform: rotate(270deg);
}

#app-navigation .feed-reverse-ordering {
    transform: rotate(180deg);
}

#app-navigation .feed-normal-ordering {
}

#app-navigation .icon-pinned {
    background-image: url('../img/pinned.svg');
}

#app-navigation .icon-unpinned {
    background-image: url('../img/unpinned.svg');
}

#app-navigation .icon-updatemode-default {
    background-image: url('../img/updatemodedefault.svg');
}

#app-navigation .icon-updatemode-unread {
    background-image: url('../img/updatemodeunread.svg');
}

#app-navigation .updateerror a {
    background-color: var(--color-warning) !important;
}