/* @!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!@ */
/* Shift on press effect for buttons */
/* @!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!@ */


/* ----------- */
/* GTK Buttons */
/* ----------- */

/* Buttons! */
button:active box, button:checked box, button:checked:disabled box,
button.flat:active > *, button.flat:checked > *, button.flat:checked:disabled > *,
button.text-button:active > *, button.text-button:checked > *, button.text-button:checked:disabled > *,
button.image-button:active > *, button.image-button:checked > *, button.image-button:checked:disabled > *,
button.flat.image-button:active > *, button.flat.image-button:checked > *, button.flat.image-button:checked:disabled > *
{
    margin-top: 1px;
    margin-bottom: -1px;
    margin-left: 1px;
    margin-right: -1px;
}


/* Edge Cases */

/* Font selector buttons get a double dose of shifting on second label: Negate! */
button.font:active > box > box > label, button.font:checked > box > box > label, button.font:checked:disabled > box > box > label {
    margin-top: -1px;
    margin-bottom: 1px;
    margin-left: -1px;
    margin-right: 1px;
}

/*  Text buttons... Something is warping certain dialogs when shifting down and I'm unsure as to where
    that is as of now. Get half-way working by at least shifting right! */
.dialog-action-area.horizontal > button.text-button:active label,
.dialog-action-area.horizontal > button.text-button:checked label,
.dialog-action-area.horizontal > button.text-button:checked:disabled label,
.dialog-action-box.horizontal buttonbox button.text-button:active label,
.dialog-action-box.horizontal buttonbox button.text-button:checked label,
.dialog-action-box.horizontal buttonbox button.text-button:checked:disabled label {
    margin-top: 0px;
}


/* Hacks!!! */

/* Handbrake "To: button and I'm sure other things. This totally fixes it! */
grid button:active > box, grid button:checked > box, grid button:checked:disabled box {
    margin: 0px;
    margin-top: 0px;
    margin-bottom: -2px;
    margin-left: 1px;
    margin-right: -1px;
}



/* ----------- */
/* GTK Buttons */
/* ----------- */


/* ------------ */
/* Xfce Plugins */
/* ------------ */


/* Prevent Clock from being pushed! */
#XfcePanelWindow #clock-button:checked box {
	margin: 0px;
	margin-bottom: 0px;
}


/* Same for Date/Time plugin... */
#datetime-1 button box, #datetime-2 button box, #datetime-3 button box, #datetime-4 button box,
#datetime-5 button box, #datetime-6 button box, #datetime-7 button box, #datetime-8 button box,
#datetime-9 button box, #datetime-10 button box, #datetime-11 button box, #datetime-12 button box,
#datetime-13 button box, #datetime-14 button box, #datetime-15 button box, 
#datetime-16 button box, #datetime-17 button box, #datetime-18 button box, #datetime-19 button box,
#datetime-20 button box, #datetime-21 button box, #datetime-22 button box, #datetime-23 button box, 
#datetime-24 button box, #datetime-25 button box, #datetime-26 button box, #datetime-27 button box, 
#datetime-28 button box, #datetime-29 button box, #datetime-30 button box, #datetime-31 button box, 
#datetime-32 button box, #datetime-33 button box, #datetime-34 button box, #datetime-35 button box, 
#datetime-36 button box, #datetime-37 button box, #datetime-38 button box, #datetime-39 button box, 
#datetime-40 button box, #datetime-41 button box, #datetime-42 button box, #datetime-43 button box,
#datetime-44 button box, #datetime-45 button box, #datetime-46 button box, #datetime-47 button box, 
#datetime-48 button box, #datetime-49 button box, #datetime-50 button box, #datetime-51 button box, 
#datetime-52 button box, #datetime-53 button box, #datetime-54 button box, #datetime-55 button box, 
#datetime-56 button box, #datetime-57 button box, #datetime-58 button box, #datetime-59 button box, 
#datetime-60 button box, #datetime-61 button box, #datetime-62 button box, #datetime-63 button box, 
#datetime-64 button box, #datetime-65 button box, #datetime-66 button box, #datetime-67 button box,
#datetime-68 button box, #datetime-69 button box, #datetime-70 button box, #datetime-71 button box, 
#datetime-72 button box, #datetime-73 button box, #datetime-74 button box, #datetime-75 button box, 
#datetime-76 button box, #datetime-77 button box, #datetime-78 button box, #datetime-79 button box, 
#datetime-80 button box, #datetime-81 button box, #datetime-82 button box, #datetime-83 button box, 
#datetime-84 button box, #datetime-85 button box, #datetime-86 button box, #datetime-87 button box, 
#datetime-88 button box, #datetime-89 button box, #datetime-90 button box, #datetime-91 button box,
#datetime-92 button box, #datetime-93 button box, #datetime-94 button box, #datetime-95 button box, 
#datetime-96 button box, #datetime-97 button box, #datetime-98 button box, #datetime-99 button box {
	margin: 0px;
}

