Skip to content
Snippets Groups Projects
styles.css 1.62 KiB
Newer Older
  • Learn to ignore specific revisions
  • Yuriy Maksymets's avatar
    Yuriy Maksymets committed
    #canvas {
      width: 100%;
      height: 100%;
      position: fixed;
    }
    
    
    #connected-room-info {
      display: none;
    }
    
    
    Yuriy Maksymets's avatar
    Yuriy Maksymets committed
    button.selected {
      background-color: lightgray;
    }
    
    
    .top-bar {
      background-color: black;
      opacity: 0.8;
      width: 100%;
      height: 37pt;
      float: left;
    }
    
    .dropdown {
      position: relative;
      display: inline-block;
      padding: 0.2%;
    }
    
    .dropdown-peers {
      background-color: #2f2f2f;
      color: white;
      padding: 12px;
      font-size: 16px;
      border: none;
      cursor: pointer;
      border-radius: 4px;
      transition-duration: 0.4s;
    }
    
    .peers {
      display: none;
      position: absolute;
      background-color: #f9f9f9;
      min-width: 160px;
      box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
      z-index: 1;
    }
    
    .peers a {
      color: black;
      padding: 12px 16px;
      text-decoration: none;
      display: block;
    }
    
    .peers a:hover {
      background-color: #f1f1f1;
    }
    
    .dropdown:hover .peers {
      display: block;
    }
    
    .dropdown:hover .dropdown-peers {
      background-color: #4f4f4f;
    }
    
    #room-id {
      width: 90%;
      padding: 10px;
      box-sizing: border-box;
      opacity: 0.8;
    }
    
    #room-connect {
      background-color: #2f2f2f;
      color: white;
      padding: 12px;
      font-size: 16px;
      border: none;
      cursor: pointer;
      border-radius: 4px;
    }
    
    #pen-tool {
      background-color: #2f2f2f;
      color: white;
      padding: 10px;
      font-size: 16px;
      border: none;
      cursor: pointer;
      border-radius: 50%;
    }
    
    #pen-tool:hover {
      background-color: #4f4f4f;
      transition-duration: 0.4s;
    }
    
    #eraser-tool {
      background-color: #2f2f2f;
      color: white;
      padding: 10px;
      font-size: 16px;
      border: none;
      cursor: pointer;
      border-radius: 50%;
    }
    
    #eraser-tool:hover {
      background-color: #4f4f4f;
      transition-duration: 0.4s;
    }