/**********************************************************************************************************
 ************************************** JIRA-GLOBAL-CSS v2026.11.09.1 ************************************
 * @author: Marcelo Mrack
 * @since : 2018.10.23
 * @update: 2026.11.09 // Filtros rápidos dos quadros: ativo/hover em Ciano com texto branco (fim do vermelho do branding antigo)
 **********************************************************************************************************/
 
 /* Forca o carregamento do toolbar para que ele e fique visivel ao iniciar a edicao das regras */
 .xapps-expression-editor-toolbar {
	display: table !important;
 }

/* Aumenta a largura dos campos Matrix para 1.600px | UP-5433 */
.view-issue-lists {
  width: 1600px;
}

/* Retira o icone do JWT das telas do Jira | UP-4378 */
.jwt-descriptor-view-topic-section {
  display: none;
}

/* Define uma fonte fixa para o texto do banner, a fim de facilitar a digitacao de codigo html nele */
textarea[name="announcement"] {
  font-family: "Inconsolata", "Roboto Mono", monospace !important;
  font-weight: bold !important;
  font-size: 90% !important;
  min-height: 600px !important;
}

/* Cor preta nos botoes padroes do sistema */
.submit-button,.aui-button.aui-button-primary,#issue-workflow-transition-submit,#delete-attachment-submit {
  background-color: black;
  color: #fafafa;
}

/* Cor turquesa nos botoes padroes do sistema ao passar o mouse */
.submit-button:hover,.aui-button:hover,.aui-button.aui-button-primary:hover,#issue-workflow-transition-submit:hover,delete-attachment-submit:hover {
  background-color: #00B7B7;
  color: #fafafa;
}

/* Cor cinza escuro/branco para hover de itens em tabelas e menus */

/* EM TESTE
table.aui.aui-table-rowhover>tbody tr:hover,.aui-nav>li:hover,.shifter-dialog .aui-list:hover,.aui-list-item.active:hover,.aui-nav>li>a:hover,.aui-navgroup-vertical .aui-nav .aui-nav-selected>a,
.aui-dropdown2.aui-style-default:hover a:not(.aui-dropdown2-disabled):hover,table.aui>tbody>tr:hover
*/

.aui-navgroup-vertical .aui-nav>li>a:hover,.aui-dropdown2.aui-style-default:hover a:not(.aui-dropdown2-disabled):hover {
    background-color: #666 !important;
    color: #fff !important;
}

div.CodeExpressionMirror,.code-snippet {
  font-family: Roboto mono !important;
  font-weight: bold !important;
}

select {
  font-weight: 500;
}

textarea {
  font-weight: 500;
}

label {
  font-weight: 500;
}

input {
  font-weight: 500;
}

.tipsy-inner { max-width: 400px}

.skill-Master {
  background-color: #008DA6;
  display: inherit;
}

.skill-Senior {
  background-color: #00B8D9;
  display: inherit;
}

.skill-Pleno {
  background-color: #79E2F2;
  display: inherit;
}

.skill-Junior {
  background-color: #B3F5FF;
  display: inherit;
}

.skill-Trainee {
  background-color: #E6FCFF;
  display: inherit;
}

.priority-P1 {
  background-color: #FF0000;
  display: inherit;
}
.priority-P2 {
  background-color: #FFA500;
  display: inherit;
}
.priority-P3 {
  background-color: #FFD700;
  display: inherit;
}
.priority-P4 {
  background-color: #708090;
  display: inherit;
}

/* Cor Verde, utilizada em conjunto com os campos NFeed para mostrar a barra lateral indicadora do status do registro */
.status-Active,.status-Ativo,.status-Vendido,.status-Relacionamento,.status-Encerrado,.status-Enviado,.status-Closed,.status-Fechado {
  background-color: #36b37f;
  display: inherit;
}

/* Cor Amarela, utilizada em conjunto com os campos NFeed para mostrar a barra lateral indicadora do status do registro */
.status-Draft,.status-Rascunho,.status-Pending,.status-Pendente,.status-Disponível,.status-Interesse,.status-Identificação,.status-Necessidade,.status-Justificativa,.status-Proposta,.status-Cliente {
  background-color: #ffaa00;
  display: inherit;  
}

/* Cor Vermelha padrao, utilizada em conjunto com os campos NFeed para mostrar a barra lateral indicadora do status do registro */
.status-Inactive,.status-Inativo {
  background-color: #ff5630;
  display: inherit;  
}

/*
Cria o estilo "blink", de piscar conforme recomendacao da W3C, em: https://www.w3docs.com/learn-html/html-blink-tag.html
Mais detalhes em: UP-2426
*/
.blink {
  animation: blinker 1s linear infinite;
}

@keyframes blinker {  
  50% { opacity: 0.1; }
}

/* Borda grossa azul B400 com sombra para foco em campos de formulario - @see https://www.cssmatic.com/box-shadow e https://www.atlassian.design/server/foundations/colors/ */
textarea:focus,.text:focus,.select:focus,.aui-select2-drop:focus,.select2-search:focus,div.connect-react-select__control:focus {
  //border-color: #0052CC !important;
  //box-shadow: 0px 0px 8px 3px rgba(00,82,204,1) !important;
  box-shadow: 0px 0px 8px 3px rgba(000,183,183,1) !important;
  border-color: #00B7B7 !important;
}

