Fix menu's CSS
This commit is contained in:
parent
038a2220e7
commit
9f7dda70c1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -173,7 +173,7 @@ UI = do ->
|
|||||||
['0px', 'auto']
|
['0px', 'auto']
|
||||||
else
|
else
|
||||||
['auto', '0px']
|
['auto', '0px']
|
||||||
[left, right] = if eRect.right + sRect.width < cWidth
|
[left, right] = if eRect.right + sRect.width < cWidth - 150
|
||||||
['100%', 'auto']
|
['100%', 'auto']
|
||||||
else
|
else
|
||||||
['auto', '100%']
|
['auto', '100%']
|
||||||
|
|||||||
1143
src/General/css/font-awesome.css
vendored
1143
src/General/css/font-awesome.css
vendored
File diff suppressed because one or more lines are too long
@ -34,6 +34,9 @@
|
|||||||
background-color: #F2F2F2;
|
background-color: #F2F2F2;
|
||||||
color: #888;
|
color: #888;
|
||||||
}
|
}
|
||||||
|
.field::-webkit-search-decoration {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
.move {
|
.move {
|
||||||
cursor: move;
|
cursor: move;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
@ -278,7 +281,7 @@ a {
|
|||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
.notification > .close {
|
.notification > .close {
|
||||||
padding: 6px;
|
padding: 7px;
|
||||||
top: 0;
|
top: 0;
|
||||||
right: 5px;
|
right: 5px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
@ -329,7 +332,7 @@ a {
|
|||||||
}
|
}
|
||||||
#fourchanx-settings > nav a.close {
|
#fourchanx-settings > nav a.close {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
padding: 2px;
|
padding: 0 2px;
|
||||||
}
|
}
|
||||||
.section-container {
|
.section-container {
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
@ -426,6 +429,37 @@ a {
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Index */
|
||||||
|
:root.index-loading .navLinks,
|
||||||
|
:root.index-loading .board,
|
||||||
|
:root.index-loading .pagelist {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
#index-search {
|
||||||
|
padding-right: 1.5em;
|
||||||
|
width: 100px;
|
||||||
|
transition: color .25s, border-color .25s, width .25s;
|
||||||
|
}
|
||||||
|
#index-search:focus,
|
||||||
|
#index-search[data-searching] {
|
||||||
|
width: 200px;
|
||||||
|
}
|
||||||
|
#index-search-clear {
|
||||||
|
color: gray;
|
||||||
|
margin-left: -1.25em;
|
||||||
|
}
|
||||||
|
<% if (type === 'crx') { %>
|
||||||
|
/* ``::-webkit-*'' selectors break selector lists on Firefox. */
|
||||||
|
#index-search::-webkit-search-cancel-button,
|
||||||
|
<% } %>
|
||||||
|
#index-search:not([data-searching]) + #index-search-clear {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.summary {
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Announcement Hiding */
|
/* Announcement Hiding */
|
||||||
:root.hide-announcement #globalMessage {
|
:root.hide-announcement #globalMessage {
|
||||||
display: none;
|
display: none;
|
||||||
@ -891,7 +925,7 @@ input#qr-filename:not(.edit) {
|
|||||||
opacity: .5;
|
opacity: .5;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
position: relative;
|
position: relative;
|
||||||
text-shadow: 0 1px 1px #000;
|
text-shadow: 0 0 2px #000;
|
||||||
-moz-transition: opacity .25s ease-in-out;
|
-moz-transition: opacity .25s ease-in-out;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
@ -923,8 +957,7 @@ input#qr-filename:not(.edit) {
|
|||||||
.remove {
|
.remove {
|
||||||
background: none;
|
background: none;
|
||||||
color: #e00;
|
color: #e00;
|
||||||
font-weight: 700;
|
padding: 1px;
|
||||||
padding: 3px;
|
|
||||||
}
|
}
|
||||||
a:only-of-type > .remove {
|
a:only-of-type > .remove {
|
||||||
display: none;
|
display: none;
|
||||||
@ -969,7 +1002,7 @@ a:only-of-type > .remove {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Menu */
|
/* Menu */
|
||||||
.menu-button {
|
.menu-button:not(.fa-bars) {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
position: relative;
|
position: relative;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
@ -1023,7 +1056,7 @@ a:only-of-type > .remove {
|
|||||||
left: 100%;
|
left: 100%;
|
||||||
top: -1px;
|
top: -1px;
|
||||||
}
|
}
|
||||||
.focused .submenu {
|
.focused > .submenu {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
.imp-exp-result {
|
.imp-exp-result {
|
||||||
@ -1268,4 +1301,12 @@ a:only-of-type > .remove {
|
|||||||
:root.gal-hide-thumbnails:not(.gal-fit-height) .gal-name,
|
:root.gal-hide-thumbnails:not(.gal-fit-height) .gal-name,
|
||||||
:root.gal-hide-thumbnails:not(.gal-fit-height) .gal-count {
|
:root.gal-hide-thumbnails:not(.gal-fit-height) .gal-count {
|
||||||
right: 44px !important;
|
right: 44px !important;
|
||||||
|
}
|
||||||
|
@media screen and (resolution: 1dppx) {
|
||||||
|
.fa-bars {
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
#shortcuts .fa-bars {
|
||||||
|
vertical-align: -1px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user