/**
 *    Copyright 2006 - 2011 Opera Software ASA
 *
 *    Licensed under the Apache License, Version 2.0 (the "License");
 *    you may not use this file except in compliance with the License.
 *    You may obtain a copy of the License at
 *
 *        http://www.apache.org/licenses/LICENSE-2.0
 *
 *    Unless required by applicable law or agreed to in writing, software
 *    distributed under the License is distributed on an "AS IS" BASIS,
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *    See the License for the specific language governing permissions and
 *    limitations under the License.
 *
 **/


#main-scroll-container
{
  height: 100%;
  overflow: auto;
  overflow-y: scroll;
}

#main-scroll-content
{
  position: relative;
}

#left-side-content
{
  width: 250px;
  border-right: solid thin gray;
}

#right-side-container
{
  position: absolute;
  height: 100%;
  top: 0px;
  left: 251px;
  right: 0px;
  overflow: hidden;
}

#right-side-content
{
  height: 100%;
}

#scrollbar-container
{
  margin-right: 13px;
  overflow: auto;
}

#scrollbar
{
    height: 1px;
}


/* Network log / Overview */

.network-log-url-list {
  list-style: none;
  padding: 0;
  margin: 0;
  padding-top: 25px;
}

.network-log-url-list li {
  height: 19px;
  border-top: 1px solid rgba(0,0,0,0.1);
  padding: 4px 0px 1px 8px;
}

.network-log-url-list li:nth-child(odd) {
  background-color: rgba(0,0,0,0.025);
}

.network-log-url-list li.hovered {
  background-color: rgba(55,115,211,0.2);
  color: #000;
}

.hovered > rect.network-graph-bg-row {
  fill: rgba(55,115,211,0.2);
}

.network-log-url-list li span {
  display: inline-block;
}

.network-log-url-list li span + span {
  padding-left: 5px;
  width: 186px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.network-log-url-list .log-url-list-status {
  width: 30px;
  text-align: center;
  margin: 0 2px;
  padding: 2px 0;
  border-radius: 3px;
}

.status-cached {
  background: rgba(0,0,0,0.15);
}

.network-log-url-list li:active,
.network-log-url-list li:nth-child(even):active,
.network-log-url-list li.selected,
.network-log-url-list li:nth-child(even).selected
{
  background-color: rgba(55,115,211,0.8);
  color: #fff;
}

.response-body-content textarea
{
  width: 80%;
  height: 300px;
}

.resource-graph text
{
  font-size: 10px;
  text-anchor: middle;
}


/* Network log / Detail view */

.close-request-detail::before
{
  background-image: url("../ui-images/icons/icon_button_back.png");
}

.network-details-url-list {
  height: 100%;
  padding: 0;
  overflow: hidden;
  overflow-y: auto;
}

.network-details-request
{
  position: absolute;
  right: 0;
  top:0;
  bottom: 0;
  overflow: hidden;
  overflow-y: auto;
  padding: 15px 20px 25px 20px;
  border-left: 1px solid #999;
  background-color: #fff;
}

.network-details-request table
{
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 12px;
  margin-top: 12px;
}

.network-details-request td,
.network-details-request th
{
  border-top: 1px solid #eee;
  padding: 6px 5px 4px 0;
}

.network-details-request th
{
  text-align: left;
  vertical-align: top;
  width: 110px;
}

.network-details-header-list {
  list-style: none;
  padding-left: 0;
  margin-top: 0;
  padding-top: 0; 
}

.network-details-header-list span
{
  font-weight: bold;
}

.network-details-request p
{
  margin: 0;
  max-width: 60em;
  line-height: 150%;
}

.network-details-request h2,
.request-crafter h2,
.network-options h2
{
  font-size: 125%;
  margin: 15px 0 0 0;
}

/* Request crafter */
.request-crafter
{
  padding: 5px 20px;
}

.request-crafter p
{
  margin-top: 0;
}


.request-crafter input
{
  width: 100%;
}

.request-crafter textarea
{
  width: 100%;
  height: 250px;
}

.request-crafter pre
{
  width: 100%;
  min-height: 250px;
  border: solid thin black;
}


/* Options */
.network-options
{
  padding: 5px 20px 25px 20px;
}

.network-options label {
  margin: 5px 0 0 0;
  display: block;
  color: #666;
}

.network-options label:hover, .network-options label:focus {
  color: #000;
}

.network-options input[type=checkbox] {
  padding: 0 10px 0 5px;
}

.network-options p
{
  margin: 0;
  max-width: 60em;
  line-height: 150%;
}


.network-options select
{
  margin-left: 10px;
}

.header-override-input
{
  width: 100%;
  margin: 10px 0;
}