forked from mozilla/gecko-dev
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1054889 - Update images for touch caret and selection carets. r=r…
…oc, f=mtseng, ui-r=chuang Update images provided in bug 1024930, and make touch caret uses the same images as selection carets.
- Loading branch information
Showing
18 changed files
with
13 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -695,9 +695,6 @@ | |
@BINPATH@/res/[email protected] | ||
@BINPATH@/res/[email protected] | ||
@BINPATH@/res/[email protected] | ||
@BINPATH@/res/text_selection_handle.png | ||
@BINPATH@/res/[email protected] | ||
@BINPATH@/res/[email protected] | ||
@BINPATH@/res/grabber.gif | ||
#ifdef XP_MACOSX | ||
@BINPATH@/res/cursors/* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,7 +59,4 @@ RESOURCE_FILES += [ | |
'res/[email protected]', | ||
'res/[email protected]', | ||
'res/[email protected]', | ||
'res/text_selection_handle.png', | ||
'res/[email protected]', | ||
'res/[email protected]', | ||
] |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,7 +53,7 @@ | |
display: table-row !important; | ||
} | ||
|
||
/* The ::-moz-table-column pseudo-element is for extra columns at the end | ||
/* The ::-moz-table-column pseudo-element is for extra columns at the end | ||
of a table. */ | ||
*|*::-moz-table-column { | ||
display: table-column !important; | ||
|
@@ -62,7 +62,7 @@ | |
*|*::-moz-table-column-group { | ||
display: table-column-group !important; | ||
} | ||
|
||
*|*::-moz-table-row-group { | ||
display: table-row-group !important; | ||
} | ||
|
@@ -183,7 +183,7 @@ | |
%endif | ||
} | ||
|
||
*|*::-moz-column-content { | ||
*|*::-moz-column-content { | ||
/* the column boxes inside a column-flowed block */ | ||
/* make unicode-bidi inherit, otherwise it has no effect on column boxes */ | ||
unicode-bidi: inherit; | ||
|
@@ -304,51 +304,33 @@ parsererror|sourcetext { | |
font-size: 12pt; | ||
} | ||
|
||
div[\_moz_anonclass="mozTouchCaret"].moz-touchcaret { | ||
background-image: url("resource://gre/res/text_selection_handle.png"); | ||
position: absolute; | ||
width: 19px; | ||
height: 24px; | ||
margin-left: -10px; | ||
background-position: center center; | ||
z-index: 2147483647; | ||
} | ||
|
||
div[\_moz_anonclass="mozTouchCaret"].moz-touchcaret, | ||
div[\_moz_anonclass="mozTouchCaret"].moz-selectioncaret-left, | ||
div[\_moz_anonclass="mozTouchCaret"].moz-selectioncaret-right { | ||
background-image: url("resource://gre/res/text_caret.png"); | ||
position: absolute; | ||
width: 21px; | ||
height: 26px; | ||
margin-left: -11px; | ||
width: 29px; | ||
height: 31px; | ||
margin-left: -15px; | ||
background-position: center center; | ||
background-size: 100% 100%; | ||
z-index: 2147483647; | ||
} | ||
|
||
div[\_moz_anonclass="mozTouchCaret"].moz-selectioncaret-left.tilt { | ||
background-image: url("resource://gre/res/text_caret_tilt_left.png"); | ||
margin-left: -22px; | ||
width: 22px; | ||
margin-left: -29px; | ||
width: 29px; | ||
} | ||
|
||
div[\_moz_anonclass="mozTouchCaret"].moz-selectioncaret-right.tilt { | ||
background-image: url("resource://gre/res/text_caret_tilt_right.png"); | ||
margin-left: 0px; | ||
width: 22px; | ||
width: 29px; | ||
} | ||
|
||
@media (min-resolution: 1.5dppx) { | ||
div[\_moz_anonclass="mozTouchCaret"].moz-touchcaret { | ||
background-image: url("resource://gre/res/[email protected]"); | ||
position: absolute; | ||
width: 29px; | ||
height: 36px; | ||
margin-left: -15px; | ||
background-position: center center; | ||
z-index: 2147483647; | ||
} | ||
|
||
div[\_moz_anonclass="mozTouchCaret"].moz-touchcaret, | ||
div[\_moz_anonclass="mozTouchCaret"].moz-selectioncaret-left, | ||
div[\_moz_anonclass="mozTouchCaret"].moz-selectioncaret-right { | ||
background-image: url("resource://gre/res/[email protected]"); | ||
|
@@ -364,16 +346,7 @@ div[\_moz_anonclass="mozTouchCaret"].moz-selectioncaret-right.tilt { | |
} | ||
|
||
@media (min-resolution: 2dppx) { | ||
div[\_moz_anonclass="mozTouchCaret"].moz-touchcaret { | ||
background-image: url("resource://gre/res/[email protected]"); | ||
position: absolute; | ||
width: 38px; | ||
height: 48px; | ||
margin-left: -19px; | ||
background-position: center center; | ||
z-index: 2147483647; | ||
} | ||
|
||
div[\_moz_anonclass="mozTouchCaret"].moz-touchcaret, | ||
div[\_moz_anonclass="mozTouchCaret"].moz-selectioncaret-left, | ||
div[\_moz_anonclass="mozTouchCaret"].moz-selectioncaret-right { | ||
background-image: url("resource://gre/res/[email protected]"); | ||
|
@@ -389,6 +362,7 @@ div[\_moz_anonclass="mozTouchCaret"].moz-selectioncaret-right.tilt { | |
} | ||
|
||
@media (min-resolution: 2.25dppx) { | ||
div[\_moz_anonclass="mozTouchCaret"].moz-touchcaret, | ||
div[\_moz_anonclass="mozTouchCaret"].moz-selectioncaret-left | ||
div[\_moz_anonclass="mozTouchCaret"].moz-selectioncaret-right { | ||
background-image: url("resource://gre/res/[email protected]"); | ||
|