Welcome to mirror list, hosted at ThFree Co, Russian Federation.

nav.scss « stylesheets « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9403539b888b089ff2916d42f263f21489c495c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
/*
 *  Main Menu of Application
 *
 */
nav.main_menu { 
  border-radius: 4px;
  margin: auto;
  margin:30px 0;
  background:#eee;
  border:1px solid #bbb;
  height:38px;
  background-image: -webkit-gradient(linear, 0 0, 0 30, color-stop(0.066, #eee), to(#dfdfdf));
  background-image: -webkit-linear-gradient(#eee 6.6%, #dfdfdf);
  background-image: -moz-linear-gradient(#eee 6.6%, #dfdfdf);
  background-image: -o-linear-gradient(#eee 6.6%, #dfdfdf);
  @include shade;
  .count { 
    position: relative;
	  top: -1px;
	  display: inline-block;
	  height: 15px;
	  margin: 0 0 0 5px;
	  padding: 0 8px 1px 8px;
	  height: auto;
	  font-size: 0.82em;
	  line-height: 14px;
	  text-align: center;
	  color: #777;
	  background: #f2f2f2;
	  border-top: 1px solid #CCC;
	  border-radius: 8px;
	 -moz-border-radius: 8px;
  }
  .label { 
    background:$hover;
    text-shadow:none;
    color:$style_color;
  }
  a { 
    // Landscape phone to portrait tablet
    @media (max-width: 1080px) { min-width:35px; }
    // Portrait tablet to landscape and desktop
    @media (min-width: 1080px) and (max-width: 1200px) { min-width:40px; }
    // Large desktop
    @media (min-width: 1200px) { min-width:55px; }

    text-align:center;
    font-weight:bold;
    &:first-child{ 
      -webkit-border-top-left-radius: 4px;
      -webkit-border-bottom-left-radius: 4px;
      -moz-border-radius-topleft: 4px;
      -moz-border-radius-bottomleft: 4px;
      border-top-left-radius: 4px;
      border-bottom-left-radius: 4px;
      border-left: 0;
    }
    padding: 10px 25px;
    display: inline-block;
    color: $style_color;
    position: relative;
    margin: 0;
    float:left;
    text-shadow:0 1px 1px white;
    border-right: 1px solid #DDD;
    border-left: 1px solid #EEE;

    &.home { 
      background: url(home_icon.PNG) no-repeat center center;
      text-indent:-9999px;
      //min-width:40px;
      img { 
        position:relative;
        top:4px;
      }
    }
    &.current { 
      background-color:#D5D5D5;
      border-bottom: 2px solid #474D57;
      border-right: 1px solid #BBB;
      border-left: 1px solid #BBB;
      border-radius: 0 0 1px 1px;
      &:first-child{ 
        border-bottom:none;
      }
    }
  }
}
/*
 *  End of Main Menu
 *
 */