12 lines
4.4 KiB
Plaintext
Executable File
12 lines
4.4 KiB
Plaintext
Executable File
{
|
|
"version": 3,
|
|
"file": "notif.css",
|
|
"sources": [
|
|
"../notif.scss"
|
|
],
|
|
"sourcesContent": [
|
|
"body > #notification-container{\n\n\tdisplay: flex;\n\tposition: absolute;\n\t\tbottom: 0;\n\t\tleft: 0;\n\t\twidth: 100%;\n\n\tflex-direction: column;\n\tflex-wrap: nowrap;\n\n\tz-index: 200;\n\tpointer-events: none;\n\n\n\t.notification-element{\n\t\tdisplay: block;\n\t\tposition: relative;\n\t\t\tmargin: .2em auto;\n\t\t\tpadding: 0 1em;\n\n\t\tborder-radius: 3px;\n\t\tborder: 1px solid #ddd;\n\t\tborder-bottom: 1px solid darken(#ddd, 10);\n\t\tbox-shadow: inset 0 0 1em #eee;\n\n\t\tbackground-color: #fff;\n\n\t\tpointer-events: all;\n\t\tcursor: default;\n\n\t\t// ECARTEMENT DU BOTTOM POUR LE DERNIER\n\t\t&:last-child{\n\t\t\tmargin-bottom: 1em;\n\t\t}\n\n\n\t\t// ANIMATION DE fadeIn + fadeOut\n\t\ttransition: opacity .5s ease-in-out;\n\t\topacity: 0;\n\n\t\t&.notification-visible{\n\t\t\topacity: 1;\n\t\t}\n\n\n\t\t// ANIMATION DE @HOVER\n\t\t&:hover{\n\t\t\tbox-shadow: inset 0 0 1em #eee, 0 0 1em #555;\n\t\t}\n\n\n\n\t\t// TITRE ET BOULE DE COULEUR\n\t\tstrong:first-child{\n\n\t\t\ttext-transform: uppercase;\n\t\t\tpadding-left: 1.5em;\n\n\t\t\t&:before{\n\t\t\t\tcontent: '';\n\t\t\t\tdisplay: inline-block;\n\t\t\t\tposition: absolute;\n\t\t\t\ttop: 1.2em;\n\t\t\t\tleft: 1em;\n\t\t\t\twidth: .9em;\n\t\t\t\theight: .9em;\n\n\t\t\t\tborder-radius: 50% / 50%;\n\t\t\t\tbox-shadow: inset -1px 1px 2px rgba(50, 50, 50, .5);\n\t\t\t}\n\n\t\t}\n\n\t\t// DIFFERENTS THEMES\n\t\t// WARNING\n\t\t&[data-warning]{\n\t\t\tborder-color: #dd6a45;\n\t\t\tborder-bottom-color: darken(#dd6a45, 10);\n\t\t\tstrong:first-child{ &:before{ background-color: #dd6a45; } }\n\t\t}\n\t\t// INFO\n\t\t&[data-info]{\n\t\t\tborder-color: #2195da;\n\t\t\tborder-bottom-color: darken(#2195da, 10);\n\t\t\tstrong:first-child{ &:before{ background-color: #2195da; } }\n\t\t}\n\t\t// SUCCESS\n\t\t&[data-success]{\n\t\t\tborder-color: #5fca4a;\n\t\t\tborder-bottom-color: darken(#5fca4a, 10);\n\t\t\tstrong:first-child{ &:before{ background-color: #5fca4a; } }\n\t\t\t}\n\t\t// ERROR\n\t\t&[data-error]{\n\t\t\tborder-color: #d94747;\n\t\t\tborder-bottom-color: darken(#d94747, 10);\n\t\t\tstrong:first-child{ &:before{ background-color: #d94747; } }\n\t\t}\n\n\n\t}\n\n}\n"
|
|
],
|
|
"mappings": "AAAA,AAAO,IAAH,CAAG,uBAAuB,AAAA,CAE7B,OAAO,CAAE,IAAK,CACd,QAAQ,CAAE,QAAS,CAClB,MAAM,CAAE,CAAE,CACV,IAAI,CAAE,CAAE,CACR,KAAK,CAAE,IAAK,CAEb,cAAc,CAAE,MAAO,CACvB,SAAS,CAAE,MAAO,CAElB,OAAO,CAAE,GAAI,CACb,cAAc,CAAE,IAAK,CA2FrB,AAvGD,AAeC,IAfG,CAAG,uBAAuB,CAe7B,qBAAqB,AAAA,CACpB,OAAO,CAAE,KAAM,CACf,QAAQ,CAAE,QAAS,CAClB,MAAM,CAAE,SAAU,CAClB,OAAO,CAAE,KAAM,CAEhB,aAAa,CAAE,GAAI,CACnB,MAAM,CAAE,cAAe,CACvB,aAAa,CAAE,GAAG,CAAC,KAAK,CAAC,OAAM,CAC/B,UAAU,CAAE,kBAAmB,CAE/B,gBAAgB,CAAE,IAAK,CAEvB,cAAc,CAAE,GAAI,CACpB,MAAM,CAAE,OAAQ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