{"id":19070565,"url":"https://github.com/siteserver/siteserver-ui","last_synced_at":"2025-04-28T14:26:04.690Z","repository":{"id":57362043,"uuid":"121105834","full_name":"siteserver/siteserver-ui","owner":"siteserver","description":"SiteServer CMS 响应式用户交互组件库","archived":false,"fork":false,"pushed_at":"2019-05-22T05:33:00.000Z","size":16792,"stargazers_count":10,"open_issues_count":0,"forks_count":7,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-18T17:19:20.118Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://siteserver.github.io/siteserver-ui/","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/siteserver.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":"2018-02-11T09:10:50.000Z","updated_at":"2020-04-02T03:26:35.000Z","dependencies_parsed_at":"2022-09-18T06:04:57.939Z","dependency_job_id":null,"html_url":"https://github.com/siteserver/siteserver-ui","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/siteserver%2Fsiteserver-ui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siteserver%2Fsiteserver-ui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siteserver%2Fsiteserver-ui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siteserver%2Fsiteserver-ui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/siteserver","download_url":"https://codeload.github.com/siteserver/siteserver-ui/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251328393,"owners_count":21571909,"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-09T01:19:35.912Z","updated_at":"2025-04-28T14:26:04.665Z","avatar_url":"https://github.com/siteserver.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SiteServer.UI 用户界面UI库\n\n[![npm version](https://img.shields.io/npm/v/siteserver.svg?style=flat-square)](https://www.npmjs.org/package/siteserver)\n[![npm downloads](https://img.shields.io/npm/dm/siteserver.svg?style=flat-square)](http://npm-stat.com/charts.html?package=siteserver)\n\nSiteServer CMS 响应式用户交互组件库，建立在 Bootstrap 最新版本 v4.1之上，采用Sass编写，基于HTML5以及CSS3，完全响应式。\n\n## 介绍\n\nSiteServer.UI 是一个功能齐全的主题样式，包括各种实用组件，这些组件在任何页面上都可以很容易地使用，主题是完全响应和可定制的。\n\n## 浏览器支持\n\n![Chrome](https://raw.github.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png) | ![Firefox](https://raw.github.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png) | ![Safari](https://raw.github.com/alrra/browser-logos/master/src/safari/safari_48x48.png) | ![Opera](https://raw.github.com/alrra/browser-logos/master/src/opera/opera_48x48.png) | ![Edge](https://raw.github.com/alrra/browser-logos/master/src/edge/edge_48x48.png) | ![IE](https://raw.github.com/alrra/browser-logos/master/src/archive/internet-explorer_9-11/internet-explorer_9-11_48x48.png) |\n--- | --- | --- | --- | --- | --- |\nLatest ✔ | Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ | 8+ ✔ |\n\n## 安装\n\n采用 npm:\n\n```bash\n$ npm install siteserver\n```\n\n采用 bower:\n\n```bash\n$ bower install siteserver\n```\n\n采用 cdn:\n\n```html\n\u003clink href=\"https://unpkg.com/siteserver/dist/siteserver.min.css\" rel=\"stylesheet\" type=\"text/css\" /\u003e\n```\n\n## 开始使用\n\nSiteServer.UI 基于[Bootstrap样式](getbootstrap.com)以及[ionicons图标集](https://github.com/ionic-team/ionicons)。首先引用Bootstrap，然后是ionicons，然后是我们的CSS。\n\n```html\n\u003clink href=\"css/bootstrap.min.css\" rel=\"stylesheet\" type=\"text/css\" /\u003e\n\u003clink href=\"css/ionicons.min.css\" rel=\"stylesheet\" type=\"text/css\" /\u003e\n\u003clink href=\"css/siteserver.min.css\" rel=\"stylesheet\" type=\"text/css\" /\u003e\n```\n\n## 代码结构\n\n我们在开发 SiteServer.UI 时遵循现在Web标准和模块化结构，以下部分是 SiteServer.UI 的代码组织结构说明。\n\n### 代码组织\n\n```\n├── html files\nSrc/assets/\n├── scss/\n│   └── All SCSS files\n├── css/\n│   └── All css files.\n├── fonts/\n├── pages/\n│   └── All the pages related scripts\n├── images/\n│   └── All images\n├── plugins/\n│   └── The plugins files - which are not available through bower\n└── js/\n    └── All common Javascripts files\n```\n\n### CSS \u0026 Sass\n\nSass是一种CSS预处理器，它扩展了CSS语言，添加了允许变量、函数和许多其他技术的特性，这些技术允许您使CSS更容易维护、更易于管理和可扩展。\n\n文件解释如下:\n\n| 文件          | 说明                                           |\n| ------------- | :--------------------------------------------- |\n| bootstrap.css | Bootstrap v4.1.0，所有页面都使用了此核心文件。 |\n| style.scss    | sass版本样式文件                               |\n| style.css     | css版本样式文件                                |\n| style.min.css | css压缩版本样式文件，生产环境使用              |\n\n### 编译\n\ngulp build\n\n编译后的文件存放于dist文件夹。","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiteserver%2Fsiteserver-ui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsiteserver%2Fsiteserver-ui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiteserver%2Fsiteserver-ui/lists"}