/* Weather acts really weird. Rectify! */
#weather-1 button:active box, #weather-2 button:active box, #weather-3 button:active box, #weather-4 button:active box,
#weather-5 button:active box, #weather-6 button:active box, #weather-7 button:active box, #weather-8 button:active box,
#weather-9 button:active box, #weather-10 button:active box, #weather-11 button:active box, #weather-12 button:active box,
#weather-13 button:active box, #weather-14 button:active box, #weather-15 button:active box, 
#weather-16 button:active box, #weather-17 button:active box, #weather-18 button:active box, #weather-19 button:active box,
#weather-20 button:active box, #weather-21 button:active box, #weather-22 button:active box, #weather-23 button:active box, 
#weather-24 button:active box, #weather-25 button:active box, #weather-26 button:active box, #weather-27 button:active box, 
#weather-28 button:active box, #weather-29 button:active box, #weather-30 button:active box, #weather-31 button:active box, 
#weather-32 button:active box, #weather-33 button:active box, #weather-34 button:active box, #weather-35 button:active box, 
#weather-36 button:active box, #weather-37 button:active box, #weather-38 button:active box, #weather-39 button:active box, 
#weather-40 button:active box, #weather-41 button:active box, #weather-42 button:active box, #weather-43 button:active box,
#weather-44 button:active box, #weather-45 button:active box, #weather-46 button:active box, #weather-47 button:active box, 
#weather-48 button:active box, #weather-49 button:active box, #weather-50 button:active box, #weather-51 button:active box, 
#weather-52 button:active box, #weather-53 button:active box, #weather-54 button:active box, #weather-55 button:active box, 
#weather-56 button:active box, #weather-57 button:active box, #weather-58 button:active box, #weather-59 button:active box, 
#weather-60 button:active box, #weather-61 button:active box, #weather-62 button:active box, #weather-63 button:active box, 
#weather-64 button:active box, #weather-65 button:active box, #weather-66 button:active box, #weather-67 button:active box,
#weather-68 button:active box, #weather-69 button:active box, #weather-70 button:active box, #weather-71 button:active box, 
#weather-72 button:active box, #weather-73 button:active box, #weather-74 button:active box, #weather-75 button:active box, 
#weather-76 button:active box, #weather-77 button:active box, #weather-78 button:active box, #weather-79 button:active box, 
#weather-80 button:active box, #weather-81 button:active box, #weather-82 button:active box, #weather-83 button:active box, 
#weather-84 button:active box, #weather-85 button:active box, #weather-86 button:active box, #weather-87 button:active box, 
#weather-88 button:active box, #weather-89 button:active box, #weather-90 button:active box, #weather-91 button:active box,
#weather-92 button:active box, #weather-93 button:active box, #weather-94 button:active box, #weather-95 button:active box, 
#weather-96 button:active box, #weather-97 button:active box, #weather-98 button:active box, #weather-99 button:active box,
#weather-1 button:checked box, #weather-2 button:checked box, #weather-3 button:checked box, #weather-4 button:checked box,
#weather-5 button:checked box, #weather-6 button:checked box, #weather-7 button:checked box, #weather-8 button:checked box,
#weather-9 button:checked box, #weather-10 button:checked box, #weather-11 button:checked box, #weather-12 button:checked box,
#weather-13 button:checked box, #weather-14 button:checked box, #weather-15 button:checked box, 
#weather-16 button:checked box, #weather-17 button:checked box, #weather-18 button:checked box, #weather-19 button:checked box,
#weather-20 button:checked box, #weather-21 button:checked box, #weather-22 button:checked box, #weather-23 button:checked box, 
#weather-24 button:checked box, #weather-25 button:checked box, #weather-26 button:checked box, #weather-27 button:checked box, 
#weather-28 button:checked box, #weather-29 button:checked box, #weather-30 button:checked box, #weather-31 button:checked box, 
#weather-32 button:checked box, #weather-33 button:checked box, #weather-34 button:checked box, #weather-35 button:checked box, 
#weather-36 button:checked box, #weather-37 button:checked box, #weather-38 button:checked box, #weather-39 button:checked box, 
#weather-40 button:checked box, #weather-41 button:checked box, #weather-42 button:checked box, #weather-43 button:checked box,
#weather-44 button:checked box, #weather-45 button:checked box, #weather-46 button:checked box, #weather-47 button:checked box, 
#weather-48 button:checked box, #weather-49 button:checked box, #weather-50 button:checked box, #weather-51 button:checked box, 
#weather-52 button:checked box, #weather-53 button:checked box, #weather-54 button:checked box, #weather-55 button:checked box, 
#weather-56 button:checked box, #weather-57 button:checked box, #weather-58 button:checked box, #weather-59 button:checked box, 
#weather-60 button:checked box, #weather-61 button:checked box, #weather-62 button:checked box, #weather-63 button:checked box, 
#weather-64 button:checked box, #weather-65 button:checked box, #weather-66 button:checked box, #weather-67 button:checked box,
#weather-68 button:checked box, #weather-69 button:checked box, #weather-70 button:checked box, #weather-71 button:checked box, 
#weather-72 button:checked box, #weather-73 button:checked box, #weather-74 button:checked box, #weather-75 button:checked box, 
#weather-76 button:checked box, #weather-77 button:checked box, #weather-78 button:checked box, #weather-79 button:checked box, 
#weather-80 button:checked box, #weather-81 button:checked box, #weather-82 button:checked box, #weather-83 button:checked box, 
#weather-84 button:checked box, #weather-85 button:checked box, #weather-86 button:checked box, #weather-87 button:checked box, 
#weather-88 button:checked box, #weather-89 button:checked box, #weather-90 button:checked box, #weather-91 button:checked box,
#weather-92 button:checked box, #weather-93 button:checked box, #weather-94 button:checked box, #weather-95 button:checked box, 
#weather-96 button:checked box, #weather-97 button:checked box, #weather-98 button:checked box, #weather-99 button:checked box,
#weather-1 button:active image, #weather-2 button:active image, #weather-3 button:active image, #weather-4 button:active image,
#weather-5 button:active image, #weather-6 button:active image, #weather-7 button:active image, #weather-8 button:active image,
#weather-9 button:active image, #weather-10 button:active image, #weather-11 button:active image, #weather-12 button:active image,
#weather-13 button:active image, #weather-14 button:active image, #weather-15 button:active image, 
#weather-16 button:active image, #weather-17 button:active image, #weather-18 button:active image, #weather-19 button:active image,
#weather-20 button:active image, #weather-21 button:active image, #weather-22 button:active image, #weather-23 button:active image, 
#weather-24 button:active image, #weather-25 button:active image, #weather-26 button:active image, #weather-27 button:active image, 
#weather-28 button:active image, #weather-29 button:active image, #weather-30 button:active image, #weather-31 button:active image, 
#weather-32 button:active image, #weather-33 button:active image, #weather-34 button:active image, #weather-35 button:active image, 
#weather-36 button:active image, #weather-37 button:active image, #weather-38 button:active image, #weather-39 button:active image, 
#weather-40 button:active image, #weather-41 button:active image, #weather-42 button:active image, #weather-43 button:active image,
#weather-44 button:active image, #weather-45 button:active image, #weather-46 button:active image, #weather-47 button:active image, 
#weather-48 button:active image, #weather-49 button:active image, #weather-50 button:active image, #weather-51 button:active image, 
#weather-52 button:active image, #weather-53 button:active image, #weather-54 button:active image, #weather-55 button:active image, 
#weather-56 button:active image, #weather-57 button:active image, #weather-58 button:active image, #weather-59 button:active image, 
#weather-60 button:active image, #weather-61 button:active image, #weather-62 button:active image, #weather-63 button:active image, 
#weather-64 button:active image, #weather-65 button:active image, #weather-66 button:active image, #weather-67 button:active image,
#weather-68 button:active image, #weather-69 button:active image, #weather-70 button:active image, #weather-71 button:active image, 
#weather-72 button:active image, #weather-73 button:active image, #weather-74 button:active image, #weather-75 button:active image, 
#weather-76 button:active image, #weather-77 button:active image, #weather-78 button:active image, #weather-79 button:active image, 
#weather-80 button:active image, #weather-81 button:active image, #weather-82 button:active image, #weather-83 button:active image, 
#weather-84 button:active image, #weather-85 button:active image, #weather-86 button:active image, #weather-87 button:active image, 
#weather-88 button:active image, #weather-89 button:active image, #weather-90 button:active image, #weather-91 button:active image,
#weather-92 button:active image, #weather-93 button:active image, #weather-94 button:active image, #weather-95 button:active image, 
#weather-96 button:active image, #weather-97 button:active image, #weather-98 button:active image, #weather-99 button:active image,
#weather-1 button:checked image, #weather-2 button:checked image, #weather-3 button:checked image, #weather-4 button:checked image,
#weather-5 button:checked image, #weather-6 button:checked image, #weather-7 button:checked image, #weather-8 button:checked image,
#weather-9 button:checked image, #weather-10 button:checked image, #weather-11 button:checked image, #weather-12 button:checked image,
#weather-13 button:checked image, #weather-14 button:checked image, #weather-15 button:checked image, 
#weather-16 button:checked image, #weather-17 button:checked image, #weather-18 button:checked image, #weather-19 button:checked image,
#weather-20 button:checked image, #weather-21 button:checked image, #weather-22 button:checked image, #weather-23 button:checked image, 
#weather-24 button:checked image, #weather-25 button:checked image, #weather-26 button:checked image, #weather-27 button:checked image, 
#weather-28 button:checked image, #weather-29 button:checked image, #weather-30 button:checked image, #weather-31 button:checked image, 
#weather-32 button:checked image, #weather-33 button:checked image, #weather-34 button:checked image, #weather-35 button:checked image, 
#weather-36 button:checked image, #weather-37 button:checked image, #weather-38 button:checked image, #weather-39 button:checked image, 
#weather-40 button:checked image, #weather-41 button:checked image, #weather-42 button:checked image, #weather-43 button:checked image,
#weather-44 button:checked image, #weather-45 button:checked image, #weather-46 button:checked image, #weather-47 button:checked image, 
#weather-48 button:checked image, #weather-49 button:checked image, #weather-50 button:checked image, #weather-51 button:checked image, 
#weather-52 button:checked image, #weather-53 button:checked image, #weather-54 button:checked image, #weather-55 button:checked image, 
#weather-56 button:checked image, #weather-57 button:checked image, #weather-58 button:checked image, #weather-59 button:checked image, 
#weather-60 button:checked image, #weather-61 button:checked image, #weather-62 button:checked image, #weather-63 button:checked image, 
#weather-64 button:checked image, #weather-65 button:checked image, #weather-66 button:checked image, #weather-67 button:checked image,
#weather-68 button:checked image, #weather-69 button:checked image, #weather-70 button:checked image, #weather-71 button:checked image, 
#weather-72 button:checked image, #weather-73 button:checked image, #weather-74 button:checked image, #weather-75 button:checked image, 
#weather-76 button:checked image, #weather-77 button:checked image, #weather-78 button:checked image, #weather-79 button:checked image, 
#weather-80 button:checked image, #weather-81 button:checked image, #weather-82 button:checked image, #weather-83 button:checked image, 
#weather-84 button:checked image, #weather-85 button:checked image, #weather-86 button:checked image, #weather-87 button:checked image, 
#weather-88 button:checked image, #weather-89 button:checked image, #weather-90 button:checked image, #weather-91 button:checked image,
#weather-92 button:checked image, #weather-93 button:checked image, #weather-94 button:checked image, #weather-95 button:checked image, 
#weather-96 button:checked image, #weather-97 button:checked image, #weather-98 button:checked image, #weather-99 button:checked image
{
    margin-top: 0px;
    margin-bottom: -1px;
    margin-left: 1px;
    margin-right: -1px;
}


/* Docklike Plugin Icons */
#docklike-plugin.horizontal .active_group image, #docklike-plugin.vertical .active_group image {
    margin-top: 1px;
    margin-bottom: -1px;
    margin-left: 1px;
    margin-right: -1px;
}


/* PulseAudio Horizontal Button: Make inert! */
#pulseaudio-button:checked image {
    margin: 0px;
    margin-bottom: -1px;
    margin-right: 2px;
    margin-left: 0px;
}

/* PulseAudio Vertical Button: Depress like a button! */
#docklike-plugin.horizontal .active_group 
#pulseaudio-button:active .vertical > image, #pulseaudio-button:checked .vertical > image {
    margin-left: 1px;
    margin-right: -1px;
    margin-top: 1px;
}


/* General Hack to fix doubled shift from something */
#xfce-panel-toggle-button:checked image {
    margin-top: -1px;
    margin-bottom: 1px;
    margin-left: -1px;
    margin-right: 1px;
}


/* ------------ */
/* Xfce Plugins */
/* ------------ */

