Repository URL to install this package:
|
Version:
3.12.11 ▾
|
/**
* General Filerobot styles that apply to everything inside the .filerobot-Root container
*/
.filerobot-Root {
overflow: hidden;
box-sizing: border-box;
font-family: $font-family-base;
line-height: 1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-align: left;
position: relative;
color: $gray-800;
:disabled {
cursor: not-allowed;
}
}
.filerobot-Root * {
font-family: $font-family-base;
::selection {
background: rgba(104, 121, 235, 0.18);
}
/* Let's get this party started by changing the scrollbar for all elements */
&::-webkit-scrollbar {
width: 4px;
height: 4px;
}
/* Track */
&::-webkit-scrollbar-track {
background: transparent;
}
/* Handle */
&::-webkit-scrollbar-thumb {
background: #cbd3da;
border-radius: 10px;
}
&::-webkit-scrollbar-thumb:horizontal {
background: #cbd3da;
border-radius: 10px;
}
}
.filerobot-Root *, .filerobot-Root *:before, .filerobot-Root *:after {
box-sizing: inherit;
}
.filerobot-Root [hidden] {
display: none;
}
// Utilities
// used in a few places
.filerobot-u-reset {
-webkit-appearance: none;
line-height: 1;
padding: 0;
margin: 0;
border: 0;
color: inherit;
backface-visibility: visible;
background: none;
border: medium none currentColor;
border-collapse: separate;
border-image: none;
border-radius: 0;
border-spacing: 0;
box-shadow: none;
clear: none;
cursor: auto;
display: inline;
empty-cells: show;
float: none;
font-family: inherit;
font-size: inherit;
font-style: normal;
font-variant: normal;
font-weight: normal;
font-stretch: normal;
hyphens: none;
left: auto;
letter-spacing: normal;
list-style: none;
margin: 0;
max-height: none;
max-width: none;
min-height: 0;
min-width: 0;
opacity: 1;
outline: medium none invert;
overflow: visible;
overflow-x: visible;
overflow-y: visible;
text-align: left;
text-decoration: none;
text-indent: 0;
text-shadow: none;
text-transform: none;
top: auto;
transform: none;
transform-origin: 50% 50% 0;
transform-style: flat;
transition: none 0s ease 0s;
unicode-bidi: normal;
vertical-align: baseline;
visibility: visible;
white-space: normal;
z-index: auto;
span {
max-width: 250px;
overflow: hidden;
text-overflow: ellipsis;
&:active {
background-color: #eceef2;
}
}
}
//.filerobot-c-separator {
// height: 60%;
// border-left: 1px solid $border-primary-stateless;
// width: 1px;
// display: inline;
// margin: 0 8px;
//}
.filerobot-c-horizontal-separator {
width: 100%;
border-bottom: 1px solid $border;
height: 1px;
display: block;
position: absolute;
left: 0;
right: 0;
}
// Icon
// https://blog.prototypr.io/align-svg-icons-to-text-and-say-goodbye-to-font-icons-d44b3d7b26b4
// used in a few places
.filerobot-c-icon {
max-width: 100%;
max-height: 100%;
fill: currentColor;
display: inline-block;
overflow: hidden;
}
// Buttons
.filerobot-c-btn {
display: inline-block;
text-align: center;
white-space: nowrap;
vertical-align: middle;
font-family: inherit;
font-size: 16px;
line-height: 1;
font-weight: 500;
transition-property: background-color, color;
transition-duration: 0.3s;
user-select: none;
}
.filerobot-c-btn:not(:disabled):not(.disabled) {
cursor: pointer;
}
.filerobot-c-btn::-moz-focus-inner {
border: 0;
}
.filerobot-c-btn-primary {
font-size: 14px;
padding: 10px 18px;
border-radius: 4px;
background-color: $blue;
color: $white;
&:hover {
background-color: darken($blue, 10%);
}
&:focus {
outline: none;
box-shadow: 0 0 0 3px rgba($blue, 0.4);
}
.filerobot-size--md & {
padding: 13px 22px;
}
[data-filerobot-theme="dark"] & {
color: $gray-200;
@include blue-border-focus--dark;
}
}
.filerobot-c-empty {
&-wrapper {
display: flex;
height: 100%;
}
height: 100%;
width: 100%;
display: flex;
align-items: center;
justify-content: center;
flex-flow: column wrap;
flex: 1;
color: $gray-500;
background-color: #ffffff;
line-height: 14px;
font-size: 12px;
&.left {
align-items: flex-start;
}
&.right {
align-items: flex-end;
}
}
.filerobot-c-empty {
align-items: flex-start;
color: $light-txt-secondary;
}