You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			301 lines
		
	
	
		
			5.2 KiB
		
	
	
	
		
			SCSS
		
	
			
		
		
	
	
			301 lines
		
	
	
		
			5.2 KiB
		
	
	
	
		
			SCSS
		
	
.modal {
 | 
						|
  position: absolute;
 | 
						|
  top: 0;
 | 
						|
  left: 0;
 | 
						|
  height: 100%;
 | 
						|
  width: 100%;
 | 
						|
  background-color: rgba(0, 0, 0, 0.3);
 | 
						|
  padding: 0 20px;
 | 
						|
  z-index: 100;
 | 
						|
  overflow-y: auto;
 | 
						|
 | 
						|
  .content {
 | 
						|
    position: relative;
 | 
						|
    max-width: 350px;
 | 
						|
    margin: 100px auto;
 | 
						|
    padding: 1em;
 | 
						|
    background-color: $color-white;
 | 
						|
    border-radius: $border-radius;
 | 
						|
    overflow: auto;
 | 
						|
    box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.2);
 | 
						|
  }
 | 
						|
}
 | 
						|
 | 
						|
/* remove scroll bars */
 | 
						|
.loki-dialog .add-moderators-dialog .content {
 | 
						|
  padding: 1.1em;
 | 
						|
}
 | 
						|
 | 
						|
.create-group-dialog,
 | 
						|
.add-moderators-dialog,
 | 
						|
.remove-moderators-dialog,
 | 
						|
.invite-friends-dialog {
 | 
						|
  .content {
 | 
						|
    max-width: 100% !important;
 | 
						|
  }
 | 
						|
  .contact-selection-list {
 | 
						|
    width: 100%;
 | 
						|
  }
 | 
						|
 | 
						|
  .buttons {
 | 
						|
    margin: 8px;
 | 
						|
  }
 | 
						|
 | 
						|
  .group-name {
 | 
						|
    font-size: larger;
 | 
						|
  }
 | 
						|
 | 
						|
  .titleText {
 | 
						|
    font-size: large;
 | 
						|
    text-align: center;
 | 
						|
  }
 | 
						|
 | 
						|
  .no-contacts {
 | 
						|
    text-align: center;
 | 
						|
  }
 | 
						|
 | 
						|
  .hidden {
 | 
						|
    display: none;
 | 
						|
  }
 | 
						|
}
 | 
						|
 | 
						|
.create-group-dialog,
 | 
						|
.add-moderators-dialog,
 | 
						|
.remove-moderators-dialog,
 | 
						|
.edit-profile-dialog {
 | 
						|
  .error-message {
 | 
						|
    text-align: center;
 | 
						|
    color: red;
 | 
						|
    display: block;
 | 
						|
    user-select: none;
 | 
						|
  }
 | 
						|
 | 
						|
  .error-faded {
 | 
						|
    opacity: 0;
 | 
						|
    margin-top: -5px;
 | 
						|
    transition: all 100ms linear;
 | 
						|
  }
 | 
						|
 | 
						|
  .error-shown {
 | 
						|
    opacity: 1;
 | 
						|
    transition: all 250ms linear;
 | 
						|
  }
 | 
						|
}
 | 
						|
 | 
						|
.loki-dialog {
 | 
						|
  display: flex;
 | 
						|
  align-items: center;
 | 
						|
  justify-content: center;
 | 
						|
 | 
						|
  .content {
 | 
						|
    max-width: 75%;
 | 
						|
    min-width: 60%;
 | 
						|
    padding: 1em;
 | 
						|
    background: white;
 | 
						|
    border-radius: $border-radius;
 | 
						|
    overflow: auto;
 | 
						|
    box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.3);
 | 
						|
  }
 | 
						|
 | 
						|
  button {
 | 
						|
    float: right;
 | 
						|
    margin-inline-start: 10px;
 | 
						|
    background-color: $color-loki-green;
 | 
						|
    border-radius: 100px;
 | 
						|
    padding: 5px 15px;
 | 
						|
    border: 1px solid $color-loki-green;
 | 
						|
    color: white;
 | 
						|
    outline: none;
 | 
						|
    user-select: none;
 | 
						|
 | 
						|
    &:hover,
 | 
						|
    &:disabled {
 | 
						|
      background-color: $color-loki-green-dark;
 | 
						|
      border-color: $color-loki-green-dark;
 | 
						|
    }
 | 
						|
 | 
						|
    &:disabled {
 | 
						|
      cursor: not-allowed;
 | 
						|
    }
 | 
						|
  }
 | 
						|
 | 
						|
  input {
 | 
						|
    width: 100%;
 | 
						|
    padding: 8px;
 | 
						|
    margin-bottom: 15px;
 | 
						|
    border: 0;
 | 
						|
    outline: none;
 | 
						|
    border-radius: 4px;
 | 
						|
    background-color: $color-loki-light-gray;
 | 
						|
 | 
						|
    &:focus {
 | 
						|
      outline: none;
 | 
						|
    }
 | 
						|
  }
 | 
						|
 | 
						|
  h4 {
 | 
						|
    margin-top: 8px;
 | 
						|
    margin-bottom: 16px;
 | 
						|
  }
 | 
						|
}
 | 
						|
 | 
						|
.nickname-dialog {
 | 
						|
  .message {
 | 
						|
    font-style: italic;
 | 
						|
    color: $grey;
 | 
						|
    font-size: 12px;
 | 
						|
    margin-bottom: 16px;
 | 
						|
  }
 | 
						|
}
 | 
						|
 | 
						|
