plugin.css 4.7 KB
Newer Older
Lab机器人's avatar
readme  
Lab机器人 已提交
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
/** 浮动导航 */
#anchor-navigation-ex-navbar {
    background-color: #fafafa;
    border: 1px solid rgba(0, 0, 0, .07);
    border-radius: 1px;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
    background-clip: padding-box;
    padding: 5px 10px;
    position: fixed;
    /*background-color: rgba(255,255,255,0.98);*/
    right: 50px;
    top: 68px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 999;
    cursor: pointer;
    text-align: right;
    max-height: 70%;
    overflow-y: auto;
    overflow-x: hidden;
}

#anchor-navigation-ex-navbar ul {
    display: none;
    text-align: left;
    padding-right: 10px;
    padding-left: 10px;
    list-style-type: none;
}

#anchor-navigation-ex-navbar:hover ul {
    display: block;
}

#anchor-navigation-ex-navbar ul li a {
    text-decoration: none;
    border-bottom: none;
    font-size: 14px;
    color: #364149;
    background: 0 0;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

#anchor-navigation-ex-navbar ul li a:hover {
    text-decoration: underline;
}

#anchor-navigation-ex-navbar ul li .title-icon {
    padding-right: 4px;
}

/*对应官网皮肤主题颜色*/
.book.color-theme-1 #anchor-navigation-ex-navbar {
    background-color: #111111;
    border-color: #7e888b;
    color: #afa790;
}

.book.color-theme-1 #anchor-navigation-ex-navbar ul li a {
    color: #877f6a;
}

.book.color-theme-2 #anchor-navigation-ex-navbar {
    background-color: #2d3143;
    border-color: #272a3a;
    color: #bcc1d2;
}

.book.color-theme-2 #anchor-navigation-ex-navbar ul li a {
    color: #c1c6d7;
}

/* 返回顶部 */
#anchorNavigationExGoTop {
    position: fixed;
    right: 50px;
    bottom: 68px;
    background-color: #fafafa;
    border: 1px solid rgba(0, 0, 0, .07);
    border-radius: 1px;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
    background-clip: padding-box;
    z-index: 999;
    cursor: pointer;
    font-size: 12px;
    padding: 5px 10px;
    color: #364149;
}
/*对应官网皮肤主题颜色*/
.book.color-theme-1 #anchorNavigationExGoTop {
    background-color: #111111;
    border-color: #7e888b;
    color: #afa790;
}

.book.color-theme-2 #anchorNavigationExGoTop {
    background-color: #2d3143;
    border-color: #272a3a;
    color: #bcc1d2;
}

a.anchor-navigation-ex-anchor {
    color: inherit !important;
    display: none;
    margin-left: -30px;
    padding-left: 40px;
    cursor: pointer;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
}

a.anchor-navigation-ex-anchor i {
    margin-left: -30px;
    /*color: #000;*/
    vertical-align: middle;
    font-size: 16px !important;
}

h1, h2, h3, h4, h5, h6 {
    position: relative;
}

h1:hover a.anchor-navigation-ex-anchor, h2:hover a.anchor-navigation-ex-anchor, h3:hover a.anchor-navigation-ex-anchor,
h4:hover a.anchor-navigation-ex-anchor, h5:hover a.anchor-navigation-ex-anchor, h6:hover a.anchor-navigation-ex-anchor {
    display: inline-block;
}

.book .book-body .page-wrapper .page-inner section.normal {
    overflow: visible;
}

/* 页面内顶部固定导航  */
#anchor-navigation-ex-pagetop-navbar{
    border: 1px solid rgba(0, 0, 0, .07);
    border-radius: 1px;
    background-clip: padding-box;
    padding: 5px 10px;
    background-color: #fafafa;
    font-size: 12px;
}

#anchor-navigation-ex-pagetop-navbar ul {
    text-align: left;
    padding-right: 10px;
    padding-left: 10px;
    list-style-type: none;
}

#anchor-navigation-ex-pagetop-navbar:hover ul {
    display: block;
}

#anchor-navigation-ex-pagetop-navbar ul li a {
    text-decoration: none;
    border-bottom: none;
    font-size: 14px;
    color: #364149;
    background: 0 0;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

#anchor-navigation-ex-pagetop-navbar ul li a:hover {
    text-decoration: underline;
}

#anchor-navigation-ex-pagetop-navbar ul li .title-icon {
    padding-right: 4px;
}

/*对应官网皮肤主题颜色*/
.book.color-theme-1 #anchor-navigation-ex-pagetop-navbar {
    background-color: #111111;
    border-color: #7e888b;
    color: #afa790;
}

.book.color-theme-1 #anchor-navigation-ex-pagetop-navbar ul li a {
    color: #877f6a;
}

.book.color-theme-2 #anchor-navigation-ex-pagetop-navbar {
    background-color: #2d3143;
    border-color: #272a3a;
    color: #bcc1d2;
}

.book.color-theme-2 #anchor-navigation-ex-pagetop-navbar ul li a {
    color: #c1c6d7;
}