core/qtwebkit/MediaControl.diff

80 lines
2.3 KiB
Diff

diff --git a/Source/WebCore/css/mediaControlsQt.css b/Source/WebCore/css/mediaControlsQt.css
index 64e0ec5..0fa52e1 100644
--- a/Source/WebCore/css/mediaControlsQt.css
+++ b/Source/WebCore/css/mediaControlsQt.css
@@ -22,7 +22,7 @@
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
/* QtWebKit media controls. Extends mediaControls.css */
@@ -68,7 +68,9 @@ audio::-webkit-media-controls-mute-button {
width: 12px;
height: 12px;
padding: 6px;
- margin: 5px 5px 5px 3px;
+ position: relative;
+ bottom: 5px;
+ margin-right: 3px;
border: none !important;
}
@@ -76,7 +78,9 @@ video::-webkit-media-controls-mute-button {
width: 12px;
height: 12px;
padding: 6px;
- margin: 5px 5px 5px 3px;
+ position: relative;
+ bottom: 5px;
+ margin-right: 3px;
border: none !important;
}
@@ -163,6 +167,8 @@ video::-webkit-media-controls-timeline {
audio::-webkit-media-controls-volume-slider-container {
-webkit-appearance: media-volume-slider-container;
position: absolute;
+ right: 3px;
+ bottom: 29px;
height: 103px;
width: 24px;
}
@@ -170,30 +176,30 @@ audio::-webkit-media-controls-volume-slider-container {
video::-webkit-media-controls-volume-slider-container {
-webkit-appearance: media-volume-slider-container;
position: absolute;
+ right: 3px;
+ bottom: 29px;
height: 103px;
width: 24px;
}
audio::-webkit-media-controls-volume-slider {
-webkit-appearance: media-volume-slider;
- display: inline;
+ display: -webkit-box;
position: absolute;
width: 12px; /* See RenderThemeQt::adjustSliderThumbSize(). */
padding: 6px;
height: 88px;
- margin: 0 0 3px 0;
}
video::-webkit-media-controls-volume-slider {
-webkit-appearance: media-volume-slider;
- display: inline;
+ display: -webkit-box;
position: absolute;
width: 12px; /* See RenderThemeQt::adjustSliderThumbSize(). */
padding: 6px;
height: 88px;
- margin: 0 0 3px 0;
}
audio::-webkit-media-controls-seek-back-button {