Version avec modules séparés !
This commit is contained in:
118
modules/notes/css/notes.css
Normal file
118
modules/notes/css/notes.css
Normal file
@@ -0,0 +1,118 @@
|
||||
.note{
|
||||
height:150px;
|
||||
padding:10px;
|
||||
width:150px;
|
||||
position:absolute;
|
||||
overflow:hidden;
|
||||
cursor:move;
|
||||
|
||||
font-family:Trebuchet MS,Tahoma,Myriad Pro,Arial,Verdana,sans-serif;
|
||||
font-size:22px;
|
||||
|
||||
/* Adding a CSS3 shadow below the note, in the browsers which support it: */
|
||||
-moz-box-shadow:2px 2px 0 #DDDDDD;
|
||||
-webkit-box-shadow:2px 2px 0 #DDDDDD;
|
||||
box-shadow:2px 2px 0 #DDDDDD;
|
||||
}
|
||||
|
||||
#fancy_ajax .note{ cursor:default; }
|
||||
|
||||
/* Three styles for the notes: */
|
||||
|
||||
.yellow{
|
||||
background-color:#FDFB8C;
|
||||
border:1px solid #DEDC65;
|
||||
}
|
||||
|
||||
.blue{
|
||||
background-color:#A6E3FC;
|
||||
border:1px solid #75C5E7;
|
||||
}
|
||||
|
||||
.green{
|
||||
background-color:#A5F88B;
|
||||
border:1px solid #98E775;
|
||||
}
|
||||
|
||||
/* Each note has a data span, which holds its ID */
|
||||
span.data{ display:none; }
|
||||
|
||||
/* The "Add a note" button: */
|
||||
#addButton{
|
||||
position:absolute;
|
||||
top:10px;
|
||||
left:10;
|
||||
}
|
||||
|
||||
|
||||
.author{
|
||||
/* The author name on the note: */
|
||||
bottom:10px;
|
||||
color:#666666;
|
||||
font-family:Arial,Verdana,sans-serif;
|
||||
font-size:12px;
|
||||
position:absolute;
|
||||
right:10px;
|
||||
}
|
||||
|
||||
#main{
|
||||
/* Contains all the notes and limits their movement: */
|
||||
margin:0 auto;
|
||||
position:relative;
|
||||
width:980px;
|
||||
height:500px;
|
||||
z-index:10;
|
||||
/*background:url(../images/add_a_note_help.gif) no-repeat left top;*/
|
||||
}
|
||||
|
||||
h3.popupTitle{
|
||||
border-bottom:1px solid #DDDDDD;
|
||||
color:#666666;
|
||||
font-size:24px;
|
||||
font-weight:normal;
|
||||
padding:0 0 5px;
|
||||
}
|
||||
|
||||
#noteData{
|
||||
/* The input form in the pop-up: */
|
||||
height:200px;
|
||||
margin:30px 0 0 200px;
|
||||
width:350px;
|
||||
}
|
||||
|
||||
.note-form label{
|
||||
display:block;
|
||||
font-size:10px;
|
||||
font-weight:bold;
|
||||
letter-spacing:1px;
|
||||
text-transform:uppercase;
|
||||
padding-bottom:3px;
|
||||
}
|
||||
|
||||
.note-form textarea, .note-form input[type=text]{
|
||||
background-color:#FCFCFC;
|
||||
border:1px solid #AAAAAA;
|
||||
font-family:Arial,Verdana,sans-serif;
|
||||
font-size:16px;
|
||||
height:60px;
|
||||
padding:5px;
|
||||
width:300px;
|
||||
margin-bottom:10px;
|
||||
}
|
||||
|
||||
.note-form input[type=text]{ height:auto; }
|
||||
|
||||
.color{
|
||||
/* The color swatches in the form: */
|
||||
cursor:pointer;
|
||||
float:left;
|
||||
height:10px;
|
||||
margin:0 5px 0 0;
|
||||
width:10px;
|
||||
}
|
||||
|
||||
#note-submit{ margin:20px auto; }
|
||||
.delete {display:none; height:16px; width:16px; background:url(../../../images/interface/delete.png) top left no-repeat; position:absolute; top:5px; right:5px; z-index:9999;}
|
||||
.delete:hover{cursor:pointer !important;}
|
||||
|
||||
|
Reference in New Issue
Block a user