{"id":21813267,"url":"https://github.com/morficus/responsive-modal-styles","last_synced_at":"2025-03-21T09:22:17.735Z","repository":{"id":16305182,"uuid":"19054009","full_name":"morficus/responsive-modal-styles","owner":"morficus","description":"A series of sample CSS to style modals that behave nicely on a variety of screen sizes","archived":false,"fork":false,"pushed_at":"2014-04-26T03:54:53.000Z","size":133,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-26T06:08:28.615Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/morficus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-04-23T02:22:48.000Z","updated_at":"2014-04-26T03:56:51.000Z","dependencies_parsed_at":"2022-09-14T22:54:31.935Z","dependency_job_id":null,"html_url":"https://github.com/morficus/responsive-modal-styles","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/morficus%2Fresponsive-modal-styles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morficus%2Fresponsive-modal-styles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morficus%2Fresponsive-modal-styles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morficus%2Fresponsive-modal-styles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/morficus","download_url":"https://codeload.github.com/morficus/responsive-modal-styles/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244768308,"owners_count":20507225,"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-11-27T14:28:17.392Z","updated_at":"2025-03-21T09:22:17.713Z","avatar_url":"https://github.com/morficus.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"Responsive Modal Styles\n=======================\n\nA series of sample CSS to style modals that behave nicely on a variety of screen sizes\n\n\nMotivations\n---\nI find most of the modals provided by the CSS frameworks I normally use (most of the time, Bootstrap). Are just not great...and they really suck on mobile devices:  \n\n* some don't adjust to the users screen size\n* others can't properly handle lengthy content on a smaller or lower resolution screen\n* action buttons aren't always visible\n* and the list goes on\n\nSo I took it upon my self to fix this issue in as many CSS frameworks as I could.  \nThis solution promises the following:\n\n* the modal will occupy the optimal amount of screen real estate, regardless of screen size.\n* modal controls (close button and footers) will always be accessible, regardless of content length.\n* title (or header) will also always be visible (in most cases), regardless of content length.\n\n\nHow To Use\n---\nGo into the folder named after the CSS framework you are using and grab the \"responsive-modal.css\" file.  \nYou can either use the file directly in your project, or copy/paste its content into one of your existing style sheets.  \nAnd then, of course, modify the commented properties (to adjust height and width) to fit your needs.\n\nMissing a framework?\n---\nAre you using a framework that is not represented in this repo?  \nOpen an issue to let me know your interested, and I'll make it happen.\n\n\nMissing a framework?\n---\nAre you using a framework that is not represented in this repo?  \nOpen an issue to let me know your interested, and I'll make it happen.\n\nContributing\n---\nLooking to add a framework into the mix? Just fork the repo, do your thing and issue a pull request. \nMake sure to take a look at the existing stylesheets and try to match the code formatting as much as possible (just for consistency).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorficus%2Fresponsive-modal-styles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmorficus%2Fresponsive-modal-styles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorficus%2Fresponsive-modal-styles/lists"}