Fix Fit width for OPs.

This commit is contained in:
Nicolas Stepien 2013-02-14 14:37:43 +01:00
parent bbb455c0c5
commit 90d6a5a90a
10 changed files with 36 additions and 35 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,4 @@
/* general */
/* General */
:root.burichan .dialog {
background-color: #D6DAF0;
border-color: #B7C5D9;
@ -16,7 +16,7 @@
color: #34345C;
}
/* quote */
/* Quote */
:root.burichan .inline {
border-color: #B7C5D9;
background-color: rgba(255, 255, 255, .14);

View File

@ -1,4 +1,4 @@
/* general */
/* General */
:root.futaba .dialog {
background-color: #F0E0D6;
border-color: #D9BFB7;
@ -16,7 +16,7 @@
color: #800000;
}
/* quote */
/* Quote */
:root.futaba .inline {
border-color: #D9BFB7;
background-color: rgba(255, 255, 255, .14);

View File

@ -1,4 +1,4 @@
/* general */
/* General */
:root.photon .dialog {
background-color: #DDD;
border-color: #CCC;
@ -16,7 +16,7 @@
color: #FF6600;
}
/* quote */
/* Quote */
:root.photon .inline {
border-color: #CCC;
background-color: rgba(255, 255, 255, .14);

View File

@ -1,4 +1,4 @@
/* general */
/* General */
.dialog {
box-shadow: 0 1px 2px rgba(0, 0, 0, .15);
border: 1px solid;
@ -132,7 +132,7 @@ a[href="javascript:;"] {
padding: 0;
}
/* notifications */
/* Notifications */
#notifications {
text-align: center;
}
@ -177,7 +177,7 @@ a[href="javascript:;"] {
overflow: auto;
}
/* thread updater */
/* Thread Updater */
#updater {
text-align: right;
}
@ -195,7 +195,7 @@ a[href="javascript:;"] {
color: limegreen;
}
/* quote */
/* Quote */
.quotelink.deadlink {
text-decoration: underline !important;
}
@ -244,7 +244,7 @@ a[href="javascript:;"] {
box-shadow: 0 0 0 2px rgba(216, 94, 49, .7);
}
/* file */
/* File */
.fileText:hover .fntrunc,
.fileText:not(:hover) .fnfull {
display: none;
@ -256,9 +256,10 @@ a[href="javascript:;"] {
:root.presto.fit-width .full-image {
width: 100%;
}
.expanded-image > .op > .file > .fileThumb,
.expanded-image > .op > .file > .fileThumb > .full-image {
float: none;
.expanded-image > .op > .file::after {
content: '';
clear: both;
display: table;
}
#ihover {
-moz-box-sizing: border-box;
@ -524,7 +525,7 @@ a[href="javascript:;"] {
padding-right: 20px;
}
.has-submenu::after {
content: "";
content: '';
border-left: 6px solid;
border-top: 4px solid transparent;
border-bottom: 4px solid transparent;

View File

@ -1,4 +1,4 @@
/* general */
/* General */
:root.tomorrow .dialog {
background-color: #282A2E;
border-color: #111;
@ -16,7 +16,7 @@
color: #81A2BE;
}
/* quote */
/* Quote */
:root.tomorrow .inline {
border-color: #111;
background-color: rgba(0, 0, 0, .14);

View File

@ -1,4 +1,4 @@
/* general */
/* General */
:root.yotsuba-b .dialog {
background-color: #D6DAF0;
border-color: #B7C5D9;
@ -16,7 +16,7 @@
color: #34345C;
}
/* quote */
/* Quote */
:root.yotsuba-b .inline {
border-color: #B7C5D9;
background-color: rgba(255, 255, 255, .14);

View File

@ -1,4 +1,4 @@
/* general */
/* General */
:root.yotsuba .dialog {
background-color: #F0E0D6;
border-color: #D9BFB7;
@ -16,7 +16,7 @@
color: #800000;
}
/* quote */
/* Quote */
:root.yotsuba .inline {
border-color: #D9BFB7;
background-color: rgba(255, 255, 255, .14);

View File

@ -286,13 +286,13 @@ UI = (->
d.removeEventListener 'mouseup', @up, false
localStorage.setItem "#{g.NAMESPACE}#{@id}.position", @style.cssText
hoverstart = ({root, el, initialEvent, events, asapTest, cb}) ->
hoverstart = ({root, el, initialEvent, endEvents, asapTest, cb}) ->
o = {
root: root
el: el
style: el.style
cb: cb
events: events.split ' '
endEvents: endEvents.split ' '
mousemove: (e) -> initialEvent = e
clientHeight: doc.clientHeight
clientWidth: doc.clientWidth
@ -310,7 +310,7 @@ UI = (->
o.timeout = setTimeout asap, 25
asap()
for event in o.events
for event in o.endEvents
root.addEventListener event, o.hoverend, false
root.addEventListener 'mousemove', o.hover, false
hover = (e) ->
@ -339,7 +339,7 @@ UI = (->
style.right = right
hoverend = ->
@el.parentNode.removeChild @el
for event in @events
for event in @endEvents
@root.removeEventListener event, @hoverend, false
@root.removeEventListener 'mousemove', @hover, false
@root.removeEventListener 'mousemove', @mousemove, false

View File

@ -1769,7 +1769,7 @@ QuotePreview =
root: @
el: qp
initialEvent: e
events: 'mouseout click'
endEvents: 'mouseout click'
cb: QuotePreview.mouseout
asapTest: -> qp.firstElementChild
@ -2314,7 +2314,7 @@ ImageHover =
root: @
el: el
initialEvent: e
events: 'mouseout'
endEvents: 'mouseout click'
asapTest: -> el.naturalHeight
$.on el, 'error', ImageHover.error
error: ->