{"id":15619267,"url":"https://github.com/andersondias/css-step-menu","last_synced_at":"2025-04-22T13:23:20.696Z","repository":{"id":928566,"uuid":"697417","full_name":"andersondias/css-step-menu","owner":"andersondias","description":"A CSS Step Menu implementation based on Code Lindley CSS Step Menu implementation","archived":false,"fork":false,"pushed_at":"2010-06-01T15:35:58.000Z","size":96,"stargazers_count":17,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-29T15:32:42.659Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andersondias.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-06-01T15:35:28.000Z","updated_at":"2022-08-29T02:10:01.000Z","dependencies_parsed_at":"2022-07-05T22:00:46.390Z","dependency_job_id":null,"html_url":"https://github.com/andersondias/css-step-menu","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andersondias%2Fcss-step-menu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andersondias%2Fcss-step-menu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andersondias%2Fcss-step-menu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andersondias%2Fcss-step-menu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andersondias","download_url":"https://codeload.github.com/andersondias/css-step-menu/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250246786,"owners_count":21398927,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-03T08:04:18.724Z","updated_at":"2025-04-22T13:23:20.665Z","avatar_url":"https://github.com/andersondias.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"CSS Step Menu\n=============\n\nWhat is it?\n-----------\n\nA basic step menu implementation using CSS, based on Code Lindley CSS Step Menu implementation (http://codylindley.com/blogstuff/css/stepmenu/)\n\nCSS Step Menu gives you 4 states for steps menu design:\n . Not visited\n . Current step\n . Last done\n . Done\n\nAnd gives you 4 options of steps size:\n . Five steps - divide li items into 5 steps (\u003cul ... class='stepNavigation fiveStep'\u003e)\n . Four steps - divide li items into 4 steps (\u003cul ... class='stepNavigation fourStep'\u003e)\n . Three steps - divide li items into 3 steps (\u003cul ... class='stepNavigation threeStep'\u003e)\n . Two steps - divide li items into 2 steps (\u003cul ... class='stepNavigation twoStep'\u003e)\n\nHow to use it?\n--------------\n\nCSS Step Menu is based on an Unordened List (ul) to create steps menu.\n\nAdd the steps.css to your page adding to your pages header something like:\n\n  \u003clink rel=\"stylesheet\" type=\"text/css\" href=\"steps.css\" /\u003e\n\nAnd at your ul element that will be a steped navigation you should add a class: stepNavigation and set the number of steps using classes like: fiveStep, fourStep, etc.\n\nList item elements (li) inside of create ul should declare the step state using classes. Available steps states options are: current, done, lastDone.\nEmpty class li will set step like not visited.\n\nDOM structure\n-------------\n\n. Unordened list (ul)\n  . ul element should have the class stepNavigation to declare that it is a steped menu;\n  . ul element should declare steps quantity using classes like twoStep, threeStep, fourStep and fiveStep (defaults values).\n. List items (li)\n  . Not visited step is the default;\n  . Current step - class='current';\n  . Last done step - class='lastDone';\n  . Done step - class='done';\n  . Last step of the list should have a class='lastStep'.\n  . em element describes step's title\n  . span element describes step's description\n\nCode sample\n-----------\n\nFour steps menu sample:\n\n\u003cul class=\"stepNavigation fourStep\"\u003e\n    \u003cli class=\"done\"\u003e\u003ca href=\"/\" title=\"\"\u003e\u003cem\u003eStep 1: Done step\u003c/em\u003e\u003cspan\u003eEt nequ a quam turpis duisi\u003c/span\u003e\u003c/a\u003e\u003c/li\u003e\n    \u003cli class=\"lastDone\"\u003e\u003ca href=\"/\" title=\"\"\u003e\u003cem\u003eStep 2: Last done step\u003c/em\u003e\u003cspan\u003eEt nequ a quam turpis duisi\u003c/span\u003e\u003c/a\u003e\u003c/li\u003e\n    \u003cli class=\"current\"\u003e\u003ca title=\"\"\u003e\u003cem\u003eStep 3: Current step\u003c/em\u003e\u003cspan\u003eEt nequ a quam turpis duisi\u003c/span\u003e\u003c/a\u003e\u003c/li\u003e\n    \u003cli class=\"lastStep\"\u003e\u003ca title=\"\"\u003e\u003cem\u003eStep 4: Not visited step\u003c/em\u003e\u003cspan\u003eEt nequ a quam turpis duisi\u003c/span\u003e\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandersondias%2Fcss-step-menu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandersondias%2Fcss-step-menu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandersondias%2Fcss-step-menu/lists"}