/* icons for sidebar */
.nav-icon-basic-encryption-module {
background-image: var(--icon-encryption-dark);
-}
\ No newline at end of file
+}
+@use 'variables';
+@import 'functions';
+
#fileSharingSettings h2 {
display: inline-block;
}
}
.social-diaspora {
- @include icon-color('social-diaspora', 'federatedfilesharing', $color-black);
+ @include icon-color('social-diaspora', 'federatedfilesharing', variables.$color-black);
}
.social-twitter {
- @include icon-color('social-twitter', 'federatedfilesharing', $color-black);
+ @include icon-color('social-twitter', 'federatedfilesharing', variables.$color-black);
}
.social-facebook {
- @include icon-color('social-facebook', 'federatedfilesharing', $color-black);
+ @include icon-color('social-facebook', 'federatedfilesharing', variables.$color-black);
}
.social_sharing_buttons {
* This file is licensed under the Affero General Public License version 3 or later.
* See the COPYING-README file.
*/
+@use 'variables';
+@import 'functions';
/* FILE MENU */
.actions {
thead {
position: -webkit-sticky;
position: sticky;
- @include position('sticky');
// header + breadcrumbs
- top: $header-height;
+ top: variables.$header-height;
// under breadcrumbs, over file list
z-index: 60;
display: block;
/* icons for sidebar */
.nav-icon-files {
- @include icon-color('folder', 'files', $color-black);
+ @include icon-color('folder', 'files', variables.$color-black);
}
.nav-icon-recent {
- @include icon-color('recent', 'files', $color-black);
+ @include icon-color('recent', 'files', variables.$color-black);
}
.nav-icon-favorites {
- @include icon-color('starred', 'actions', $color-black, 2, true);
+ @include icon-color('starred', 'actions', variables.$color-black, 2, true);
}
.nav-icon-sharingin,
.nav-icon-sharingout,
.nav-icon-pendingshares,
.nav-icon-shareoverview {
- @include icon-color('share', 'files', $color-black);
+ @include icon-color('share', 'files', variables.$color-black);
}
.nav-icon-sharinglinks {
- @include icon-color('public', 'files', $color-black);
+ @include icon-color('public', 'files', variables.$color-black);
}
.nav-icon-extstoragemounts {
- @include icon-color('external', 'files', $color-black);
+ @include icon-color('external', 'files', variables.$color-black);
}
.nav-icon-trashbin {
- @include icon-color('delete', 'files', $color-black);
+ @include icon-color('delete', 'files', variables.$color-black);
}
.nav-icon-trashbin-starred {
@include icon-color('delete', 'files', #ff0000);
}
.nav-icon-deletedshares {
- @include icon-color('unshare', 'files', $color-black);
+ @include icon-color('unshare', 'files', variables.$color-black);
}
.nav-icon-favorites-starred {
- @include icon-color('starred', 'actions', $color-yellow, 2, true);
+ @include icon-color('starred', 'actions', variables.$color-yellow, 2, true);
}
#app-navigation .nav-files a.nav-icon-files {
background-image: none;
}
& .icon-starred {
- @include icon-color('star-dark', 'actions', $color-yellow, 1, true);
+ @include icon-color('star-dark', 'actions', variables.$color-yellow, 1, true);
}
}
.breadcrumb .canDrop > a,
#filestable tbody tr.canDrop {
- background-color: rgba( $color-primary, .3 );
+ background-color: rgba( variables.$color-primary, .3 );
}
.dropzone-background {
- background-color: rgba( $color-primary, .3 );
+ background-color: rgba( variables.$color-primary, .3 );
:hover{
box-shadow: none !important;
}
+@use 'variables';
+
/* 938 = table min-width(688) + app-navigation width: 250\
$breakpoint-mobile +1 = size where app-navigation is hidden +1
688 = table min-width */
$min-table-width: 688px;
-@media only screen and (max-width: $min-table-width + $navigation-width) and (min-width: $breakpoint-mobile + 1), only screen and (max-width: $min-table-width) {
+@media only screen and (max-width: $min-table-width + variables.$navigation-width) and (min-width: variables.$breakpoint-mobile + 1), only screen and (max-width: $min-table-width) {
.app-files #app-content.dir-drop{
background-color: rgba(255, 255, 255, 1)!important;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
+@use 'variables';
+@import 'functions';
// This is the icons used in the sharing ui (multiselect)
.icon-room {
- @include icon-color('app', 'spreed', $color-black);
+ @include icon-color('app', 'spreed', variables.$color-black);
}
.icon-circle {
- @include icon-color('circles', 'circles', $color-black, 3, false);
+ @include icon-color('circles', 'circles', variables.$color-black, 3, false);
}
.icon-guests {
- @include icon-color('app', 'guests', $color-black);
+ @include icon-color('app', 'guests', variables.$color-black);
}
\ No newline at end of file
-@media only screen and (max-width: $breakpoint-mobile) {
+@use 'variables';
+
+@media only screen and (max-width: variables.$breakpoint-mobile) {
/* make header scroll up for single shares, more view of content on small screens */
#header.share-file {
+@use 'variables';
+
#preview {
text-align: center;
}
// hide the download entry on the menu
// on public share when NOT on mobile
-@media only screen and (min-width: $breakpoint-mobile + 1) {
+@media only screen and (min-width: variables.$breakpoint-mobile + 1) {
#body-public {
.header-right {
#header-actions-menu {
}
// hide the primary on public share on mobile
-@media only screen and (max-width: $breakpoint-mobile) {
+@media only screen and (max-width: variables.$breakpoint-mobile) {
#body-public {
.header-right {
#header-primary-action {
/* Copyright (c) 2011, Jan-Christoph Borchardt, http://jancborchardt.net
This file is licensed under the Affero General Public License version 3 or later.
See the COPYING-README file. */
+@use 'variables';
+@import 'functions';
input {
&#openid, &#webdav {
/* icons for sidebar */
.nav-icon-personal-settings {
- @include icon-color('personal', 'settings', $color-black);
+ @include icon-color('personal', 'settings', variables.$color-black);
}
.nav-icon-security {
- @include icon-color('toggle-filelist', 'settings', $color-black);
+ @include icon-color('toggle-filelist', 'settings', variables.$color-black);
}
.nav-icon-clientsbox {
- @include icon-color('change', 'settings', $color-black);
+ @include icon-color('change', 'settings', variables.$color-black);
}
.nav-icon-federated-cloud {
- @include icon-color('share', 'settings', $color-black);
+ @include icon-color('share', 'settings', variables.$color-black);
}
.nav-icon-second-factor-backup-codes, .nav-icon-ssl-root-certificate {
- @include icon-color('password', 'settings', $color-black);
+ @include icon-color('password', 'settings', variables.$color-black);
}
#avatarform {
}
}
-@media only screen and (max-width: $breakpoint-mobile) {
+@media only screen and (max-width: variables.$breakpoint-mobile) {
.store .section {
width: 50%;
}
align-self: normal;
background-color: var(--color-main-background);
z-index: 100; /* above multiselect */
- top: $header-height;
+ top: variables.$header-height;
&.sticky {
box-shadow: 0 -2px 10px 1px var(--color-box-shadow);
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
+@use 'variables';
+@import 'functions';
.icon-user-status {
- @include icon-color('app', 'user_status', $color-black, 1);
+ @include icon-color('app', 'user_status', variables.$color-black, 1);
}
.icon-user-status-online {
// TODO: debug why icon-black-white does not work here
.icon-user-status-invisible {
- @include icon-color('user-status-invisible', 'user_status', $color-black, 1);
+ @include icon-color('user-status-invisible', 'user_status', variables.$color-black, 1);
}