client/app/slides/slides.css
author rougeronj
Wed, 08 Apr 2015 00:36:37 +0200
changeset 77 ee963d1c409b
parent 40 4b3bebe4355d
child 91 f7a844a9079e
permissions -rw-r--r--
Add new serializer for the data send by Orpheo. We receive XML so we parse it to json. Then we parse some html to get the proper data of each attribute. Add xmlToJson parser module to requirements.txt
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
40
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
     1
.slide {
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
     2
    margin-top: -20px;
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
     3
}
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
     4
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
     5
.slide-title,
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
     6
.slide-nav,
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
     7
.slide-content {
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
     8
	border-bottom:1px solid grey;
37
81ed4fbb1a64 add save fonction on a slide and update template
rougeronj
parents: 26
diff changeset
     9
}
81ed4fbb1a64 add save fonction on a slide and update template
rougeronj
parents: 26
diff changeset
    10
40
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
    11
.slide-nav{
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
    12
	padding:10px 0;
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
    13
	display: inline-block;
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
    14
	width: 100%;
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
    15
}
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
    16
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
    17
.slide-content{
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
    18
	padding:10px 0;
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
    19
	height: 524px;
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
    20
}
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
    21
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
    22
.media{
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
    23
	border-right:1px solid grey;
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
    24
	height: 100%
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
    25
}
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
    26
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
    27
.media img,
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
    28
.media video{
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
    29
    max-height: 100%;
37
81ed4fbb1a64 add save fonction on a slide and update template
rougeronj
parents: 26
diff changeset
    30
	max-width: 100%;
81ed4fbb1a64 add save fonction on a slide and update template
rougeronj
parents: 26
diff changeset
    31
	display: block;
81ed4fbb1a64 add save fonction on a slide and update template
rougeronj
parents: 26
diff changeset
    32
	margin: auto;
81ed4fbb1a64 add save fonction on a slide and update template
rougeronj
parents: 26
diff changeset
    33
}
81ed4fbb1a64 add save fonction on a slide and update template
rougeronj
parents: 26
diff changeset
    34
81ed4fbb1a64 add save fonction on a slide and update template
rougeronj
parents: 26
diff changeset
    35
.caption {
81ed4fbb1a64 add save fonction on a slide and update template
rougeronj
parents: 26
diff changeset
    36
    color: #000;
81ed4fbb1a64 add save fonction on a slide and update template
rougeronj
parents: 26
diff changeset
    37
    position: static;
81ed4fbb1a64 add save fonction on a slide and update template
rougeronj
parents: 26
diff changeset
    38
    text-shadow: none;
81ed4fbb1a64 add save fonction on a slide and update template
rougeronj
parents: 26
diff changeset
    39
    text-align: left;
40
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
    40
	overflow: scroll;
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
    41
	height: 100%
37
81ed4fbb1a64 add save fonction on a slide and update template
rougeronj
parents: 26
diff changeset
    42
}
81ed4fbb1a64 add save fonction on a slide and update template
rougeronj
parents: 26
diff changeset
    43
81ed4fbb1a64 add save fonction on a slide and update template
rougeronj
parents: 26
diff changeset
    44
.original-text {
81ed4fbb1a64 add save fonction on a slide and update template
rougeronj
parents: 26
diff changeset
    45
    font-style: italic;
81ed4fbb1a64 add save fonction on a slide and update template
rougeronj
parents: 26
diff changeset
    46
}
81ed4fbb1a64 add save fonction on a slide and update template
rougeronj
parents: 26
diff changeset
    47
40
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
    48
.user-details textarea.form-control {
37
81ed4fbb1a64 add save fonction on a slide and update template
rougeronj
parents: 26
diff changeset
    49
    height: 140px;
40
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
    50
    margin: 10px 0;
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
    51
}
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
    52
.user-details input.form-control{
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
    53
	margin: 10px 0;
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
    54
}
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
    55
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
    56
#back{
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
    57
	float:left;
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
    58
	margin: 0 10px;
37
81ed4fbb1a64 add save fonction on a slide and update template
rougeronj
parents: 26
diff changeset
    59
}
81ed4fbb1a64 add save fonction on a slide and update template
rougeronj
parents: 26
diff changeset
    60
40
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
    61
#previous,
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
    62
#next{
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
    63
	float:right;
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
    64
	margin: 0 10px;
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
    65
}
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
    66
.user-details p,
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
    67
.user-details h4{
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
    68
	border: 1px solid #ededed;
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
    69
	min-height: 21px;
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
    70
	padding: 6px 12px;
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
    71
	border-radius: 4px;
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
    72
}
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
    73
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
    74
.user-details p.description{
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
    75
	min-height: 140px;
37
81ed4fbb1a64 add save fonction on a slide and update template
rougeronj
parents: 26
diff changeset
    76
}