Skip to content
Snippets Groups Projects
Verified Commit 5c554605 authored by Alex ORLUC's avatar Alex ORLUC
Browse files

FEAT #12062 TIME 0:15 change tool button in edit mode

parent 883fc8b2
No related branches found
No related tags found
No related merge requests found
<div> <div>
<span style="z-index:1;position: absolute;left:0;bottom: 10px;top: 10px;font-size: 25px;height:50px;"> <span style="z-index:1;position: absolute;left:20px;bottom: 20px;font-size: 25px;height:50px;">
<button class="btn blue" (tap)="this.appDocumentNotePad.cancelAnnotation();"><i <button class="btn-filled blue" (tap)="this.appDocumentNotePad.cancelAnnotation();"><i
class="fas fa-arrow-left fa-2x"></i>{{'lang.cancelAnnotation' | translate}}</button> class="fas fa-arrow-left fa-2x"></i>{{'lang.cancelAnnotation' | translate}}</button>
</span> </span>
<span style="z-index:1;position: absolute;bottom: 5px;left: 50%;transform: translateX(-50%);font-size: 25px;"> <span style="z-index:1;position: absolute;bottom: 20px;right: 20px;font-size: 25px;">
<button class="btn green" (tap)="this.appDocumentNotePad.validateAnnotation();"><i <button class="btn-filled green" (tap)="this.appDocumentNotePad.validateAnnotation();"><i
class="fas fa-check-circle fa-2x"></i>{{'lang.validateAnnotation' | translate}}</button> class="fas fa-check-circle fa-2x"></i>{{'lang.validateAnnotation' | translate}}</button>
</span> </span>
</div> </div>
......
...@@ -50,6 +50,56 @@ button:disabled { ...@@ -50,6 +50,56 @@ button:disabled {
display: flex; display: flex;
align-items: center; align-items: center;
} }
.btn-filled {
height: 50px;
display: flex;
align-items: center;
justify-content: space-around;
font-size: 14px;
font-weight: bold;
border: 1px solid black;
color: white;
background-color: #fff;
padding: 0 25px;
border-radius: 25px !important;
cursor: pointer;
outline: none;
box-shadow: 10px 10px 17px -10px rgba(0,0,0,0.75);
transition: all 0.2;
&:active {
transition: all 0.2;
box-shadow: none;
}
&.btn-xs {
height: 35px;
}
&.green {
background-color: $accent;
border: 1px solid $accent;
}
&.red {
background-color: $warn;
border: 1px solid $warn;
}
&.blue {
background-color: $primary;
border: 1px solid $primary;
&.active {
color: #fff;
background: $primary;
}
}
&:disabled {
opacity: 0.5;
color: #000;
border: 1px solid #000;
cursor: not-allowed;
}
.fas, i, .material-icons {
margin: 0 5px;
}
}
.btn { .btn {
height: 50px; height: 50px;
display: flex; display: flex;
...@@ -76,7 +126,6 @@ button:disabled { ...@@ -76,7 +126,6 @@ button:disabled {
} }
&.blue { &.blue {
color: $primary; color: $primary;
background: #fff;
border: 1px solid $primary; border: 1px solid $primary;
&.active { &.active {
color: #fff; color: #fff;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment