123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429 |
- // @import '_variables.scss';
- // @import '_utils.scss';
- // @import '_animation.scss';
- // @import '_common.scss';
- .UppyProvider-auth, .UppyProvider-error, .UppyProvider-loading {
- display: flex;
- align-items: center;
- justify-content: center;
- flex-flow: column wrap;
- height: 100%;
- }
- .UppyProvider-authTitle {
- font-size: 22px;
- line-height: 1.35;
- font-weight: 300;
- margin-bottom: 30px;
- padding: 0 15px;
- max-width: 500px;
- text-align: center;
- }
- .UppyProvider-authBtn {
- @include reset-button;
- border-radius: 6px;
- background-color: $color-cornflower-blue;
- color: $color-white;
- font-size: 20px;
- padding: 12px 46px;
- transition: background-color 0.3s;
- text-decoration: none;
- margin-bottom: 20px;
- cursor: pointer;
- &:hover {
- background-color: darken($color-cornflower-blue, 10%);
- color: $color-white;
- }
- }
- // .UppyProvider-breadcrumbs {
- // color: $color-black;
- // font-size: 12px;
- // line-height: 40px;
- // list-style-type: none;
- // margin: 0;
- // margin-left: 16px;
- // // padding: 15px 0;
- // }
- .UppyProvider-breadcrumbs button,
- .UppyGoogleDrive-sidebar button {
- @include reset-button;
- cursor: pointer;
- font-size: 14px;
- }
- .UppyProvider-breadcrumbs button:hover {
- text-decoration: underline;
- }
- .UppyGoogleDrive-sidebar button {
- font-size: 14px;
- padding: 0;
- }
- .UppyProvider-breadcrumbs button:focus,
- .UppyGoogleDrive-sidebar button:focus {
- outline: 1px dotted #aaa;
- }
- .UppyProvider-breadcrumbs li {
- display: inline-block;
- margin: 0;
- margin-right: 6px;
- }
- .UppyProvider-breadcrumbs li:not(:last-child):after {
- content: '/';
- }
- /** NEW PLUGIN BROWSER STYLES */
- .Browser {
- // border: 1px solid #ddd;
- // border-radius: 5px;
- display: flex;
- flex-direction: column;
- font-size: 13px;
- font-weight: 400;
- height: 100%;
- // height: 475px;
- // overflow: hidden;
- // width: 718px;
- }
- .Browser-user {
- margin: 16px 0;
- }
- .Browser-header {
- z-index: 1000;
- border-bottom: 1px solid #e5e5e5;
- position: relative;
- }
- ::-webkit-input-placeholder {
- color: rgba(119,119,119,0.75);
- }
- :-moz-placeholder { /* Firefox 18- */
- color: rgba(119,119,119,0.75);
- }
- ::-moz-placeholder { /* Firefox 19+ */
- color: rgba(119,119,119,0.75);
- }
- :-ms-input-placeholder {
- color: rgba(119,119,119,0.75);
- }
- .Browser-headerBar {
- height: 50px;
- line-height: 50px;
- display: flex;
- align-items: center;
- padding-left: 16px;
- background-color: lighten($color-gray, 40%);
- z-index: $zIndex-2;
- }
- .Browser-search {
- height: 50px;
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- z-index: $zIndex-3;
- background-color: lighten($color-gray, 40%);
- transform: translate(0, -50px);
- transition: all .2s;
- display: flex;
- align-items: center;
- }
- .Browser-search[aria-hidden=false] {
- transform: translate(0, 0);
- }
- .Browser-search input {
- flex: 1;
- background-color: transparent;
- outline: 0;
- font-size: 15px;
- font-weight: 400;
- line-height: 50px;
- border: 0;
- padding: 0 16px;
- }
- .Browser-searchToggle {
- @include reset-button();
- width: 15px;
- cursor: pointer;
- color: $color-gray;
- transition: all .2s;
- &:hover {
- color: $color-black;
- }
- }
- .Browser-searchClose {
- @include reset-button();
- cursor: pointer;
- width: 12px;
- color: $color-gray;
- transition: all .2s;
- position: relative;
- right: 16px;
- &:hover {
- color: $color-black;
- }
- }
- .Browser-userLogout {
- @include reset-button();
- margin-right: 16px;
- cursor: pointer;
- &:hover {
- text-decoration: underline;
- }
- }
- .UppyProvider-breadcrumbs {
- flex: 1;
- color: $color-black;
- font-size: 12px;
- // line-height: 40px;
- list-style-type: none;
- padding: 0;
- margin: 0;
- margin-left: 16px;
- }
- .Browser-breadcrumbs span {
- font-size: 16px;
- margin-left: 32px;
- }
- .Browser-breadcrumbs span.active {
- color: #666;
- flex: 1;
- font-weight: 500;
- }
- // .Browser-subHeader {
- // display: flex;
- // justify-content: space-between;
- // align-items: center;
- // // background-color: #fafafa;
- // // flex-direction: row;
- // // height: 55px;
- // // box-shadow: 0px 3px 3px 0px rgba(121,121,121,0.25);
- // z-index: 1000;
- // }
- .Browser-body {
- flex: 1;
- position: relative;
- }
- .BrowserTable {
- display: block;
- width: 100%;
- height: 100%;
- background-color: $color-white;
- border-spacing: 0;
- overflow-x: hidden;
- overflow-y: auto;
- position: absolute;
- top: 0;
- bottom: 0;
- left: 0;
- right: 0;
- }
- .Browser-viewType--grid {
- .BrowserTable tbody {
- display: flex;
- flex-direction: row;
- flex-wrap: wrap;
- justify-content: space-around;
- }
- // .BrowserTable tbody:after {
- // content: "";
- // flex: auto;
- // }
- .BrowserTable-row {
- position: relative;
- }
- .BrowserTable-column {
- // width: 100px;
- // padding: 15px 12px;
- padding: 14px 10px;
- }
- .BrowserTable-checkbox {
- position: absolute;
- top: 7px;
- right: 7px;
- margin-right: 0;
- }
- }
- .BrowserTable tbody {
- display: block;
- }
- .BrowserTable-checkbox input {
- opacity: 0;
- }
- // https://medium.com/claritydesignsystem/pure-css-accessible-checkboxes-and-radios-buttons-54063e759bb3
- .BrowserTable-checkbox {
- position: relative;
- display: inline-block;
- top: -3px;
- margin-right: 25px;
- }
- .BrowserTable-checkbox label::before,
- .BrowserTable-checkbox label::after {
- position: absolute;
- cursor: pointer;
- }
- // Outer circle
- .BrowserTable-checkbox label:before {
- content: "";
- display: inline-block;
- height: 20px;
- width: 20px;
- top: 0;
- border: 1px solid $color-cornflower-blue;
- background-color: $color-white;
- border-radius: 50%;
- }
- // Inner checkbox
- .BrowserTable-checkbox label:after {
- content: "";
- display: inline-block;
- height: 5px;
- width: 8px;
- left: 6px;
- top: 7px;
- border-left: 2px solid $color-white;
- border-bottom: 2px solid $color-white;
- transform: rotate(-45deg);
- }
- // Hide the checkmark by default
- .BrowserTable-checkbox input + label::after {
- content: none;
- }
- // Unhide the checkmark on the checked state
- .BrowserTable-checkbox input:checked + label::after {
- content: "";
- }
- .BrowserTable-checkbox input:checked + label::before {
- background-color: $color-cornflower-blue;
- }
- // Adding focus styles on the outer-box of the fake checkbox*/
- .BrowserTable-checkbox input:focus + label::before {
- outline: rgb(59, 153, 252) auto 5px;
- }
- .BrowserTable-row {
- // border-bottom: 1px solid #eee;
- display: block;
- cursor: pointer;
- // height: 50px;
- }
- .BrowserTable-header {
- display: block;
- }
- .BrowserTable-header:hover {
- background-color: $color-gray;
- }
- .BrowserTable-column {
- color: $color-asphalt-gray;
- line-height: 1.2;
- font-weight: bold;
- padding: 16px;
- }
- .BrowserTable-column img {
- vertical-align: text-top;
- margin-right: 3px;
- }
- .BrowserTable-column input {
- margin-top: 0;
- cursor: pointer;
- }
- .BrowserTable-item {
- @include reset-button();
- cursor: pointer;
- font-weight: 600;
- }
- .BrowserTable-headerColumn {
- cursor: pointer;
- text-align: left;
- }
- // .BrowserTable-row:hover {
- // background-color: #eee;
- // }
- .BrowserTable-header {
- background-color: #fafafa;
- }
- // .BrowserTable-rowColumn.BrowserTable-column {
- // display: block;
- // // width: 708px;
- // }
- .Browser-doneBtn {
- position: absolute;
- bottom: 16px;
- right: 16px;
- z-index: $zIndex-3;
- width: 50px;
- height: 50px;
- .UppyDashboard--wide & {
- width: 60px;
- height: 60px;
- }
- }
- .Browser-doneBtn .UppyIcon {
- width: 30px;
- height: 30px;
- }
- .nav-active {
- font-weight: bold;
- }
|