source: public/vendors/dataTable/Buttons-1.6.1/css/mixins.scss@ bd9e8e3

develop
Last change on this file since bd9e8e3 was 7304c7f, checked in by beratkjufliju <kufliju@…>, 3 years ago

added user authentication, create & forgot password methods and blades

  • Property mode set to 100644
File size: 3.9 KB
Line 
1
2@mixin dtb-two-stop-gradient($fromColor, $toColor) {
3 background-color: $toColor; /* Fallback */
4 background-image: -webkit-linear-gradient(top, $fromColor 0%, $toColor 100%); /* Chrome 10+, Saf5.1+, iOS 5+ */
5 background-image: -moz-linear-gradient(top, $fromColor 0%, $toColor 100%); /* FF3.6 */
6 background-image: -ms-linear-gradient(top, $fromColor 0%, $toColor 100%); /* IE10 */
7 background-image: -o-linear-gradient(top, $fromColor 0%, $toColor 100%); /* Opera 11.10+ */
8 background-image: linear-gradient(to bottom, $fromColor 0%, $toColor 100%);
9 filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#{nth( $fromColor, 1 )}', EndColorStr='#{nth( $toColor, 1 )}');
10}
11
12@mixin dtb-radial-gradient ($fromColor, $toColor ) {
13 background: $toColor; /* Fallback */
14 background: -ms-radial-gradient(center, ellipse farthest-corner, $fromColor 0%, $toColor 100%); /* IE10 Consumer Preview */
15 background: -moz-radial-gradient(center, ellipse farthest-corner, $fromColor 0%, $toColor 100%); /* Firefox */
16 background: -o-radial-gradient(center, ellipse farthest-corner, $fromColor 0%, $toColor 100%); /* Opera */
17 background: -webkit-gradient(radial, center center, 0, center center, 497, color-stop(0, $fromColor), color-stop(1, $toColor)); /* Webkit (Safari/Chrome 10) */
18 background: -webkit-radial-gradient(center, ellipse farthest-corner, $fromColor 0%, $toColor 100%); /* Webkit (Chrome 11+) */
19 background: radial-gradient(ellipse farthest-corner at center, $fromColor 0%, $toColor 100%); /* W3C Markup, IE10 Release Preview */
20}
21
22
23@mixin dtb-fixed-collection {
24 // Fixed positioning feature
25 &.fixed {
26 position: fixed;
27 top: 50%;
28 left: 50%;
29 margin-left: -75px;
30 border-radius: 0;
31
32 &.two-column {
33 margin-left: -200px;
34 }
35
36 &.three-column {
37 margin-left: -225px;
38 }
39
40 &.four-column {
41 margin-left: -300px;
42 }
43 }
44
45 > :last-child {
46 > * {
47 -webkit-column-break-inside: avoid;
48 break-inside: avoid;
49 }
50
51 // Multi-column layout feature
52 display: block !important;
53 -webkit-column-gap: 8px;
54 -moz-column-gap: 8px;
55 -ms-column-gap: 8px;
56 -o-column-gap: 8px;
57 column-gap: 8px;
58 }
59
60 &.two-column {
61 width: 400px;
62
63 > :last-child {
64 padding-bottom: 1px;
65
66 -webkit-column-count: 2;
67 -moz-column-count: 2;
68 -ms-column-count: 2;
69 -o-column-count: 2;
70 column-count: 2;
71 }
72 }
73
74 &.three-column {
75 width: 450px;
76
77 > :last-child {
78 padding-bottom: 1px;
79
80 -webkit-column-count: 3;
81 -moz-column-count: 3;
82 -ms-column-count: 3;
83 -o-column-count: 3;
84 column-count: 3;
85 }
86 }
87
88 &.four-column {
89 width: 600px;
90
91 > :last-child {
92 padding-bottom: 1px;
93
94 -webkit-column-count: 4;
95 -moz-column-count: 4;
96 -ms-column-count: 4;
97 -o-column-count: 4;
98 column-count: 4;
99 }
100 }
101
102 // Chrome fix - 531528
103 .dt-button {
104 border-radius: 0;
105 }
106}
107
108
109@mixin dtb-processing {
110 color: rgba(0, 0, 0, 0.2);
111
112 &:after {
113 position: absolute;
114 top: 50%;
115 left: 50%;
116 width: 16px;
117 height: 16px;
118 margin: -8px 0 0 -8px;
119 box-sizing: border-box;
120
121 display: block;
122 content: ' ';
123 border: 2px solid rgb(40,40,40);
124 border-radius: 50%;
125 border-left-color: transparent;
126 border-right-color: transparent;
127 animation: dtb-spinner 1500ms infinite linear;
128 -o-animation: dtb-spinner 1500ms infinite linear;
129 -ms-animation: dtb-spinner 1500ms infinite linear;
130 -webkit-animation: dtb-spinner 1500ms infinite linear;
131 -moz-animation: dtb-spinner 1500ms infinite linear;
132 }
133}
134
135@keyframes dtb-spinner {
136 100%{ transform: rotate(360deg); }
137}
138
139@-o-keyframes dtb-spinner {
140 100%{ -o-transform: rotate(360deg); transform: rotate(360deg); }
141}
142
143@-ms-keyframes dtb-spinner {
144 100%{ -ms-transform: rotate(360deg); transform: rotate(360deg); }
145}
146
147@-webkit-keyframes dtb-spinner {
148 100%{ -webkit-transform: rotate(360deg); transform: rotate(360deg); }
149}
150
151@-moz-keyframes dtb-spinner {
152 100%{ -moz-transform: rotate(360deg); transform: rotate(360deg); }
153}
Note: See TracBrowser for help on using the repository browser.