@import url('../css/default.css');


.custom-header {padding:0;background:#eee;}
.custom-header > [class*="head"] {padding:.3em 1em;}
.custom-header .head1 {background:#fff;}
.custom-header .head2 {background:#eee;}
.custom-header :is(.head2, .head3):empty {display:none;}
.custom-header .head3 {background:#ddd;}
.custom-header :is(.head2, .head3) {box-shadow:inset 0 1.5em 1.5em #7891;}
.custom-header form {display:inline;}
.custom-header .head3 [type=submit] {padding:0 .5em;line-height:1.3;}
.custom-header .frow {display:flex;align-items:center;}
.custom-header .frow.line {border-bottom:thin solid #999;}
.custom-header .frow.gap {gap:1em;}
.custom-header .frow.between {justify-content:space-between;}
@media (width <= 640px) {
  .custom-header .frow.resp {flex-direction:column;align-items:start;gap:0;}
}
@media (width <= 480px) {
  .navbar-brand {/*display:none;*/font-size:18px !important;}
}

/* custom column */
.nobr {white-space:nowrap;}
.last-bugnote {text-align:left;max-width:50em;white-space:normal;}
@media (max-width: 991px) {
  .last-bugnote, td.column-summary, td.column-status {max-width:20em;white-space:normal !important;/*max-height:5em;overflow:hidden;text-overflow:ellipsis;*/}
}
/*th.column-plugin {text-align:left !important;}*/
#buglist th.column-summary {text-align:center;}

/* mobile navbar: always visible */
@media only screen and (max-width: 991px) {
  .navbar-toggle[data-target*="navbar-buttons"] {display:none !important;}
  .navbar-buttons {
    display: block !important;
    visibility: visible !important;
  }
  [class*="hidden-"]:has(a[href*="bug_report_page"], a[href*="bug_report_page"]) {display:inline-block !important;}
  /*.navbar.navbar-collapse .navbar-buttons>.ace-nav[class]>li {float:left !important;}*/
  .navbar-buttons a.dropdown-toggle .cap {display:inline-block;white-space:nowrap;max-width:9em;overflow:hidden;text-overflow:ellipsis;vertical-align:middle;}
  #dropdown_projects_menu .cap {}
  #dropdown_profile_menu .cap {display:none;}
  .navbar-buttons a.btn > i.fa + .cap {display:none;}
}

/* 1. Always force navbar buttons to stay visible on mobile screens * /
@media (max-width: 991px) {
  .ace-nav > li {
    display: inline-block !important;
    float: left !important;
  }
  .navbar-buttons.navbar-header {
    display: block !important;
  }
}

/* 2. Remove dropdown/fade-in animations on the profile icon menu click * /
.ace-nav .nav-user-photo + .dropdown-menu,
.ace-nav > li > .dropdown-menu {
  -webkit-transition: none !important;
  -moz-transition: none !important;
  -o-transition: none !important;
  transition: none !important;
  animation: none !important;
}


/* navbar */
#navbar, #navbar .btn, #navbar .dropdown-toggle {background:#5090C1 !important;}
#navbar .btn {border-color:#5090C1;}
#navbar a[href*="manage_user_create"] {display:none;}

/* bugnote.note_time */
.bugnote-time {background:#aea;padding:.0em .3em;border:thin solid #6b6;border-radius:.3em;line-height:2;font-weight:bold;}
tr.bugnote[class], div.widget-box, a#attachments, .test-langs tr {
	scroll-margin-top: 150px;
}
#bugnotes .file-time {display:none;}


/* top quickinfo */

/*#info{border:1px solid #cdc;background:#efe;color:#363;min-width:350px;padding:.3em 1em;border-radius:.3em;text-align:right;}*/
#info.warn{/*border:1px solid #dcc;background:#fee;*/color:#633;}
.stop{color:red;font-weight:bold;}
.head2:has(.stop, .warn) {background:#fee;}

.blk{position:relative;display:inline-block;}
/*.blk .toggle{color:navy;}*/
.blk .popup{display:none;position:absolute;min-width:350px;z-index:10;top:1.6em;left:0m;border:1px solid #999;background:#fff;padding:1em;box-shadow:1px 1px 1em rgba(0,0,0,.5);border-radius:.3em;font-weight:normal;color:#333;max-height:calc(100vh - 5em);overflow:auto;}

.tab{border-collapse:collapse;}
.tab td,.tab th{border:1px solid #ccc;vertical-align:top;padding:.1em .5em;}
.form td{vertical-align:top;border:none;}

a.nodec{text-decoration:none;}

/* rows */
/*.table-striped>tbody>tr:nth-of-type(odd) {}*/
table.table-striped[class]>tbody>tr {background:none;}
/*.table-striped>tbody>tr:nth-of-type(odd) {box-shadow:inset 0 0 3em #8882;}*/
.table-hover>tbody>tr:hover {box-shadow:inset 0 0 3em #8882;}
/* status */
/*10:new,20:feedback,30:acknowledged,40:confirmed,50:assigned,80:resolved,90:closed*/
table.table-hover[class] tr:has(.status-10-fg), tr.status-10 {background-color:#fdd;} /* red (new)	*/
table.table-hover[class] tr:has(.status-20-fg), tr.status-20 {background-color:#fbf;} /* purple (feedback)	*/
table.table-hover[class] tr:has(.status-30-fg), tr.status-30 {background-color:#fe9;} /* orange	(acknowledged, in work) */
table.table-hover[class] tr:has(.status-40-fg), tr.status-40 {background-color:#ffd;} /* yellow (confirmed, plan)	*/
table.table-hover[class] tr:has(.status-50-fg), tr.status-50 {background-color:#def;/*#c2dfff;*/} /* blue (assigned)	*/
table.table-hover[class] tr:has(.status-60-fg), tr.status-60 {}
table.table-hover[class] tr:has(.status-70-fg), tr.status-70 {}
table.table-hover[class] tr:has(.status-80-fg), tr.status-80 {background-color:#e3ffe3;/*color:#666;*/} /* green (resolved)	*/
table.table-hover[class] tr:has(.status-90-fg), tr.status-90 {background-color:#eee;/*color:#666;*/} /* grey (closed)	*/

/*
	'new'          => '#fcbdbd', # red    (scarlet red #ef2929)
	'feedback'     => '#e3b7eb', # purple (plum        #75507b)
	'acknowledged' => '#ffcd85', # orange (orango      #f57900)
	'confirmed'    => '#fff494', # yellow (butter      #fce94f)
	'assigned'     => '#c2dfff', # blue   (sky blue    #729fcf)
	'resolved'     => '#d2f5b0', # green  (chameleon   #8ae234)
	'closed'       => '#c9ccc4'  # grey   (aluminum    #babdb6)
*/