bootstrap自适应大气黑色音乐网站ui界面效果代码

代码语言:html

所属分类:响应式

代码描述:bootstrap自适应大气黑色音乐网站ui界面效果代码

代码标签: bootstrap 自适应 大气 黑色 音乐 网站 ui

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">

    <link href='https://fonts.googleapis.com/css?family=Roboto:400,100,100italic,300,300italic,400italic,500,500italic,700,700italic,900italic,900' rel='stylesheet' type='text/css'>
    <link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/bootstrap.3.3.4.css">
    <link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/font-awesome-4.7.0/css/font-awesome.min.css">
    <link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/ionicons.min.css">
    <link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/nouislider.min.css">
    <style>
        @charset "UTF-8";
    body {
      background: #181818;
      font-family: "Roboto", sans-serif;
    }
    body a {
      color: #aaaaaa;
    }
    body a:hover {
      color: #c8c8c8;
    }
    
    .header {
      background: #282828;
      padding: 10px;
      color: #aaaaaa;
      border-bottom: 1px solid #181818;
      display: flex;
      flex-flow: row wrap;
      align-items: center;
    }
    .header .page-flows .flow {
      font-size: 20px;
      color: #aaaaaa;
      margin: 0 10px;
    }
    .header .page-flows .flow:hover {
      color: white;
    }
    .header .page-flows .flow .disabled {
      color: #5e5e5e;
    }
    .header .search {
      margin-left: 1%;
    }
    .header .search input {
      border-radius: 15px;
      border: none;
      background: white;
      color: #181818;
      padding-left: 30px;
      outline: none;
      background-image: url(//repo.bfw.wiki/bfwrepo/images/music/site/ios-search.svg);
      background-repeat: no-repeat;
      background-size: 10%;
      background-position: 5px;
    }
    .header .user {
      width: 300px;
      margin-left: auto;
      display: flex;
      flex-flow: row wrap;
      justify-content: space-between;
      align-items: center;
    }
    .header .user i {
      font-size: 20px;
    }
    .header .user i:hover {
      color: white;
      cursor: pointer;
    }
    .header .user__info img {
      max-width: 30px;
      max-height: 30px;
      border-radius: 50%;
      display: inline-block;
    }
    .header .user__actions button {
      background: none;
      border: none;
    }
    .header .user__actions .dropdown-menu {
      background: #282828;
      margin-top: 25px;
      border-radius: 2px;
      padding: 0;
      border: none;
    }
    .header .user__actions .dropdown-menu:before {
      font-family: "Ionicons";
      content: "";
      position: absolute;
      top: -30px;
      right: 7px;
      color: #282828;
      font-size: 36px;
    }
    .header .user__actions .dropdown-menu a {
      color: #aaaaaa;
      transition: all 0.2s ease;
    }
    .header .user__actions .dropdown-menu a:hover {
      background: none;
      transition: all 0.2s ease;
    }
    .header .user__actions .dropdown-menu li {
      padding: 10px;
      margin: 0;
      transition: all 0.2s ease;
    }
    .header .user__actions .dropdown-menu li:hover {
      background: #aaaaaa;
      transition: all 0.2s ease;
    }
    .header .user__actions .dropdown-menu li:hover a {
      color: #c8c8c8;
      transition: all 0.2s ease;
    }
    
    .content {
      display: flex;
      flex-flow: row wrap;
    }
    .content__left {
      width: 15%;
    }
    .content__middle {
      width: 70%;
    }
    .content__right {
      width: 15%;
    }
    @media (max-width: 1400px) {
      .content__left {
        width: 20%;
      }
      .content__middle {
        width: 80%;
      }
      .content__right {
        display: none;
      }
    }
    @media (max-width: 768px) {
      .content__left {
        width: 100%;
      }
      .content__middle {
        width: 100%;
      }
    }
    
    .navigation {
      padding: 15px;
      background: #282828;
      color: #aaaaaa;
      overflow-y: scroll;
    }
    .navigation__list {
      display: flex;
      flex-flow: column wrap;
      margin-bottom: 15px;
    }
    .navigation__list__header:after {
      font-family: "Ionicons";
      content: "";
    }
    .navigation__list .active:after {
      font-family: "Ionicons";
      content: "";
    }
    .navigation__list__item {
      color: #aaaaaa;
      padding: 5px 0;
      display: flex;
      flex-flow: row nowrap;
      align-items: center;
    }
    .navigation__list__item:hover {
      color: white;
      text-decoration: none;
      border-right: 3px solid #1ed760;
    }
    .navigation__list__item i {
      width: 25px;
      display: block;
    }
    
    @media (max-width: 768px) {
      .navigation {
        display: flex;
        flex-flow: row wrap;
        justify-content: space-around;
      }
      .navigation__list {
        margin-bottom: 0;
        width: calc( 100% / 3 );
        text-align: center;
      }
      .navigation__list__item {
        width: 100%;
        text-align: center;
      }
      .navigation__list__item i {
        display: none;
      }
      .navigation__list__item span {
        margin: 0 auto;
      }
      .navigation__list__item:hover {
        border: none;
      }
    }
    .playlist {
      padding: 15px;
      background: #282828;
      border-top: 1px solid #181818;
      border-bottom: 1px solid #181818;
    }
    .playlist:hover {
      background: #424242;
    }
    .playlist:hover a {
      color: white;
    }
    .playlist a {
      color: #aaaaaa;
      display: flex;
      flex-flow: row nowrap;
      align-items: center;
    }
    .playlist a:hover {
      text-decoration: none;
    }
    .playlist a i {
      font-size: 24px;
      color: white;
      margin-right: 15px;
    }
    
    @media (max-width: 768px) {
      .playlist {
        display: none;
      }
    }
    .playing {
      background: #282828;
      border-bottom: 1px solid #181818;
      display: flex;
      flex-flow: row nowrap;
      align-items: center;
    }
    .playing__art img {
      width: 50px;
      height: 50px;
    }
    .playing__song {
      color: #aaaaaa;
      padding-left: 15px;
      display: flex;
      flex-flow: column wrap;
    }
    .playing__song a {
      color: #aaaaaa;
    }
    .playing__song a:hover {
      color: white;
      cursor: pointer;
    }
    .playing__add {
      margin-left: auto;
      padding-right: 15px;
      color: #aaaaaa;
    }
    
    @media (max-width: 768px) {
      .playing {
        border-top: 1px solid #181818;
      }
    }
    .current-track {
      background: #282828;
      padding: 5px 15px;
      display: flex;
      flex-flow: row wrap;
      align-items: center;
    }
    .current-track__actions {
      width: 5%;
      display: flex;
      flex-flow: row nowrap;
      justify-content: space-between;
      align-items: center;
    }
    .current-track__actions a {
      font-size: 24px;
      color: #c8c8c8;
    }
    .current-track__actions a:hover {
      color: white;
      cursor: pointer;
    }
    .current-track__actions .play {
      font-size: 36px;
    }
    .current-track__progress {
      width: 70%;
      padding: 0 30px;
      color: #aaaaaa;
      font-size: 11px;
      display: flex;
      flex-flow: row;
      justify-content: space-between;
      align-items: center;
    }
    .current-track__progress__bar {
      width: 100%;
      padding: 0 15px;
    }
    .current-track__progress__bar .noUi-target {
      border: none;
      height: 4px;
    }
    .current-track__progress__bar .noUi-base {
      background: #1ed760;
    }
    .current-track__progress__bar .noUi-origin {
      background: #5e5e5e;
    }
    .current-track__progress__bar .noUi-handle {
      background: #c8c8c8;
      width: 15px;
      height: 15px;
      border-radius: 50%;
      box-shadow: none;
      border: none;
      left: 0;
      display: none;
    }
    .current-track__progress__bar .noUi-handle:before, .current-track__progress__bar .noUi-handle:after {
      background: none;
    }
    .current-track__progress:hover .noUi-handle {
      display: block;
    }
    .current-track__options {
      width: 25%;
      display: flex;
      flex-flow: row wrap;
      align-items: center;
    }
    .current-track__options .lyrics {
      font-size: 11px;
      text-transform: uppercase;
      width: 15%;
      padding: 0 15px 0 0;
    }
    .current-track__options .controls {
      width: 85%;
      display: flex;
      flex-flow: row wrap;
      justify-content: space-between;
    }
    .current-track__options .controls .devices:hover {
      text-decoration: none;
    }
    .current-track__options .controls .devices i {
      margin-right: 5px;
    }
    .current-track__options .controls .devices span {
      font-size: 11px;
      text-transform: uppercase;
    }
    .current-track__options .controls .volume {
      width: 25%;
      display: flex;
      flex-flow: row wrap;
      align-items: center;
    }
    .current-track__options .controls .volume i {
      width: 20px;
      color: #aaaaaa;
    }
    .current-track__options .controls .volume #song-volume {
      width: calc( 80% - 20px );
      border: none;
      height: 4px;
    }
    .current-track__options .controls .volume #song-volume .noUi-base {
      background: #c8c8c8;
    }
    .current-track__options .controls .volume #song-volume .noUi-origin {
      background: #5e5e5e;
    }
    .current-track__options .controls.........完整代码请登录后点击上方下载按钮下载查看

网友评论0