Commit 85e25f512bb056247f306122c8bdbe1cc56ee933

Authored by 钟艺
1 parent 2d696aa9

添加了_language.scss文件,点击下拉菜单的组件化

Showing 1 changed file with 39 additions and 0 deletions
  1 +.language-box{
  2 + padding-bottom: 6px;
  3 + >a{
  4 + background-color: rgba(207, 207, 207, 0.3);
  5 + margin-top: 5px;
  6 + color: white;
  7 + }
  8 + .language-option{
  9 + display: none;
  10 + position: absolute;
  11 + padding: 0;
  12 + margin: 0;
  13 + width: 100px;
  14 + z-index: 105;
  15 + li{
  16 + list-style-type: none;
  17 + background-color: white;
  18 + height: 35px;
  19 + line-height: 35px;
  20 + a{
  21 + text-decoration: none;
  22 + padding: 3px;
  23 + color: $font_s_opa;
  24 + }
  25 + }
  26 + li:hover{
  27 + background-color: rgb(241, 241, 241);
  28 + }
  29 + .active{
  30 + background-color: $blue_s;
  31 + }
  32 + .active:hover{
  33 + background-color: rgb(241, 241, 241);
  34 + a{
  35 + color: white;
  36 + }
  37 + }
  38 + }
  39 + }
\ No newline at end of file
... ...
Please register or login to post a comment