summaryrefslogtreecommitdiffstats
path: root/css/navigation.css
blob: e19e6a5946b60a7638fd56580a2e838c2ca1b183 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/**
 * ownCloud - 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%;
    padding: 0 0 0 44px;
    background-position: 14px center;
}

#app-navigation .add-new .heading:hover {
    background-color: #ccc;
}

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

/* actual form content */
#app-navigation .add-new-popup {
    display: none;
    padding: 10px;
    box-shadow: inset 0px 0px 10px #dedede;
    border-top: 1px solid #dedede;
    border-bottom: 1px solid #dedede;
}

#app-navigation .add-new-popup input,
#app-navigation .add-new-popup select {
    width: 100%;
    height: 36px;
    padding: 5px;
    margin-right: 0;
}

#app-navigation .add-new-popup select {
    width: calc(100% - 36px);
    border-right: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    float: left;
}

#app-navigation .add-new-popup .add-new-folder-primary,
#app-navigation .add-new-popup .add-new-folder-secondary {
    float: right;
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
    width: 36px;
    height: 36px;
    margin-left: 0;
    margin-right: 0;
}

#app-navigation .add-new-popup .add-new-folder-secondary {
    border-radius: 0;
    border-right: 0;
    border-left: 0;
    margin-left: 0;
}

#app-navigation .add-new-popup input[name='folderName'] {
    width: calc(100% - 72px);
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    float: left;
}


#app-navigation .add-new-popup .error {
    padding: 0 0 10px 0;
}

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

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

#app-navigation .unread > a {
    font-weight: bold;
    padding-right: 32px;
}

#app-navigation .active > a {
    padding-right: 40px;
}

#app-navigation .active.unread > a {
    padding-right: 80px;
}

#app-navigation li:hover > a {
    padding-right: 60px;
}

#app-navigation .add-new:hover > a {
    padding-right: 0px;
}

#app-navigation .folder {
    text-transform: uppercase;
}

#app-navigation .feed {
    text-transform: none;
}

#app-navigation .folder-input {
    text-transform: uppercase;
}