mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-26 05:16:22 +00:00
fix: corregidos colores de botones y details
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
d5bfbc578f
commit
a32a3ce7db
7 changed files with 25 additions and 38 deletions
|
@ -3,7 +3,6 @@ $white: white;
|
||||||
$grey: grey;
|
$grey: grey;
|
||||||
$cyan: #13fefe;
|
$cyan: #13fefe;
|
||||||
$magenta: #f206f9;
|
$magenta: #f206f9;
|
||||||
$blue: blue;
|
|
||||||
|
|
||||||
$colors: (
|
$colors: (
|
||||||
"black": $black,
|
"black": $black,
|
||||||
|
@ -15,7 +14,6 @@ $colors: (
|
||||||
// Redefinir variables de Bootstrap
|
// Redefinir variables de Bootstrap
|
||||||
$primary: $magenta;
|
$primary: $magenta;
|
||||||
$secondary: $black;
|
$secondary: $black;
|
||||||
$info: $blue;
|
|
||||||
$jumbotron-bg: transparent;
|
$jumbotron-bg: transparent;
|
||||||
$enable-rounded: false;
|
$enable-rounded: false;
|
||||||
$form-feedback-valid-color: $black;
|
$form-feedback-valid-color: $black;
|
||||||
|
@ -569,26 +567,15 @@ $bezier: cubic-bezier(0.75, 0, 0.25, 1);
|
||||||
|
|
||||||
&::after {
|
&::after {
|
||||||
content: '▶';
|
content: '▶';
|
||||||
font-size: 2rem;
|
font-size: 1.7rem;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 97%;
|
left: 97%;
|
||||||
bottom: 2%;
|
bottom: 3%;
|
||||||
transform: rotate(55deg);
|
transform: rotate(58deg);
|
||||||
color: $magenta
|
|
||||||
}
|
|
||||||
|
|
||||||
&:focus {
|
|
||||||
background-color: #13FEFE;
|
|
||||||
color: black
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.details[open] > summary::after {
|
.details[open] > summary::after {
|
||||||
transform: rotate(90deg) translatey(-0.1em);
|
transform: rotate(90deg) translatey(-0.1em);
|
||||||
color: $magenta
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.bg-blue {
|
|
||||||
background-color: $azul;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
|
@ -13,12 +13,12 @@
|
||||||
|
|
||||||
-# Botones de Moderación
|
-# Botones de Moderación
|
||||||
.d-flex.py-4.justify-content-center
|
.d-flex.py-4.justify-content-center
|
||||||
- @class = 'btn-success'
|
- @class = 'btn-secondary'
|
||||||
= render 'moderation_queue/btn_base', text: t('moderation_queue.profile_button_box.text_approve'), class: @class, href: ''
|
= render 'moderation_queue/btn_base', text: t('moderation_queue.profile_button_box.text_approve'), class: @class, href: ''
|
||||||
- @class = 'btn-outline-success'
|
- @class = 'btn-secondary'
|
||||||
= render 'moderation_queue/btn_base', text: t('moderation_queue.profile_button_box.text_check'), class: @class, href: ''
|
= render 'moderation_queue/btn_base', text: t('moderation_queue.profile_button_box.text_check'), class: @class, href: ''
|
||||||
- @class = 'bg-blue white'
|
- @class = 'btn-secondary'
|
||||||
= render 'moderation_queue/btn_base', text: t('moderation_queue.profile_button_box.text_deny'), class: @class, href: ''
|
= render 'moderation_queue/btn_base', text: t('moderation_queue.profile_button_box.text_deny'), class: @class, href: ''
|
||||||
- @class = 'btn-danger'
|
- @class = 'btn-secondary'
|
||||||
= render 'moderation_queue/btn_base', text: t('moderation_queue.profile_button_box.text_report'), class: @class, href: ''
|
= render 'moderation_queue/btn_base', text: t('moderation_queue.profile_button_box.text_report'), class: @class, href: ''
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
.form-group
|
.form-group
|
||||||
.d-flex.flex-column.mt-5
|
.d-flex.flex-column.mt-5
|
||||||
%textarea.red.mb-3{ name: '', id: '', placeholder: t('moderation_queue.instances.custom_block') }
|
%textarea.red.mb-3{ name: '', id: '', placeholder: t('moderation_queue.instances.custom_block') }
|
||||||
%button.col-4.offset-md-8.rounded{ type: 'submit', class: 'btn btn-primary' }= t('moderation_queue.instances.submit')
|
%button.col-4.offset-md-8.rounded{ type: 'submit', class: 'btn btn-secondary' }= t('moderation_queue.instances.submit')
|
||||||
|
|
||||||
|
|
|
@ -18,11 +18,11 @@
|
||||||
.d-flex.py-4.justify-content-center
|
.d-flex.py-4.justify-content-center
|
||||||
- @class = 'btn-secondary'
|
- @class = 'btn-secondary'
|
||||||
= render 'moderation_queue/btn_base', text: t('moderation_queue.button_box.text_pause'), class: @class, href: ''
|
= render 'moderation_queue/btn_base', text: t('moderation_queue.button_box.text_pause'), class: @class, href: ''
|
||||||
- @class = 'btn-primary'
|
- @class = 'btn-secondary'
|
||||||
= render 'moderation_queue/btn_base', text: t('moderation_queue.button_box.text_reject'), class: @class, href: ''
|
= render 'moderation_queue/btn_base', text: t('moderation_queue.button_box.text_reject'), class: @class, href: ''
|
||||||
- @class = 'bg-blue white'
|
- @class = 'btn-secondary'
|
||||||
= render 'moderation_queue/btn_base', text: t('moderation_queue.button_box.text_accept'), class: @class, href: ''
|
= render 'moderation_queue/btn_base', text: t('moderation_queue.button_box.text_accept'), class: @class, href: ''
|
||||||
- @class = 'btn-outline-primary'
|
- @class = 'btn-secondary'
|
||||||
= render 'moderation_queue/btn_base', text: t('moderation_queue.button_box.text_reply'), class: @class, href: ''
|
= render 'moderation_queue/btn_base', text: t('moderation_queue.button_box.text_reply'), class: @class, href: ''
|
||||||
- @class = 'btn-danger'
|
- @class = 'btn-secondary'
|
||||||
= render 'moderation_queue/btn_base', text: t('moderation_queue.button_box.text_report'), class: @class, href: ''
|
= render 'moderation_queue/btn_base', text: t('moderation_queue.button_box.text_report'), class: @class, href: ''
|
|
@ -14,12 +14,12 @@
|
||||||
|
|
||||||
-# Botones moderación
|
-# Botones moderación
|
||||||
.d-flex.py-4.justify-content-center
|
.d-flex.py-4.justify-content-center
|
||||||
- @class = 'btn-outline-success'
|
- @class = 'btn-secondary'
|
||||||
= render 'moderation_queue/btn_base', text: t('moderation_queue.instances_button_box.text_check'), class: @class, href: ''
|
|
||||||
- @class = 'btn-success'
|
|
||||||
= render 'moderation_queue/btn_base', text: t('moderation_queue.instances_button_box.text_check'), class: @class, href: ''
|
|
||||||
- @class = 'btn-danger'
|
|
||||||
= render 'moderation_queue/btn_base', text: t('moderation_queue.instances_button_box.text_check'), class: @class, href: ''
|
= render 'moderation_queue/btn_base', text: t('moderation_queue.instances_button_box.text_check'), class: @class, href: ''
|
||||||
|
- @class = 'btn-secondary'
|
||||||
|
= render 'moderation_queue/btn_base', text: t('moderation_queue.instances_button_box.text_allow'), class: @class, href: ''
|
||||||
|
- @class = 'btn-secondary'
|
||||||
|
= render 'moderation_queue/btn_base', text: t('moderation_queue.instances_button_box.text_deny'), class: @class, href: ''
|
||||||
|
|
||||||
%h3.cyan.mt-5= t('moderation_queue.instances.title')
|
%h3.cyan.mt-5= t('moderation_queue.instances.title')
|
||||||
%p.pb-2= t('moderation_queue.instances.description')
|
%p.pb-2= t('moderation_queue.instances.description')
|
||||||
|
|
|
@ -14,11 +14,11 @@
|
||||||
%h4.my-2.text-center= t('.profile_name') + ': ' + remote_profile['name']
|
%h4.my-2.text-center= t('.profile_name') + ': ' + remote_profile['name']
|
||||||
-# Botones de Moderación
|
-# Botones de Moderación
|
||||||
.d-flex.py-4.justify-content-center
|
.d-flex.py-4.justify-content-center
|
||||||
- @class = 'btn-success'
|
- @class = 'btn-secondary'
|
||||||
= render 'moderation_queue/btn_base', text: t('moderation_queue.profile_button_box.text_approve'), class: @class, href: ''
|
= render 'moderation_queue/btn_base', text: t('moderation_queue.profile_button_box.text_approve'), class: @class, href: ''
|
||||||
- @class = 'btn-outline-success'
|
- @class = 'btn-secondary'
|
||||||
= render 'moderation_queue/btn_base', text: t('moderation_queue.profile_button_box.text_check'), class: @class, href: ''
|
= render 'moderation_queue/btn_base', text: t('moderation_queue.profile_button_box.text_check'), class: @class, href: ''
|
||||||
- @class = 'bg-blue white'
|
- @class = 'btn-secondary'
|
||||||
= render 'moderation_queue/btn_base', text: t('moderation_queue.profile_button_box.text_deny'), class: @class, href: ''
|
= render 'moderation_queue/btn_base', text: t('moderation_queue.profile_button_box.text_deny'), class: @class, href: ''
|
||||||
- @class = 'btn-danger'
|
- @class = 'btn-secondary'
|
||||||
= render 'moderation_queue/btn_base', text: t('moderation_queue.profile_button_box.text_report'), class: @class, href: ''
|
= render 'moderation_queue/btn_base', text: t('moderation_queue.profile_button_box.text_report'), class: @class, href: ''
|
||||||
|
|
|
@ -19,11 +19,11 @@
|
||||||
.d-flex.py-4.justify-content-center
|
.d-flex.py-4.justify-content-center
|
||||||
- @class = 'btn-secondary'
|
- @class = 'btn-secondary'
|
||||||
= render 'moderation_queue/btn_base', text: t('moderation_queue.button_box.text_pause'), class: @class, href: ''
|
= render 'moderation_queue/btn_base', text: t('moderation_queue.button_box.text_pause'), class: @class, href: ''
|
||||||
- @class = 'btn-primary'
|
- @class = 'btn-secondary'
|
||||||
= render 'moderation_queue/btn_base', text: t('moderation_queue.button_box.text_reject'), class: @class, href: ''
|
= render 'moderation_queue/btn_base', text: t('moderation_queue.button_box.text_reject'), class: @class, href: ''
|
||||||
- @class = 'bg-blue white'
|
- @class = 'btn-secondary'
|
||||||
= render 'moderation_queue/btn_base', text: t('moderation_queue.button_box.text_accept'), class: @class, href: ''
|
= render 'moderation_queue/btn_base', text: t('moderation_queue.button_box.text_accept'), class: @class, href: ''
|
||||||
- @class = 'btn-outline-primary'
|
- @class = 'btn-secondary'
|
||||||
= render 'moderation_queue/btn_base', text: t('moderation_queue.button_box.text_reply'), class: @class, href: ''
|
= render 'moderation_queue/btn_base', text: t('moderation_queue.button_box.text_reply'), class: @class, href: ''
|
||||||
- @class = 'btn-danger'
|
- @class = 'btn-secondary'
|
||||||
= render 'moderation_queue/btn_base', text: t('moderation_queue.button_box.text_report'), class: @class, href: ''
|
= render 'moderation_queue/btn_base', text: t('moderation_queue.button_box.text_report'), class: @class, href: ''
|
||||||
|
|
Loading…
Reference in a new issue