diff options
author | amzrk2 | 2020-04-14 20:58:19 +0800 |
---|---|---|
committer | amzrk2 | 2020-04-14 20:58:19 +0800 |
commit | baf7534870460015c194281ad98e1fef99911ef1 (patch) | |
tree | cc424e273de1953917a06e5536b2fc527ead78a3 /assets/sass/@primer/css/truncate | |
parent | f01d08490b3f5f35eca026792d0efe239bda4ff9 (diff) | |
download | hugo-theme-fuji-baf7534870460015c194281ad98e1fef99911ef1.tar.gz hugo-theme-fuji-baf7534870460015c194281ad98e1fef99911ef1.tar.bz2 hugo-theme-fuji-baf7534870460015c194281ad98e1fef99911ef1.zip |
Remove redundant Primer CSS
Diffstat (limited to 'assets/sass/@primer/css/truncate')
-rw-r--r-- | assets/sass/@primer/css/truncate/README.md | 25 | ||||
-rw-r--r-- | assets/sass/@primer/css/truncate/index.scss | 1 | ||||
-rw-r--r-- | assets/sass/@primer/css/truncate/truncate.scss | 31 |
3 files changed, 0 insertions, 57 deletions
diff --git a/assets/sass/@primer/css/truncate/README.md b/assets/sass/@primer/css/truncate/README.md deleted file mode 100644 index ae6f88e..0000000 --- a/assets/sass/@primer/css/truncate/README.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -bundle: "truncate" -generated: true ---- - -# Primer CSS: `truncate` bundle - -## Usage - -Primer CSS source files are written in [SCSS]. To include this Primer CSS module in your own build, ensure that your `node_modules` directory is listed in your Sass include paths, then import it with: - -```scss -@import "@primer/css/truncate/index.scss"; -``` - -## Build - -The `@primer/css` npm package includes a standalone CSS build of this module in `dist/truncate.css`. - -## License - -[MIT](https://github.com/primer/css/blob/master/LICENSE) © [GitHub](https://github.com/) - - -[scss]: https://sass-lang.com/documentation/syntax#scss diff --git a/assets/sass/@primer/css/truncate/index.scss b/assets/sass/@primer/css/truncate/index.scss deleted file mode 100644 index c391a32..0000000 --- a/assets/sass/@primer/css/truncate/index.scss +++ /dev/null @@ -1 +0,0 @@ -@import "./truncate.scss"; diff --git a/assets/sass/@primer/css/truncate/truncate.scss b/assets/sass/@primer/css/truncate/truncate.scss deleted file mode 100644 index 8590f1b..0000000 --- a/assets/sass/@primer/css/truncate/truncate.scss +++ /dev/null @@ -1,31 +0,0 @@ -// Truncate -// -// css-truncate will shorten text with an ellipsis. - -.css-truncate { - - // css-truncate-auto will shorten text with an ellipsis when overflowing - &.css-truncate-overflow, - .css-truncate-overflow, - &.css-truncate-target, - .css-truncate-target { - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - } - - // css-truncate-target will shorten text with an ellipsis and a max width - &.css-truncate-target, - .css-truncate-target { - display: inline-block; - max-width: 125px; - vertical-align: top; - } - - &.expandable.zeroclipboard-is-hover .css-truncate-target, - &.expandable.zeroclipboard-is-hover.css-truncate-target, - &.expandable:hover .css-truncate-target, - &.expandable:hover.css-truncate-target { - max-width: 10000px !important; - } -} |