[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/theme/base/style/ -> dock.css (source)

   1  /**
   2   * Whilst the dock isn't supported by the base theme this CSS is here so that those
   3   * themes that do want to use the dock will have a starting point at least
   4   */
   5  
   6  /* Put a margin on the body if the dock is shown */
   7  body.has_dock {margin-left:30px;}
   8  
   9  /** For the dock itself */
  10  #dock {width:30px;position:fixed;top:0px;left:0px;height:100%;background-color:#FFF;border-right:1px solid #000;z-index:5000;}
  11  #dock.nothingdocked {visibility: hidden;display:none;}
  12  #dock .dockeditem .firstdockitem {margin-top:1em;}
  13  #dock .dockedtitle {border-bottom:1px solid #000;border-top:1px solid #000;cursor:pointer;}
  14  #dock .dockedtitle h2 {font-size:0.80em;line-height:100%;text-align:center;}
  15  #dock .dockedtitle .filterrotate {margin-left:8px;}
  16  #dock .controls {position:absolute;bottom:1em;text-align:center;width:100%;}
  17  #dock .controls img {cursor:pointer;}
  18  
  19  /** For the panel the docked blocks are shown in */
  20  #dockeditempanel {min-width:200px;position:relative;z-index:12000;left:100%;}
  21  #dockeditempanel.dockitempanel_hidden {display:none;}
  22  #dockeditempanel .dockeditempanel_content {background-color:#fff;border:1px solid #000;z-index:12050;}
  23  #dockeditempanel .dockeditempanel_bd {overflow:auto;width:100%;}
  24  #dockeditempanel .dockeditempanel_bd .block_docked {margin:10px;}
  25  #dockeditempanel .dockeditempanel_bd .block_navigation .block_tree li {overflow:visible;}
  26  #dockeditempanel .dockeditempanel_hd {border-bottom:1px solid #000;}
  27  #dockeditempanel .dockeditempanel_hd h2 {display:block;margin:0;padding-right:1em;}
  28  #dockeditempanel .dockeditempanel_hd .commands {display:block;text-align:right;}
  29  #dockeditempanel .dockeditempanel_hd .commands > a,
  30  #dockeditempanel .dockeditempanel_hd .commands > span { margin:0 3px; }
  31  #dockeditempanel .dockeditempanel_hd .commands img,
  32  #dockeditempanel .dockeditempanel_hd .commands input {vertical-align:middle; width: 12px; height: 12px;}
  33  #dockeditempanel .dockeditempanel_hd .commands .hidepanemicon img { cursor:pointer; }
  34  
  35  /** IE 6 doesn't support fixed pos elements **/
  36  .ie6 #dockeditempanel {position:absolute;}
  37  
  38  /* right align the DOCK panel
  39  ------------------------------*/
  40  .dir-rtl #dockeditempanel .dockeditempanel_hd .commands {text-align: left;}
  41  .dir-rtl #dockeditempanel {right: 100%;}
  42  .dir-rtl #dock {left:auto;right: 0%; border-left: 1px solid #DDD;}
  43  .dir-rtl #dock .dockedtitle { border-bottom: 1px solid #DDD;border-top: 1px solid #EEE;  cursor: pointer;}
  44  body.dir-rtl.has_dock  {margin-left: 0px; margin-right: 30px}
  45  
  46  /* Test span used to calculate positioning of docked item labels */
  47  .transform-test-node { position:absolute;line-height:normal; }
  48  
  49  /* Hide the move icon for blocks which are docked */
  50  #dock .editing_move,
  51  #dock .moodle-core-dragdrop-draghandle {
  52      display: none;
  53  }


Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1