Skip to content
Snippets Groups Projects
Commit bcddb9ed authored by ncamera's avatar ncamera
Browse files

Arreglar nombres de clases y estilos

Debido a los cambios major en las dependencias, algunos nombres de clases CSS cambiaron, rompiendo así algunos estilos que previamente funcionaban sobre dichos nombres de clases CSS.
parent 06f44efe
No related branches found
No related tags found
1 merge request!1Se actualiza Angular a la versión 13 y se resuelven vulnerabilidades
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
/> />
<button <button
style="margin-left: 5px; float: right" style="float: right"
id="shortcutsPopover" id="shortcutsPopover"
class="btn btn-sm btn-secondary" class="btn btn-sm btn-secondary"
placement="bottom" placement="bottom"
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
<button <button
id="downloadFileButton" id="downloadFileButton"
(click)="downloadFile()" (click)="downloadFile()"
style="margin-left: 5px; float: right" style="float: right"
class="btn btn-sm btn-secondary" class="btn btn-sm btn-secondary"
placement="bottom" placement="bottom"
ngbPopover="{{ ngbPopover="{{
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
<button <button
id="uploadFileButton" id="uploadFileButton"
(click)="seleccionarDirectorio(true)" (click)="seleccionarDirectorio(true)"
style="margin-left: 5px; float: right" style="float: right"
class="btn btn-sm btn-secondary" class="btn btn-sm btn-secondary"
placement="bottom" placement="bottom"
ngbPopover="{{ ngbPopover="{{
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,7 @@
<i class="fa fa-upload"></i> <i class="fa fa-upload"></i>
</button> </button>
<button <button
style="margin-left: 5px; float: right" style="float: right"
id="popover" id="popover"
class="btn btn-sm btn-secondary" class="btn btn-sm btn-secondary"
placement="bottom" placement="bottom"
...@@ -92,7 +92,7 @@ ...@@ -92,7 +92,7 @@
<i class="fa fa-gear"></i> <i class="fa fa-gear"></i>
</button> </button>
<div <div
style="margin-left: 5px; float: right" style="float: right"
ngbPopover="{{ ngbPopover="{{
'i18n.action.save' | translate | titleCase 'i18n.action.save' | translate | titleCase
}} {{ }} {{
...@@ -110,7 +110,7 @@ ...@@ -110,7 +110,7 @@
</button> </button>
</div> </div>
<button <button
style="margin-left: 5px; float: right" style="float: right"
(click)="mostrandoDefinicion = false; reiniciarInterprete()" (click)="mostrandoDefinicion = false; reiniciarInterprete()"
class="btn btn-sm btn-secondary" class="btn btn-sm btn-secondary"
ngbPopover="{{ ngbPopover="{{
...@@ -124,7 +124,7 @@ ...@@ -124,7 +124,7 @@
<i class="fa fa-refresh"></i> <i class="fa fa-refresh"></i>
</button> </button>
<button <button
style="margin-left: 5px; float: right" style="float: right"
(click)="mostrandoDefinicion = false; runCode()" (click)="mostrandoDefinicion = false; runCode()"
class="btn btn-sm btn-secondary" class="btn btn-sm btn-secondary"
ngbPopover="{{ ngbPopover="{{
......
// Buttons Control // Buttons Control
.buttons-control { .buttons-control {
.btn-zoom-increase, .btn-zoom-decrease, .btn-zoom-center, .btn-trash, .btn-download, .btn-setting { display: flex;
float: right; justify-content: flex-end;
margin-top: -34px; margin-top: -34px;
} margin-bottom: 7px;
.btn-zoom-increase {
margin-right: 165px;
}
.btn-zoom-decrease {
margin-right: 132px;
}
.btn-zoom-center {
margin-right: 99px;
}
.btn-trash {
margin-right: 66px;
}
.btn-download {
margin-right: 33px;
}
} }
// Settings Popover // Settings Popover
...@@ -46,7 +31,8 @@ ...@@ -46,7 +31,8 @@
} }
&.disabled { &.disabled {
color: #ccc; color: #ccc;
i.fa, span { i.fa,
span {
color: #ccc; color: #ccc;
} }
} }
...@@ -60,7 +46,8 @@ ...@@ -60,7 +46,8 @@
// Animation // Animation
.animation { .animation {
.btn-play, .btn-pause { .btn-play,
.btn-pause {
float: left; float: left;
margin-top: -5px; margin-top: -5px;
margin-right: 5px; margin-right: 5px;
...@@ -75,5 +62,3 @@ ...@@ -75,5 +62,3 @@
height: 100%; height: 100%;
width: 100%; width: 100%;
} }
.controls { .controls {
margin-top: -40px; display: flex;
height: 35px; justify-content: flex-end;
padding: 4px;
align-self: flex-end; align-self: flex-end;
width: fit-content;
margin: -35px -1px 7px 0;
.button { .button {
float: right; float: right;
margin-right: 165px; margin-right: 165px;
margin-top: -55px margin-top: -55px;
} }
.ddown { .ddown {
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
@include border-radius($border-radius-lg); @include border-radius($border-radius-lg);
@include box-shadow($popover-box-shadow); @include box-shadow($popover-box-shadow);
// Popover directions // Popover directions
&.popover-top, &.popover-top,
...@@ -67,7 +66,7 @@ ...@@ -67,7 +66,7 @@
} }
} }
&.popover-bottom, &.bs-popover-bottom,
&.bs-tether-element-attached-top { &.bs-tether-element-attached-top {
margin-top: $popover-arrow-width; margin-top: $popover-arrow-width;
...@@ -90,7 +89,7 @@ ...@@ -90,7 +89,7 @@
} }
// This will remove the popover-title's border just below the arrow // This will remove the popover-title's border just below the arrow
.popover-title::before { .popover-header::before {
position: absolute; position: absolute;
top: 0; top: 0;
left: 50%; left: 50%;
...@@ -126,9 +125,8 @@ ...@@ -126,9 +125,8 @@
} }
} }
// Offset the popover to account for the popover arrow // Offset the popover to account for the popover arrow
.popover-title { .popover-header {
padding: $popover-title-padding-y $popover-title-padding-x; padding: $popover-title-padding-y $popover-title-padding-x;
margin-bottom: 0; // Reset the default from Reboot margin-bottom: 0; // Reset the default from Reboot
font-size: $font-size-base; font-size: $font-size-base;
...@@ -142,11 +140,10 @@ ...@@ -142,11 +140,10 @@
} }
} }
.popover-content { .popover-body {
padding: $popover-content-padding-y $popover-content-padding-x; padding: $popover-content-padding-y $popover-content-padding-x;
} }
// Arrows // Arrows
// //
// .popover-arrow is outer, .popover-arrow::after is inner // .popover-arrow is outer, .popover-arrow::after is inner
...@@ -169,3 +166,7 @@ ...@@ -169,3 +166,7 @@
content: ""; content: "";
border-width: $popover-arrow-width; border-width: $popover-arrow-width;
} }
.btn.btn-sm.btn-secondary {
margin-inline-start: 4px;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment