Forum:Protect/Unprotect page icon

For all you users who protect and unprotect your pages I just thought of a new idea. If you are tired of seeing the protect/unprotect icon, there should be a change in the icon like a lock for protect and an unlock icon for unprotect. --Andrew Schlieffen Executive Administrator of Modern Wikia and Valkyrie Movie Wikia 23:13, May 21, 2010 (UTC)
 * Those images seem to be copyrighted.  Manyman  Talk  00:06, May 22, 2010 (UTC)
 * If you don't like the current images just add

.sprite,.sprite-small{ background-image:url('url source of the modified icons image') } to you css and edit this file to your image.  Manyman  Talk  00:38, May 22, 2010 (UTC)


 * You can't use just any image file for sprites. It has to be laid out with the icons in a grid of specific dimensions. See monaco-sprite.png for how it should be laid out. You will also notice there is only a single icon for the protect/unprotect feature, so I don't think you can make it toggle between icons just by pointing to a new image. -- Fandyllic  (talk &middot; contr) 2:49 PM PST 26 May 2010


 * Actually, you can use just any image -provided it is the rights size (about 16x16px) and that you get rid of the background-position attribute of the class. Also, you can have separate protect and unprotect icons by putting the following in your monaco.css:

li#control_protect .sprite.protect { background-position:0 0; background-image:url("http://images2.wikia.nocookie.net/__cb20100526224650/bioshock/images/5/59/16px-Padlock-silver.png"); } li#control_unprotect .sprite.protect { background-position:0 0; background-image:url("http://images2.wikia.nocookie.net/__cb20100526230019/bioshock/images/8/8f/Unprotect-sprite.png"); }
 * Of course, you can switch out the icon links. The ones in this code came from Wikipedia originally, and they look like this: http://images2.wikia.nocookie.net/__cb20100526224650/bioshock/images/5/59/16px-Padlock-silver.png http://images2.wikia.nocookie.net/__cb20100526230019/bioshock/images/8/8f/Unprotect-sprite.png ~Gardimuer  { ʈalk } 23:24, May 26, 2010 (UTC)
 * Thanks now I dont have to look at the default protect/unprotect icons--Andrew Schlieffen Executive Administrator of Modern Wikia and Valkyrie Movie Wikia 23:13, May 26, 2010 (UTC)