/* Texto vermelho "Red Dirt" da AUI Atlassian para campo "Observações" em telas de visualização de tarefa */
#customfield_27692-val {
  color: #DE350B;
}

/* Botoes dos filtros rapidos de TODOS os quadros Kanbans: ativo (pressionado) e hover = fundo Ciano (#00B7B7) com texto branco */
a.ghx-active,
a.ghx-active:hover,
a.ghx-active:focus,
a.ghx-active:active,
.ghx-controls-filters a.js-quickfilter-button:hover,
.ghx-controls-filters a.js-quickfilter-button:focus,
#js-work-quickfilters a:hover,
#js-plan-quickfilters a:hover,
#js-report-quickfilters a:hover {
  background: #00B7B7 !important;
  background-color: #00B7B7 !important;
  color: #fff !important;
}

a.ghx-active {
  font-weight: bold;
}

/* Links dentro de paineis AUI Message com cor branca */
div.aui-message > ul > li > a {
  color: white;
}

/* Cor do texto do botao 'Create' da tela inicial do Jira */
#create_link {
  color: white;
}

/* Remove botão de clonagem via CSS (além de javascript que já existe, mas as vezes não funciona ) */
#clone-issue {
  visibility: hidden;
  display: none;
}

/* Oculta a aba de detalhes de tarefa nos quadro kanbans. DESABILITADO para ser feito via JQuery apenas em quadros especificos
#ghx-detail-view {
  display: none;
}
*/

.ghx-extra-field-row {
  font-size: smaller;
}

/**********************************************************************************************************
 ****************** ESTILOS MIGRADOS DO JIRA ANNOUNCEMENT BANNER (3LAYER) *********************************
 **********************************************************************************************************/

/**
 * Ajusta efeito hover de linhas do plugin ScriptRunner na listagem de endpoints rests
 */
.css-unmje5:hover {
    background-color: #00f0d6;
}

/**
 * Ajuste da fonte do editor do JWT Calculated Fields/etc
 */
.CodeExpressionMirror pre {
  font-family: "inconsolata", monospace !IMPORTANT;
}

/**
 * Ajuste de cores de botoes, preto por padrao e ao passar o mouse azul eletrico
 */
button[type="submit"] {
  background-color: black;
}

button[type="submit"]:hover {
  background-color: rgb(0, 183, 183);
}

/**
 * Oculta os botoes de Feedback, Help e Configuracoes no topo superior direito proximo ao icone do perfil do usuario
 */
#jira-header-feedback-link,#system-help-menu,#system-admin-menu {
  display: none;
}

/**
 * Aumenta o tamanho do dialogo de filtro Cummulative Flow Diagram dos quadros kanbans para caber todos os Quick Filters e botoes de forma que o botao Apply possa ser clicado
 */
div.aui-inline-dialog-contents {
  width: 1000px !IMPORTANT;
  max-width: 1000px !IMPORTANT;
  height: 700px !IMPORTANT;
  max-height: 700px !IMPORTANT;
}

/*
 * Reduz a largura do menu Flash/Shuttle
 */
.project-shuttle-category-view {
  max-width: 200px !IMPORTANT;
  min-width: 200px !IMPORTANT;
  width: 200px !IMPORTANT;
}

/*
 * Define o tamanho do espaco do editor de codigo do script runner para 800px para ter mais espaco lateral na tela.
 */
.CodeMirrorField {
  min-width: 1000px;
  width:     1000px;
  max-width: 2000px;
}

/*
 * Sobrescreve o tamanho do texto e a cor de fundo/background dos tooltips padroes da Atlassian | CS-6733
 */
.tipsy-inner {
   font-size: small !IMPORTANT;
   background: black !IMPORTANT;
   text-align: left !IMPORTANT;
   max-width: 400px;
}

/* Diminui a borda dos elementos input para ter apenas 1px visando deixar a tela mais slim, leve e agradável */
input[type='text'] {
 border-width: 1px !IMPORTANT;
}

/* Transforma em tipo upper case negrito os titulos das telas de transicao de fluxo para enfatizar a acao que esta sendo feita */
div.jira-dialog-heading.jira-dialog-core-heading > h2 {
    font-weight: 500;
    font-variant: all-petite-caps;
    font-size: xx-large;
}

.gr {
    border: solid #EEE 1px !IMPORTANT;
}

body {
    font-family: adobe-clean,Source Sans Pro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;
    letter-spacing: -1px;
    zoom: 100%;
}

h1 {
    font-family: Roboto;
    letter-spacing: -0.5px;
    font-stretch: 95%;
}

div.description {
    line-height: 1.2 !IMPORTANT;
    letter-spacing: 0px !IMPORTANT;
}

input.text {
    max-width: inherit !IMPORTANT;
}

textarea[name='description'],textarea.long-field:not("role='combobox'"),form.aui:not(.aui-legacy-forms) .long-field {
    min-width: 600px !IMPORTANT;
    max-width: 600px !IMPORTANT;
    width: 600px !IMPORTANT;
    font-weight: 400 !IMPORTANT;
    height: 200px !IMPORTANT;
}

