X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fcommunicator%2Fdownloads%2Fdownloadmanager.css;h=ff8785c0e0a3f994ae055301b8e59898a5c505b1;hp=7ecdc53d33601f5e1d97475167d15b9c5fbed072;hb=c149dba905a957aa39c93b26873327962cf0009e;hpb=8e02e65e9e699f458d9e71ae988d280b8019b95c diff --git a/LCARStrek/communicator/downloads/downloadmanager.css b/LCARStrek/communicator/downloads/downloadmanager.css index 7ecdc53d..ff8785c0 100644 --- a/LCARStrek/communicator/downloads/downloadmanager.css +++ b/LCARStrek/communicator/downloads/downloadmanager.css @@ -42,40 +42,36 @@ active, inactive, resumable, paused, downloading, finished, failed, canceled, blocked */ -#ActionPlay { - list-style-image: url("chrome://mozapps/skin/downloads/downloadButtons.png"); - -moz-image-region: rect(0px, 16px, 16px, 0px); +treechildren::-moz-tree-image(Name) { + -moz-margin-end: 2px; } -treechildren::-moz-tree-image(ActionPlay, downloading, resumable), -#pauseButton { +#pauseButton, +treechildren::-moz-tree-image(ActionPlay, downloading, resumable) { /* pause */ list-style-image: url("chrome://mozapps/skin/downloads/downloadButtons.png"); -moz-image-region: rect(0px, 48px, 16px, 32px); } -treechildren::-moz-tree-image(ActionPlay, paused, resumable), -#resumeButton { +#ActionPlay, +#resumeButton, +treechildren::-moz-tree-image(ActionPlay, paused, resumable) { /* resume */ list-style-image: url("chrome://mozapps/skin/downloads/downloadButtons.png"); -moz-image-region: rect(0px, 16px, 16px, 0px); } +#retryButton, treechildren::-moz-tree-image(ActionPlay, failed), -treechildren::-moz-tree-image(ActionPlay, canceled), -#retryButton { +treechildren::-moz-tree-image(ActionPlay, canceled) { /* retry */ list-style-image: url("chrome://mozapps/skin/downloads/downloadButtons.png"); -moz-image-region: rect(0px, 64px, 16px, 48px); } -#ActionStop { - list-style-image: url("chrome://mozapps/skin/downloads/downloadButtons.png"); - -moz-image-region: rect(0px, 32px, 16px, 16px); -} - -treechildren::-moz-tree-image(ActionStop, active), -#cancelButton { +#ActionStop, +#cancelButton, +treechildren::-moz-tree-image(ActionStop, active) { /* cancel */ list-style-image: url("chrome://mozapps/skin/downloads/downloadButtons.png"); -moz-image-region: rect(0px, 32px, 16px, 16px); @@ -94,18 +90,23 @@ treechildren::-moz-tree-image(ActionStop, inactive) { /* progress dialogs */ -/* focusable label, focus ring like .link-text but not a link */ +#dlProgressWindow { + /* match dialog.css */ + padding: 3px; +} + +/* label with dropdown, actually done as a button type=menu */ #fileName, #fileSource { - border: 1px solid transparent; - /* 1px is used for border, make margins smaller by that */ - margin-top: 0px; - margin-bottom: 1px; - -moz-margin-start: 5px; - -moz-margin-end: 4px; + margin: 0px; + border: 0px; + min-width: 0px; + min-height: 0px; } -#fileName:focus, -#fileSource:focus { - border: 1px dotted #FFCF00; + +#fileName > .button-box, +#fileSource > .button-box { + -moz-appearance: none; + padding: 0px; } #fileName {