tabbar.less 6.9 KB
Newer Older
1 2 3 4
/*
 * Tab bar specific rules.
 */

5 6
@import '../../../less/abstracts/font.less';

7
.jenkins-config-widgets {
8
  position: relative;
9 10
  border:1px solid @solid-border;
  border-bottom:none;
11
  background:@light-background;
12
  min-height:2.5em;
T
tfennelly 已提交
13
  .border-radius-top(@radius);
G
gusreiber 已提交
14
  z-index:5;
T
tfennelly 已提交
15 16 17 18

  nav:before, nav:after {
    display: none;
  }
19 20 21
  
  :hover .noTabs{
    color:#bbb;
22
  }
23
  .noTabs:hover,
24 25
  .showTabs:hover {
    opacity: 0.8;
26
    background:#bbb;
27
    color:@light-background;
28
    text-shadow:none    
T
tfennelly 已提交
29 30
  }

31 32
  @find-container-width: 200px;
  .find-container {
33
    margin:0;
G
gusreiber 已提交
34
    display:none;
35
  }
36 37 38 39
  
  .showTabs,
  .noTabs {
    position: absolute;
40
    border-radius: @radius;
41 42 43 44
    right: 5px;
    top: 5px;
    cursor: pointer;
    color: @solid-border;
45
    text-shadow: @brightest 0 1px 2px;
46
    font-size: @font-size-sm;
47
    padding: 3px 7px;
G
gusreiber 已提交
48
    display:none;
49
  }
50 51 52

  .form-config.tabBarFrame {
    position: relative;
53
    border-bottom: solid 1px @solid-border;
54 55

    .config-section-activators {
T
tfennelly 已提交
56
      margin: 0;
G
gusreiber 已提交
57
      padding: 5px 0 0;
58 59
      display: block;
      list-style: none;
60 61 62 63
    }

    .tabBar {
      .tab {
64
        border: solid 1px transparent;
65 66 67 68
        color: #999;
        padding: 7px 10px;
        .border-radius-top(5px);
        cursor: pointer;
T
tfennelly 已提交
69 70
        margin: 1px 0 0 10px;
        text-decoration: none;
71 72
      }
      .tab:hover {
73
        background:#bbb; color:@brightest;
74 75
      }
      .tab.active {
G
gusreiber 已提交
76
        background: @bright;
77 78 79
        color: #000;
        font-weight: bold;
        z-index: 2;
80
        border:1px solid @solid-border;
G
gusreiber 已提交
81
        border-bottom:1px solid @bright
82 83 84 85 86 87 88 89 90 91 92 93 94
      }
    }

  }

  .form-config.tabBarFrame.mouse-over {
    .noTabs {
      display: inline;
    }
    .noTabs:hover {
      opacity: 0.8;
    }
  }
95 96

}
97 98 99
#jenkins{
  .jenkins-config {
    border:1px solid @solid-border;
G
gusreiber 已提交
100 101
    padding:10px;
    border-top:none;
G
gusreiber 已提交
102
    background:@bright;
T
tfennelly 已提交
103 104
    .border-radius-bottom(@radius);

105 106 107
    .showTabs{
      display:block;
      text-align:right;
108

109
    }
110

T
tfennelly 已提交
111 112 113 114 115 116 117 118
    table.config-table {
      .section-header-row {
        background: none;
        border-color: transparent
      }
      .section-header {
        margin-top: 10px;
      }
G
gusreiber 已提交
119
    }
T
tfennelly 已提交
120

121
    table {
122
      border-collapse:collapse;
123

124 125 126 127 128 129
      .bottom-sticker-edge {
        display:none;
      }
      .bottom-sticker-inner{
        padding: 20px 10px 25px 20px;
        border-top-right-radius: 10px;
G
gusreiber 已提交
130
        border: 1px solid @line-green;
T
tfennelly 已提交
131
        background: @pale-green-trans;
132
      }
T
tfennelly 已提交
133 134

      .bottom-sticker,
135 136
      #bottom-sticker{ 
        width: auto;
137
        margin-left: -10px;
138 139
        overflow: hidden;
        padding-bottom: 10px;
140
        margin: 30px 30px -25px -15px;
141
        z-index:9;
G
gusreiber 已提交
142 143 144 145 146 147 148 149 150
        
        .cover{
          position:absolute;
          top:0;
          bottom:0;
          left:0;
          right:0;
          z-index:2;
        }
151
      }
152

153 154
      .section-header{
        margin: 30px 0px 5px -10px;
155
        font-size: 1.25rem;
156 157 158 159 160 161 162 163 164 165
        padding: 10px 15px;
        border: none;
        border-top: 1px solid #ddd;
      }
      .attach-previous {
        margin-left:3px;
      }
      .validation-error-area td{
        padding:0 5px;
      }
166 167 168 169 170

      .stapler-class-bag td {
        padding: 0px;
      }
      
171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186
      td.setting-name{
        line-height:29px;
      }
      td.setting-main{
        input[type='radio'],
        input[type='checkbox']{
          position:relative;
          top:.33em;
        }
      }
      td{
        padding:5px;
        
        textarea.setting-input {
          display:block;
        }
F
Félix Queiruga 已提交
187

188 189 190 191 192 193
        input[type='email'].setting-input,
        input[type='password'].setting-input,
        input[type='text'].setting-input{
          height:@input-line-height;
          line-height:@input-line-height;
          padding:0 5px;
T
tfennelly 已提交
194
          .border-radius(@radius);
195
        }
F
Félix Queiruga 已提交
196

197 198 199 200
        select:not([multiple]){
          height:@input-line-height;
          line-height:@input-line-height;
        }
201
        select:not(.select-ajax-pending) {
202
          border-radius:0;
203
          background:@brightest;
204
        }
G
gusreiber 已提交
205 206 207
        .help{
          background:@medium-translucent;
        }
208 209 210
        p,
        .help,
        .setting-description {
211 212
          font-size: @font-size-base;
        }
213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248
      }
      td[colspan="4"]:empty{
        display:none
      }
      td.setting-help{
        vertical-align:top;
        padding:5px 10px 5px 5px
      }
      td.setting-leftspace:after {
        content:' '; 
        display:block; 
        width:13px; 
        height:1px;
      }
      .repeated-chunk,
      tr[nameref^="rowSetStart"],
      tr[nameref^="cb"],
      tr[nameref^="radio-block"] {
        background:@shade-hint; 
        border-left:5px solid @shade
      }
      .hetero-list-container,
      .repeated-container,
      tr.optional-block-start,
      tr.radio-block-start {
        border-left:5px solid @shade; 
        background:none;
      }
      tr.help-area {
        background:none !important;
        
        td {
          padding:0 5px
        }
      }
      .CodeMirror {
249
        background:@brightest;
250 251 252 253 254 255 256 257
  
      }
      .CodeMirror-scroll {
          border:1px solid @solid-border !important;
      }
      .repeated-container > .repeated-chunk {padding-top:15px;}
      .repeated-chunk.hover{ 
        border-color:@line-blue; 
258
        box-shadow:0 2px 10px @shade, inset 0 200px 200px -200px @brightest; 
259
        position:relative; 
G
gusreiber 已提交
260 261 262 263 264
        z-index:2
      }
      .repeated-chunk.dragging{
        position:static;
      }
265 266 267 268 269 270
      .repeated-chunk{
        border:1px solid @shade;
        margin:2px;
        position:relative;
      }  
      .repeatable-delete {
271 272 273 274 275 276 277 278 279 280 281 282 283 284
        position: absolute;
        top: -4px;
        right: 40px;
        height: 20px;
        width: 30px;

        button {
          text-align: center;
          text-indent: -9999px;
          width: 30px !important;
          height: 18px !important;
          padding: 0 !important;
          margin: 0 !important;
          .border-radius-top(0) !important;
285
          background-color: @danger;
286
          color: @light-background;
287
          border: 1px solid @danger-line;
288 289 290
          line-height: 12px !important;
          display: inline-block;
          font-size: 8px;
F
Félix Queiruga 已提交
291
          min-width: 0;
292
          min-height: 0;
G
gusreiber 已提交
293
        }
294

G
gusreiber 已提交
295
        button:focus,
296
        button:hover {
G
gusreiber 已提交
297
          background-color: @danger-dark;
298 299
          border-color: @danger-dark-line;
          color: @brightest;
300
        }
301 302

        button:before {
303 304 305
          content: 'X';
          font-weight: bold;
          position: absolute;
306
          display: block;
307
          left: 0;
308 309 310
          top: 2;
          width: 30px;
          height: 16px;
311 312
          text-align: center;
          font-size: 12px;
313 314
          text-indent: 0;
        }
315

316 317
      }
    }
318

319 320 321
    span.highlight {
      background-color: #ffff00;
    }
322
  }
323
}
G
gusreiber 已提交
324
#ygddfdiv {
325
  background:@light-background;
G
gusreiber 已提交
326 327 328
  border:1px solid @line-blue !important;
  opacity:.5;
}
G
gusreiber 已提交
329

T
tfennelly 已提交
330 331 332
.yui-skin-sam .yuimenu {
  z-index: 9999 !important
}
G
gusreiber 已提交
333

T
tfennelly 已提交
334 335
.yui-skin-sam .yui-button-disabled {
  opacity: .75
G
gusreiber 已提交
336
}