select.select {
    width: inherit !IMPORTANT;
    max-width: 49% !IMPORTANT;
}

select.nfeed-edit-select {
    min-width: 100% !IMPORTANT;
}

div.nfeed-widget {
    width: 500px !IMPORTANT;
    min-width: 500px !IMPORTANT;
    max-width: 500px !IMPORTANT;
}

/* Aplica borda branca sobre os lozenges para separá-los quando exibidos lado a lado */
.aui-lozenge {
  border: 1px solid white;
}

/* Aplica fonte negrito nas colunas com class issueKey nas listagens do plugin Rich Filters */
td.issuekey {
  font-weight: bold;
}

/* Aplica efeito tachado (linha sobre o texto) em nomes de anexos antigos */
li.earlier-version dl dt,li.earlier-version dl dd {
  text-decoration: line-through;
}

.aui-tabs.horizontal-tabs>.tabs-menu>.menu-item a, .aui-tabs.horizontal-tabs>.tabs-menu>.menu-item a:active, .aui-tabs.horizontal-tabs>.tabs-menu>.menu-item a:focus, .aui-tabs.horizontal-tabs>.tabs-menu>.menu-item a:hover {
    display: block;
    padding: 5px 10px;
    text-decoration: none;
}

.aui-tabs>.tabs-menu .menu-item a, .aui-tabs>.tabs-menu .menu-item a:link, .aui-tabs>.tabs-menu .menu-item a:visited {
    color: var(--aui-tabs-tab-text-color);
}

/* Aplica fonte fina para títulos de tabs */
.aui-tabs>.tabs-menu>.menu-item>a>strong {
    font-weight: 400;
    color: #666;
}

/* Aplica formato uppercase em tabs, botoes submit de fluxo e botoes primarios do jira */
ul.tabs-menu li.menu-item a, #issue-workflow-transition-submit, .aui-button-primary, input[type=submit], #edit_transition, .aui-button.trigger-dialog {
    text-transform: uppercase;
    font-weight: bold;
    background-color: black;
    color: white;
}

/* Aplica fonte monoespaçada ao editar field description dentro dos Field Configurations */
#main > form > table > tbody > tr:nth-child(4) > td.fieldValueArea > textarea {
    font-family: monospace;
}

/* Altera as cores de issue selecionada e mouse hover sobre issues na listagem de tarefas */
#issuetable>tbody>tr:hover, .issue-table>tbody>tr:hover {
    background-color: #99FFFF;
}

.issuerow.focused {
    background-color: #99FFFF !IMPORTANT;
}

.ghx-column-title {
  font-size: large;
}

textarea[name="announcement"] {
  font-family: "inconsolata", monospace !IMPORTANT;
  font-weight: bold !IMPORTANT;
  font-size: 90% !IMPORTANT;
  min-height: 600px !IMPORTANT;
}

div.xapps-expression-editor-toolbar {
  width: "" !IMPORTANT;
}

#advanced-search {
  font-family: "Roboto Mono", monospace !IMPORTANT;
  font-weight: bold !IMPORTANT;
  font-size: 90% !IMPORTANT;
  height: 60px !IMPORTANT;
}

#description {
  min-width: 580px !IMPORTANT;
  width: 580px !IMPORTANT;
  max-width: 580px !IMPORTANT;
}

/**
 * Estilos para criar tooltip bubble preto sobre quadros kanbans comerciais.
 * @author: marcelo.mrack
 * @date: 2024-08-26
 * @source: https://css-tricks.com/bubble-point-tooltips-with-css3-jquery/
 */
.balloon,
.arrow:after {
  background: black;
  border: 2px solid white;
}

.balloon {
  pointer-events: none;
  opacity: 0;
  display: inline-block;
  position: absolute;
  padding: 10px 20px;
  color: white;
  border-radius: 7px;
  margin-top: 20px;
  text-align: center;
  font: bold 32px "Helvetica Neue", Sans-Serif;
  font-stretch: condensed;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 0 7px black;
}

.arrow {
  width: 70px;
  height: 16px;
  overflow: hidden;
  position: absolute;
  left: 50%;
  margin-left: -35px;
  bottom: -16px;
}

.arrow:after {
  content: "";
  position: absolute;
  left: 20px;
  top: -20px;
  width: 25px;
  height: 25px;
  box-shadow: 6px 5px 9px -9px black, 5px 6px 9px -9px black;
  transform: rotate(45deg);
}

.balloon.active {
  z-index: 1000;
  opacity: 1;
  margin-top: 5px;
  transition: all 0.2s ease;
}

.balloon.out {
  z-index: -1000;
  opacity: 0;
  margin-top: -20px;
}

/**
 * Adiciona o efeito blink sobre os "alertas master" (smart fields) dos paineis ricos (rich filters)
 * @author: marcelo.mrack
 * @update: 2024.09.23.1
 */
td[data-smart-filter-name*='Alerta Master'] {
  animation: blinker 1s linear infinite !IMPORTANT;
}