Projet

Général

Profil

0001-misc-add-a-big-msg-sorry-message-style-48826.patch

Frédéric Péters, 29 novembre 2020 10:17

Télécharger (7,24 ko)

Voir les différences:

Subject: [PATCH] misc: add a big-msg-sorry message style (#48826)

 gadjo/static/css/gadjo.scss        |  10 ++-
 gadjo/static/images/sorry-icon.png | Bin 0 -> 1615 bytes
 gadjo/static/images/sorry-icon.svg | 103 +++++++++++++++++++++++++++++
 3 files changed, 111 insertions(+), 2 deletions(-)
 create mode 100644 gadjo/static/images/sorry-icon.png
 create mode 100644 gadjo/static/images/sorry-icon.svg
gadjo/static/css/gadjo.scss
659 659
	padding-bottom: 1ex;
660 660
}
661 661

  
662
div.big-msg-info {
663
	background: white url(../images/info-icon.png) 5px 15px no-repeat;
662
div.big-msg-info,
663
div.big-msg-sorry {
664 664
	width: 30em;
665 665
	padding: 2rem 1rem 1rem 90px;
666 666
	margin: 3em auto;
667 667
	min-height: 90px;
668 668
	padding-top: 20px;
669 669
	border-radius: 3px;
670
	&.big-msg-info {
671
		background: white url(../images/info-icon.png) 5px 15px no-repeat;
672
	}
673
	&.big-msg-sorry {
674
		background: white url(../images/sorry-icon.png) 5px 15px no-repeat;
675
	}
670 676
}
671 677

  
672 678
p.paginator {
gadjo/static/images/sorry-icon.svg
1
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
<svg
3
   xmlns:dc="http://purl.org/dc/elements/1.1/"
4
   xmlns:cc="http://creativecommons.org/ns#"
5
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
6
   xmlns:svg="http://www.w3.org/2000/svg"
7
   xmlns="http://www.w3.org/2000/svg"
8
   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
9
   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
10
   width="13"
11
   height="13"
12
   viewBox="0 0 3.4395833 3.4395832"
13
   version="1.1"
14
   id="svg3125"
15
   inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)"
16
   sodipodi:docname="sorry-icon.svg"
17
   inkscape:export-filename="sorry-icon.png"
18
   inkscape:export-xdpi="590.77002"
19
   inkscape:export-ydpi="590.77002">
20
  <defs
21
     id="defs3119" />
22
  <sodipodi:namedview
23
     id="base"
24
     pagecolor="#ffffff"
25
     bordercolor="#666666"
26
     borderopacity="1.0"
27
     inkscape:pageopacity="0.0"
28
     inkscape:pageshadow="2"
29
     inkscape:zoom="22.318002"
30
     inkscape:cx="-3.332695"
31
     inkscape:cy="4.729909"
32
     inkscape:document-units="mm"
33
     inkscape:current-layer="layer1"
34
     showgrid="false"
35
     inkscape:window-width="1600"
36
     inkscape:window-height="836"
37
     inkscape:window-x="179"
38
     inkscape:window-y="1107"
39
     inkscape:window-maximized="1"
40
     fit-margin-top="0"
41
     fit-margin-left="0"
42
     fit-margin-right="0"
43
     fit-margin-bottom="0"
44
     showguides="true"
45
     inkscape:guide-bbox="true"
46
     units="px"
47
     inkscape:document-rotation="0">
48
    <sodipodi:guide
49
       position="-1.5957682,0.36380207"
50
       orientation="1,0"
51
       id="guide819"
52
       inkscape:locked="false" />
53
    <sodipodi:guide
54
       position="-0.52916665,-0.52916665"
55
       orientation="1,0"
56
       id="guide821"
57
       inkscape:locked="false" />
58
    <sodipodi:guide
59
       position="0.85704491,2.416597"
60
       orientation="0,-1"
61
       id="guide863" />
62
    <sodipodi:guide
63
       position="0.79428574,1.8879927"
64
       orientation="0,-1"
65
       id="guide865" />
66
  </sodipodi:namedview>
67
  <metadata
68
     id="metadata3122">
69
    <rdf:RDF>
70
      <cc:Work
71
         rdf:about="">
72
        <dc:format>image/svg+xml</dc:format>
73
        <dc:type
74
           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
75
        <dc:title />
76
      </cc:Work>
77
    </rdf:RDF>
78
  </metadata>
79
  <g
80
     inkscape:label="Calque 1"
81
     inkscape:groupmode="layer"
82
     id="layer1"
83
     transform="translate(-51.743849,-118.88301)">
84
    <path
85
       inkscape:connector-curvature="0"
86
       d="m 53.72296,120.7007 c -7.93e-4,-0.86144 0.229902,-1.32314 0.370795,-1.32327 l 0.132292,-1.3e-4 c -0.168259,0.26383 -0.238755,1.06292 -0.238503,1.32315 2.51e-4,0.26022 -0.01545,1.00664 0.241054,1.32268 l -0.132292,1.3e-4 c -0.180176,1.7e-4 -0.372515,-0.46112 -0.373346,-1.32256 z"
87
       id="rect3773-4"
88
       style="display:inline;opacity:1;fill:#386ede;fill-opacity:1;stroke:none;stroke-width:0.264583"
89
       sodipodi:nodetypes="cccsccc" />
90
    <circle
91
       style="color:#000000;overflow:visible;opacity:1;fill:#386ede;fill-opacity:1;stroke-width:0.15875;stroke-linejoin:round;stroke-miterlimit:10"
92
       id="path842"
93
       cx="53.208046"
94
       cy="121.22882"
95
       r="0.25790736" />
96
    <circle
97
       style="color:#000000;overflow:visible;opacity:1;fill:#386ede;fill-opacity:1;stroke-width:0.15875;stroke-linejoin:round;stroke-miterlimit:10"
98
       id="path842-3"
99
       cx="53.208046"
100
       cy="120.17593"
101
       r="0.25790736" />
102
  </g>
103
</svg>
0
-