aboutsummaryrefslogtreecommitdiffstats
path: root/notice/static/css/list_notice.css
blob: 79cb1d122970774a74c17dde5d05d6eda25e6d49 (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
/*
 * css for 'list_notice.html'
 *
 * based on 'docs.css' Examples section from bootstrap 3
 */

.notice-title {
  position: relative;
  padding: 0px 15px 0px 15px;
  margin: 0 -15px 15px;
  /* background-color: #fafafa; */
  background-color: #f4f8fa;
  border-color: #e5e5e5 #eee #eee;
  border-style: solid;
  border-width: 1px 0;
  -webkit-box-shadow: inset 0 3px 6px rgba(0,0,0,.05);
          box-shadow: inset 0 3px 6px rgba(0,0,0,.05);
}

/* Tweak display of the code snippets when following an example */
.notice-title + .notice-content {
  margin: -15px -15px 15px;
  border-width: 0 0 1px;
  border-radius: 0;
}

/* Make the examples and snippets not full-width */
@media (min-width: 768px) {
  .notice-title {
    margin-right: 0;
    margin-left: 0;
    background-color: #f4f8fa;
    border-color: #ddd;
    border-width: 1px;
    border-radius: 4px 4px 0 0;
    -webkit-box-shadow: none;
            box-shadow: none;
  }
  .notice-title + .notice-content {
    margin-top: -16px;
    margin-right: 0;
    margin-left: 0;
    border-width: 1px;
    /*
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
    */
  }
  .notice-content + .notice-attachment {
    margin-top: -16px;
    margin-right: 0;
    margin-left: 0;
    border-width: 1px;
    border-radius: 0 0 4px 4px;
  }
}

/* Undo width of container */
.notice-title .container {
  width: auto;
}

.notice-content {
  padding: 9px 14px;
  margin-bottom: 14px;
  background-color: #f7f7f9;
  border: 1px solid #e1e1e8;
  /* border-radius: 4px; */
}

.notice-attachment {
  padding: 9px 14px;
  margin-bottom: 14px;
  background-color: #ffffff;
  border: 1px solid #e1e1e8;
  border-radius: 4px;
}

/* remove 'ul' margin-bottom */
.notice-attachment ul {
  margin-bottom: 0;
}