summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/leap.scss
blob: 6b44986b2a5a56ad0118724753757b2053e0de17 (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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118

table.table-hover .btn {
  opacity: 0;
}
table.table-hover tr:hover .btn {
  opacity: 1;
}

.ticket {
  td.user {
    white-space: nowrap;
  }
  td.comment {
    width: 100%;
  }
}

//
// UTILITY
//

.debug {
  outline: 1px solid red;
}

.full-width {
  width: 100%;
}

.slim {
  margin: 0;
}

.first {
  margin-top: 0;
  padding-top: 0;
}

//
// Typography
//

input.large {
  font-size: $baseFontSize * 1.25;
  line-height: $baseLineHeight * 1.5;
}

//
// FORMS
//

//
// Sometimes we really want full width controls, but this flies in the face of
// what bootstrap does for control sizes, so we have to step on bootstrap's
// toes a bit to make this work.
//
input, textarea {
  &.full-width {
    height: inherit;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
  }
}

//
// Labels
//

.label-clear {
  background-color: $white;
  text-shadow: none;
  color: $black;
}

//
// Icons
//

// force a black icon, even if bootstrap thinks differently
.icon-black {
  background-image: url(/assets/glyphicons-halflings.png) !important;
}

//
// Boring default masthead
//

#masthead {
  background: #eee;
  margin-bottom: 10px;
  border-bottom: 1px solid #e6e6e6;
  .title {
    padding: 20px;
    font-size: 1.25em;
  }
  .sitename {
    font-weight: bold;
  }
}

//
// Side Navigation
//

.sidenav {
  @extend .nav-tabs;
  @extend .nav-stacked;
  box-shadow: 0 2px 4px rgba(0,0,0,.1);
  li.active {
    a, a:hover {
      background-color: $linkColor;
      color: $white;
      border-color: darken($linkColor, 0%);
      cursor: pointer;
    }
  }
}