{"id":16776933,"url":"https://github.com/adampatterson/dock","last_synced_at":"2026-04-18T01:32:38.372Z","repository":{"id":11965062,"uuid":"14537353","full_name":"adampatterson/Dock","owner":"adampatterson","description":"Simple extendable Less framework with Bootstrap roots","archived":false,"fork":false,"pushed_at":"2014-12-13T23:36:20.000Z","size":760,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-19T13:01:15.997Z","etag":null,"topics":["bootstrap","bootstrap-roots","css","dock","less"],"latest_commit_sha":null,"homepage":"http://adampatterson.github.io/Dock/","language":"CSS","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/adampatterson.png","metadata":{"files":{"readme":"readme.md","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":"2013-11-19T20:41:46.000Z","updated_at":"2024-01-15T10:28:35.000Z","dependencies_parsed_at":"2022-06-29T18:05:00.537Z","dependency_job_id":null,"html_url":"https://github.com/adampatterson/Dock","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/adampatterson/Dock","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adampatterson%2FDock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adampatterson%2FDock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adampatterson%2FDock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adampatterson%2FDock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adampatterson","download_url":"https://codeload.github.com/adampatterson/Dock/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adampatterson%2FDock/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31953513,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"ssl_error","status_checked_at":"2026-04-18T00:39:20.671Z","response_time":62,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["bootstrap","bootstrap-roots","css","dock","less"],"created_at":"2024-10-13T07:11:22.243Z","updated_at":"2026-04-18T01:32:38.347Z","avatar_url":"https://github.com/adampatterson.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dock\n**Simple extendable Less framework with Bootstrap roots**\n\n### Why\n\n**Bootstrap is for Apps and not Websites.**\n\nA common flaw with Frameworks is that they include the core source and people will ether make edits to it, or wont want to make modifications since they would complicate the upgrade process.\n\nUpdating the variables file is a great idea, until you update to the latest version and have to manually diff the two.\n\n\n### Structure\n\nThe basic Dock folder structure looks like this.\n\n* /extend\n* /extend/style.less\n* /extend/{ project files }\n* /src\n* **style.less**\n\nYou should always generate css from the files in the root folder.  In this eample we would compile **style.less**.\n\nThe `/src` folder contains the Dock source files and should not need to be modified. \n\nThe `/extend` folder will contain all of the custom code for your project, as well as the `/extend/extend.less` file. Think of this as Object Oriented Less.\n\n`/src/variable.less` contains the default values used in the framework, as long as you copy the exact same variable name to the `extend/extend.less` file you can effect the compiled code without creating inheritance.\n\n\n\n### Why extending is better?\n\nIt prevents code duplication or inheritance overhead.\n\nIf Dock defaults a link to Blue, without using the Extending values, you might do something like this.\n\n```\n// dock.less\na:link {\n\tcolor: blue;\n}\n\n// style.less\na:link {\n\tcolor: green;\n}\n\n// Net result is a green link.\n```\n\nBut if we use the `/extend/extend.less` and overwirte the default link color you would see generated css like this.\n\n\n```\n// dock.less\na:link {\n\tcolor: green;\n}\n\n// Net result is a green link.\n```\n\n### Setup\n\nThe idea here is that you are in control, so at a mimimum you need to import a few files.\n\nThe root `style.less` file would look something like this:\n\n```\n// Core Framework\n@import \"src/dock.less\";\n\n// Extended\n@import \"extend/mixins.less\";\n@import \"extend/responsive.less\";\n@import \"extend/ie.less\";\n@import \"extend/style.less\";\n```\n\n\nThats it!\n\n\n## Extras\nAlong with being a flexible micro framework, It also makes for a perfect Front end starting point when developing small sites or even CMS themes.\n\n### Grunt:\nhttp://gruntjs.com\n\n* `sudo npm install -g grunt-cli`\n* `npm install`\n* `grunt watch`\n\n### Bower:\nhttp://bower.io/\n\n* `bower install`\n\n### Acknowledgments\n\nThis included a watered down version of Bootstrap 3.1 http://getbootstrap.com, Some Mixins from http://getpreboot.com \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadampatterson%2Fdock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadampatterson%2Fdock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadampatterson%2Fdock/lists"}