.seed-dialog {
 | 
						|
  .title {
 | 
						|
    font-weight: bold;
 | 
						|
  }
 | 
						|
 | 
						|
  .fields {
 | 
						|
    margin-top: 20px;
 | 
						|
  }
 | 
						|
 | 
						|
  .seed {
 | 
						|
    padding: 20px 0;
 | 
						|
    font-style: oblique;
 | 
						|
  }
 | 
						|
}
 | 
						|
 | 
						|
.permissions-popup,
 | 
						|
.debug-log-window {
 | 
						|
  .modal {
 | 
						|
    background-color: transparent;
 | 
						|
    padding: 0;
 | 
						|
  }
 | 
						|
}
 | 
						|
 | 
						|
.loki-dialog {
 | 
						|
  & ~ .index.inbox {
 | 
						|
    // filter: blur(2px); // FIXME enable back once modals are moved to react
 | 
						|
    // currently it cause an issues with toast being on the foreground when a modal is shown
 | 
						|
    transition: filter 0.1s;
 | 
						|
  }
 | 
						|
 | 
						|
  input {
 | 
						|
    @include themify($themes) {
 | 
						|
      background-color: themed('inputBackground');
 | 
						|
      color: themed('textColor');
 | 
						|
      border: themed('sessionBorder');
 | 
						|
    }
 | 
						|
  }
 | 
						|
}
 | 
						|
 | 
						|
.nickname-dialog {
 | 
						|
  .message {
 | 
						|
    color: $color-light-35;
 | 
						|
  }
 | 
						|
}
 | 
						|
 | 
						|
.edit-profile-dialog {
 | 
						|
  .session-modal__header__title {
 | 
						|
    font-size: $session-font-lg;
 | 
						|
  }
 | 
						|
 | 
						|
  .session-modal {
 | 
						|
    width: $session-modal-size-md;
 | 
						|
 | 
						|
    &__header {
 | 
						|
      height: 68.45px;
 | 
						|
    }
 | 
						|
  }
 | 
						|
 | 
						|
  .avatar-center-inner {
 | 
						|
    position: relative;
 | 
						|
 | 
						|
    .module-avatar {
 | 
						|
      @include themify($themes) {
 | 
						|
        box-shadow: 0px 0px 13px 0.5px themed('sessionShadowColor');
 | 
						|
      }
 | 
						|
    }
 | 
						|
 | 
						|
    .qr-view-button {
 | 
						|
      cursor: pointer;
 | 
						|
      display: flex;
 | 
						|
      align-items: center;
 | 
						|
      justify-content: center;
 | 
						|
      position: absolute;
 | 
						|
      right: -3px;
 | 
						|
      height: 26px;
 | 
						|
      width: 26px;
 | 
						|
      border-radius: 50%;
 | 
						|
      padding-top: 3px;
 | 
						|
      background-color: $session-color-white;
 | 
						|
      transition: $session-transition-duration;
 | 
						|
 | 
						|
      &:hover {
 | 
						|
        filter: brightness(90%);
 | 
						|
      }
 | 
						|
 | 
						|
      .session-icon-button {
 | 
						|
        opacity: 1;
 | 
						|
      }
 | 
						|
    }
 | 
						|
  }
 | 
						|
 | 
						|
  .session-id-section {
 | 
						|
    display: flex;
 | 
						|
    align-items: center;
 | 
						|
    flex-direction: column;
 | 
						|
 | 
						|
    .panel-text-divider {
 | 
						|
      margin-top: 35px;
 | 
						|
      margin-bottom: 35px;
 | 
						|
    }
 | 
						|
 | 
						|
    &-display {
 | 
						|
      user-select: text;
 | 
						|
      text-align: center;
 | 
						|
      word-break: break-all;
 | 
						|
      font-size: $session-font-md;
 | 
						|
      padding: 0px $session-margin-lg;
 | 
						|
      font-family: $session-font-default;
 | 
						|
      font-weight: 100;
 | 
						|
      @include themify($themes) {
 | 
						|
        color: themed('textColor');
 | 
						|
      }
 | 
						|
      font-size: $session-font-md;
 | 
						|
      padding: 0px $session-margin-sm;
 | 
						|
    }
 | 
						|
 | 
						|
    .session-button {
 | 
						|
      width: 148px;
 | 
						|
    }
 | 
						|
  }
 | 
						|
 | 
						|
  .profile-name {
 | 
						|
    display: flex;
 | 
						|
    justify-content: center;
 | 
						|
    margin-top: $session-margin-lg;
 | 
						|
 | 
						|
    input {
 | 
						|
      height: 38px;
 | 
						|
      border-radius: 5px;
 | 
						|
      text-align: center;
 | 
						|
      font-size: $session-font-md;
 | 
						|
      @include themify($themes) {
 | 
						|
        background: themed('inputBackground');
 | 
						|
        color: themed('textColor');
 | 
						|
        border: themed('sessionBorder');
 | 
						|
      }
 | 
						|
    }
 | 
						|
 | 
						|
    &-uneditable {
 | 
						|
      display: flex;
 | 
						|
      align-items: center;
 | 
						|
      justify-content: center;
 | 
						|
 | 
						|
      p {
 | 
						|
        font-size: $session-font-md;
 | 
						|
        padding: 0px $session-margin-sm;
 | 
						|
      }
 | 
						|
    }
 | 
						|
  }
 | 
						|
}
 |