summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/framework/markdown_area.scss
blob: 4a00a197d9a0c817eaa19345e81fe6b176234e46 (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
.div-dropzone-wrapper {
  .div-dropzone {
    position: relative;
    padding: 0;
    border: 0;
    margin-bottom: 5px;

    .div-dropzone-focus {
      border-color: #66afe9 !important;
      box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6) !important;
      outline: 0 !important;
    }

    .div-dropzone-hover {
      position: absolute;
      top: 50%;
      left: 50%;
      margin-top: -0.5em;
      margin-left: -0.6em;
      opacity: 0;
      font-size: 50px;
      transition: opacity 200ms ease-in-out;
      pointer-events: none;
    }

    .div-dropzone-spinner {
      position: absolute;
      top: 100%;
      left: 100%;
      margin-top: -1.1em;
      margin-left: -1.1em;
      opacity: 0;
      font-size: 30px;
      transition: opacity 200ms ease-in-out;
    }

    .div-dropzone-icon {
      display: block;
      text-align: center;
      font-size: inherit;
    }

    .div-dropzone-progress {
      position: absolute;
      top: 7px;
      left: -40px;
      width: 35px;
      font-size: 13px;
      text-align: right;
    }

    .dz-preview {
      display: none;
    }
  }
}

.div-dropzone-alert {
  margin-top: 5px;
  margin-bottom: 0;
  transition: opacity 200ms ease-in-out;
}

.md-area {
  position: relative;
}

.md-header {
  ul {
    float: left;
    margin-bottom: 1px;
  }
}

.referenced-users {
  color: #4c4e54;
  padding-top: 10px;
}

.md-preview-holder {
  background: #FFF;
  border: 1px solid #ddd;
  min-height: 169px;
  padding: 5px;
  box-shadow: none;
}

.new_note,
.edit_note,
.detail-page-description,
.milestone-description,
.wiki-content,
.merge-request-form {
  .nav-tabs {
    margin-bottom: 0;
    border: none;

    li a,
    li.active a {
      border: 1px solid #DDD;
    }
  }
}

.markdown-area {
  @include border-radius(0);
  background: #FFF;
  border: 1px solid #ddd;
  min-height: 140px;
  padding: 5px;
  box-shadow: none;
  width: 100%;
}