real-world-css-libraries 1.0.1 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +54 -8
- package/index.js +11 -0
- package/libs/cleanslate-v0.10.1.css +454 -0
- package/libs/colofilter-v0.0.0.css +232 -0
- package/libs/fileicon-v0.1.1.css +140 -0
- package/libs/gridism-v0.2.2.css +133 -0
- package/libs/holmes-v6.8.12.css +483 -0
- package/libs/less-framework-v0.0.0.css +168 -0
- package/libs/medium.css-v1.0.2.css +287 -0
- package/libs/off-canvas-menu-effects-v0.0.0.css +238 -0
- package/libs/select2-bootstrap-v1.2.5.css +120 -0
- package/libs/simptip-v1.0.4.css +447 -0
- package/libs/spicetify-bloom-v0.0.0.css +2725 -0
- package/libs/stackoverflow-dark-v5.1.2.css +4962 -0
- package/libs/swagger-ui-themes-2-v2.1.0.css +1730 -0
- package/libs/swagger-ui-themes-3-v3.0.1.css +1793 -0
- package/libs/wenk-v1.0.8.css +126 -0
- package/package.json +3 -3
- package/test.js +3 -1
- /package/libs/{bootstrap-v4.6.2.css → bootstrap-4-v4.6.2.css} +0 -0
- /package/libs/{bootstrap-v5.3.8.css → bootstrap-5-v5.3.8.css} +0 -0
- /package/{zotero-dark-theme-v0.0.0.css → libs/zotero-dark-theme-v0.0.0.css} +0 -0
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
/* https://github.com/picturepan2/fileicon.css/blob/master/fileicon.css */
|
|
2
|
+
@charset "utf-8";
|
|
3
|
+
/*! fileicon.css v0.1.1 | MIT License | github.com/picturepan2/fileicon.css */
|
|
4
|
+
/* fileicon.basic */
|
|
5
|
+
.file-icon {
|
|
6
|
+
font-family: Arial, Tahoma, sans-serif;
|
|
7
|
+
font-weight: 300;
|
|
8
|
+
display: inline-block;
|
|
9
|
+
width: 24px;
|
|
10
|
+
height: 32px;
|
|
11
|
+
background: #018fef;
|
|
12
|
+
position: relative;
|
|
13
|
+
border-radius: 2px;
|
|
14
|
+
text-align: left;
|
|
15
|
+
-webkit-font-smoothing: antialiased;
|
|
16
|
+
}
|
|
17
|
+
.file-icon::before {
|
|
18
|
+
display: block;
|
|
19
|
+
content: "";
|
|
20
|
+
position: absolute;
|
|
21
|
+
top: 0;
|
|
22
|
+
right: 0;
|
|
23
|
+
width: 0;
|
|
24
|
+
height: 0;
|
|
25
|
+
border-bottom-left-radius: 2px;
|
|
26
|
+
border-width: 5px;
|
|
27
|
+
border-style: solid;
|
|
28
|
+
border-color: #fff #fff rgba(255,255,255,.35) rgba(255,255,255,.35);
|
|
29
|
+
}
|
|
30
|
+
.file-icon::after {
|
|
31
|
+
display: block;
|
|
32
|
+
content: attr(data-type);
|
|
33
|
+
position: absolute;
|
|
34
|
+
bottom: 0;
|
|
35
|
+
left: 0;
|
|
36
|
+
font-size: 10px;
|
|
37
|
+
color: #fff;
|
|
38
|
+
text-transform: lowercase;
|
|
39
|
+
width: 100%;
|
|
40
|
+
padding: 2px;
|
|
41
|
+
white-space: nowrap;
|
|
42
|
+
overflow: hidden;
|
|
43
|
+
}
|
|
44
|
+
/* fileicons */
|
|
45
|
+
.file-icon-xs {
|
|
46
|
+
width: 12px;
|
|
47
|
+
height: 16px;
|
|
48
|
+
border-radius: 2px;
|
|
49
|
+
}
|
|
50
|
+
.file-icon-xs::before {
|
|
51
|
+
border-bottom-left-radius: 1px;
|
|
52
|
+
border-width: 3px;
|
|
53
|
+
}
|
|
54
|
+
.file-icon-xs::after {
|
|
55
|
+
content: "";
|
|
56
|
+
border-bottom: 2px solid rgba(255,255,255,.45);
|
|
57
|
+
width: auto;
|
|
58
|
+
left: 2px;
|
|
59
|
+
right: 2px;
|
|
60
|
+
bottom: 3px;
|
|
61
|
+
}
|
|
62
|
+
.file-icon-sm {
|
|
63
|
+
width: 18px;
|
|
64
|
+
height: 24px;
|
|
65
|
+
border-radius: 2px;
|
|
66
|
+
}
|
|
67
|
+
.file-icon-sm::before {
|
|
68
|
+
border-bottom-left-radius: 2px;
|
|
69
|
+
border-width: 4px;
|
|
70
|
+
}
|
|
71
|
+
.file-icon-sm::after {
|
|
72
|
+
font-size: 7px;
|
|
73
|
+
padding: 2px;
|
|
74
|
+
}
|
|
75
|
+
.file-icon-lg {
|
|
76
|
+
width: 48px;
|
|
77
|
+
height: 64px;
|
|
78
|
+
border-radius: 3px;
|
|
79
|
+
}
|
|
80
|
+
.file-icon-lg::before {
|
|
81
|
+
border-bottom-left-radius: 2px;
|
|
82
|
+
border-width: 8px;
|
|
83
|
+
}
|
|
84
|
+
.file-icon-lg::after {
|
|
85
|
+
font-size: 16px;
|
|
86
|
+
padding: 4px 6px;
|
|
87
|
+
}
|
|
88
|
+
.file-icon-xl {
|
|
89
|
+
width: 96px;
|
|
90
|
+
height: 128px;
|
|
91
|
+
border-radius: 4px;
|
|
92
|
+
}
|
|
93
|
+
.file-icon-xl::before {
|
|
94
|
+
border-bottom-left-radius: 4px;
|
|
95
|
+
border-width: 16px;
|
|
96
|
+
}
|
|
97
|
+
.file-icon-xl::after {
|
|
98
|
+
font-size: 24px;
|
|
99
|
+
padding: 4px 10px;
|
|
100
|
+
}
|
|
101
|
+
/* fileicon.types */
|
|
102
|
+
.file-icon[data-type=zip],
|
|
103
|
+
.file-icon[data-type=rar] {
|
|
104
|
+
background: #acacac;
|
|
105
|
+
}
|
|
106
|
+
.file-icon[data-type^=doc] {
|
|
107
|
+
background: #307cf1;
|
|
108
|
+
}
|
|
109
|
+
.file-icon[data-type^=xls] {
|
|
110
|
+
background: #0f9d58;
|
|
111
|
+
}
|
|
112
|
+
.file-icon[data-type^=ppt] {
|
|
113
|
+
background: #d24726;
|
|
114
|
+
}
|
|
115
|
+
.file-icon[data-type=pdf] {
|
|
116
|
+
background: #e13d34;
|
|
117
|
+
}
|
|
118
|
+
.file-icon[data-type=txt] {
|
|
119
|
+
background: #5eb533;
|
|
120
|
+
}
|
|
121
|
+
.file-icon[data-type=mp3],
|
|
122
|
+
.file-icon[data-type=wma],
|
|
123
|
+
.file-icon[data-type=m4a],
|
|
124
|
+
.file-icon[data-type=flac] {
|
|
125
|
+
background: #8e44ad;
|
|
126
|
+
}
|
|
127
|
+
.file-icon[data-type=mp4],
|
|
128
|
+
.file-icon[data-type=wmv],
|
|
129
|
+
.file-icon[data-type=mov],
|
|
130
|
+
.file-icon[data-type=avi],
|
|
131
|
+
.file-icon[data-type=mkv] {
|
|
132
|
+
background: #7a3ce7;
|
|
133
|
+
}
|
|
134
|
+
.file-icon[data-type=bmp],
|
|
135
|
+
.file-icon[data-type=jpg],
|
|
136
|
+
.file-icon[data-type=jpeg],
|
|
137
|
+
.file-icon[data-type=gif],
|
|
138
|
+
.file-icon[data-type=png] {
|
|
139
|
+
background: #f4b400;
|
|
140
|
+
}
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
/* https://github.com/cobyism/gridism/blob/master/gridism.css */
|
|
2
|
+
/*
|
|
3
|
+
* Gridism
|
|
4
|
+
* A simple, responsive, and handy CSS grid by @cobyism
|
|
5
|
+
* https://github.com/cobyism/gridism
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
/* Preserve some sanity */
|
|
9
|
+
.grid,
|
|
10
|
+
.unit {
|
|
11
|
+
-webkit-box-sizing: border-box;
|
|
12
|
+
-moz-box-sizing: border-box;
|
|
13
|
+
box-sizing: border-box;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
/* Set up some rules to govern the grid */
|
|
17
|
+
.grid {
|
|
18
|
+
display: block;
|
|
19
|
+
clear: both;
|
|
20
|
+
}
|
|
21
|
+
.grid .unit {
|
|
22
|
+
float: left;
|
|
23
|
+
width: 100%;
|
|
24
|
+
padding: 10px;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/* This ensures the outer gutters are equal to the (doubled) inner gutters. */
|
|
28
|
+
.grid .unit:first-child { padding-left: 20px; }
|
|
29
|
+
.grid .unit:last-child { padding-right: 20px; }
|
|
30
|
+
|
|
31
|
+
/* Nested grids already have padding though, so let's nuke it */
|
|
32
|
+
.unit .unit:first-child { padding-left: 0; }
|
|
33
|
+
.unit .unit:last-child { padding-right: 0; }
|
|
34
|
+
.unit .grid:first-child > .unit { padding-top: 0; }
|
|
35
|
+
.unit .grid:last-child > .unit { padding-bottom: 0; }
|
|
36
|
+
|
|
37
|
+
/* Let people nuke the gutters/padding completely in a couple of ways */
|
|
38
|
+
.no-gutters .unit,
|
|
39
|
+
.unit.no-gutters {
|
|
40
|
+
padding: 0 !important;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/* Wrapping at a maximum width is optional */
|
|
44
|
+
.wrap .grid,
|
|
45
|
+
.grid.wrap {
|
|
46
|
+
max-width: 978px;
|
|
47
|
+
margin: 0 auto;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/* Width classes also have shorthand versions numbered as fractions
|
|
51
|
+
* For example: for a grid unit 1/3 (one third) of the parent width,
|
|
52
|
+
* simply apply class="w-1-3" to the element. */
|
|
53
|
+
.grid .whole, .grid .w-1-1 { width: 100%; }
|
|
54
|
+
.grid .half, .grid .w-1-2 { width: 50%; }
|
|
55
|
+
.grid .one-third, .grid .w-1-3 { width: 33.3332%; }
|
|
56
|
+
.grid .two-thirds, .grid .w-2-3 { width: 66.6665%; }
|
|
57
|
+
.grid .one-quarter,
|
|
58
|
+
.grid .one-fourth, .grid .w-1-4 { width: 25%; }
|
|
59
|
+
.grid .three-quarters,
|
|
60
|
+
.grid .three-fourths, .grid .w-3-4 { width: 75%; }
|
|
61
|
+
.grid .one-fifth, .grid .w-1-5 { width: 20%; }
|
|
62
|
+
.grid .two-fifths, .grid .w-2-5 { width: 40%; }
|
|
63
|
+
.grid .three-fifths, .grid .w-3-5 { width: 60%; }
|
|
64
|
+
.grid .four-fifths, .grid .w-4-5 { width: 80%; }
|
|
65
|
+
.grid .golden-small, .grid .w-g-s { width: 38.2716%; } /* Golden section: smaller piece */
|
|
66
|
+
.grid .golden-large, .grid .w-g-l { width: 61.7283%; } /* Golden section: larger piece */
|
|
67
|
+
|
|
68
|
+
/* Clearfix after every .grid */
|
|
69
|
+
.grid {
|
|
70
|
+
*zoom: 1;
|
|
71
|
+
}
|
|
72
|
+
.grid:before, .grid:after {
|
|
73
|
+
display: table;
|
|
74
|
+
content: "";
|
|
75
|
+
line-height: 0;
|
|
76
|
+
}
|
|
77
|
+
.grid:after {
|
|
78
|
+
clear: both;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
/* Utility classes */
|
|
82
|
+
.align-center { text-align: center; }
|
|
83
|
+
.align-left { text-align: left; }
|
|
84
|
+
.align-right { text-align: right; }
|
|
85
|
+
.pull-left { float: left; }
|
|
86
|
+
.pull-right { float: right; }
|
|
87
|
+
|
|
88
|
+
/* A property for a better rendering of images in units: in
|
|
89
|
+
this way bigger pictures are just resized if the unit
|
|
90
|
+
becomes smaller */
|
|
91
|
+
.unit img {
|
|
92
|
+
max-width: 100%;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
/* Hide elements using this class by default */
|
|
96
|
+
.only-on-mobiles {
|
|
97
|
+
display: none !important;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
/* Responsive Stuff */
|
|
101
|
+
@media screen and (max-width: 568px) {
|
|
102
|
+
/* Stack anything that isn't full-width on smaller screens
|
|
103
|
+
and doesn't provide the no-stacking-on-mobiles class */
|
|
104
|
+
.grid:not(.no-stacking-on-mobiles) > .unit {
|
|
105
|
+
width: 100% !important;
|
|
106
|
+
padding-left: 20px;
|
|
107
|
+
padding-right: 20px;
|
|
108
|
+
}
|
|
109
|
+
.unit .grid .unit {
|
|
110
|
+
padding-left: 0px;
|
|
111
|
+
padding-right: 0px;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
/* Sometimes, you just want to be different on small screens */
|
|
115
|
+
.center-on-mobiles {
|
|
116
|
+
text-align: center !important;
|
|
117
|
+
}
|
|
118
|
+
.hide-on-mobiles {
|
|
119
|
+
display: none !important;
|
|
120
|
+
}
|
|
121
|
+
.only-on-mobiles {
|
|
122
|
+
display: block !important;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
/* Expand the wrap a bit further on larger screens */
|
|
127
|
+
@media screen and (min-width: 1180px) {
|
|
128
|
+
.wider .grid,
|
|
129
|
+
.grid.wider {
|
|
130
|
+
max-width: 1180px;
|
|
131
|
+
margin: 0 auto;
|
|
132
|
+
}
|
|
133
|
+
}
|