{"id":19388960,"url":"https://github.com/james2doyle/google-form-styling","last_synced_at":"2025-04-23T23:31:53.811Z","repository":{"id":8592560,"uuid":"10227366","full_name":"james2doyle/google-form-styling","owner":"james2doyle","description":"A stylesheet to be used if you want to create your own theme for a google form","archived":false,"fork":false,"pushed_at":"2017-03-05T05:59:06.000Z","size":22,"stargazers_count":82,"open_issues_count":1,"forks_count":30,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-04-02T22:33:08.257Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://james2doyle.github.io/google-form-styling/","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/james2doyle.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-05-22T18:56:13.000Z","updated_at":"2024-10-10T16:34:09.000Z","dependencies_parsed_at":"2022-09-23T02:02:52.748Z","dependency_job_id":null,"html_url":"https://github.com/james2doyle/google-form-styling","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/james2doyle%2Fgoogle-form-styling","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/james2doyle%2Fgoogle-form-styling/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/james2doyle%2Fgoogle-form-styling/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/james2doyle%2Fgoogle-form-styling/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/james2doyle","download_url":"https://codeload.github.com/james2doyle/google-form-styling/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250532169,"owners_count":21446130,"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-10T10:14:13.854Z","updated_at":"2025-04-23T23:31:53.556Z","avatar_url":"https://github.com/james2doyle.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"google-form-styling\n===================\n\nA stylesheet to be used if you want to create your own theme for a Google form. The stylesheet is written with [LESS](http://lesscss.org) so that it is easy to customize.\n\n\n\n### Demo\n*Note that this styling sheet does not work with the newest version of google forms. To enable this styling sheet, the google forms needs to be revered to the old version which can be done by clicking on the bottom right hand corner quetion mark and reverting back to the old version.\n[Demo form in action](https://james2doyle.github.io/google-form-styling/)\n\n### Stylesheet content\n\nAs a starting point I basically just copied the stylesheet from the default Google form page. Then I took all the colors and placed them into variables. The stylesheet needs to be stripped of things not necessary.\n\n### Moving Forward\n\nI do not want to add any extra markup to the pages. The idea hear is to just copy the form mark that Google gives you and then just add a stylesheet that will make it themed.\n\n*Think themes for bootstrap. Markup stays, stylesheets change.*\n\nBut right now I am just going to try and normalize the current stylsheet into something as default as possible so that I can then create a my-theme-name.css file that contains all the variables to do the styling. I am currently only using the variables in LESS but eventually I will use more of the feaures to get everything nice and themeable.\n\n### How to create a custom form\n\n* Create a form as normal\n* Click the view live form\n* Copy everything inside the form tag including the form tag itself\n* Create a new blank HTML file\n* Create an empty div with a `container` class\n* Paste all the form markup inside there\n* Link the style.css stylsheet\n* Test the form and check the response in Google drive\n\n### Hosting the form\n\nSomething relatively new to Google drive is the ability to host static HTML pages.\n\n* Create a public shared folder\n* Upload all your **static** html files\n* Open the `index.html` file in drive and click the **preview button**\n* Copy the link to the page it sends you too\n* Share that link with whoever because you are done!\n\n[DEPRECATED]\nThis is how the [demo form](https://googledrive.com/host/0B3SHb_huRFdyNENfQjVzSGpIOFU/index.html) is hosted.\n\n### lesswatch.js\n\njust run `node lesswatch css` and it will watch all .less files and compile them for you. The lesswatch is written by [idris](https://gist.github.com/idris/1080416).\n\n### I am a LESS hater and I \u003c3 SASS/STYLUS/BABIES\n\nWell then find and replace all `@varName` signs with `$varName` or just make the variables `varName = value` for Stylus.\n\nI picked LESS because it has a lower barrier to entry than SASS or STYLUS. Even though I \u003c3 Stylus the best.\n\n\n### License\n\n(The MIT License)\n\nCopyright (c) 2015 James Doyle([@james2doyle](http://twitter.com/james2doyle)) james2doyle@gmail.com\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjames2doyle%2Fgoogle-form-styling","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjames2doyle%2Fgoogle-form-styling","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjames2doyle%2Fgoogle-form-styling/lists"}