From 77c1b1235cba0d9d5e24dd0b70a0f0fb303164ce Mon Sep 17 00:00:00 2001 From: mb863 Date: Thu, 6 Jan 2011 21:14:46 +0000 Subject: [PATCH] NIHVIVO-1574: Refactored upload image templates, and made upload images css file theme agnostic. --- themes/wilma/css/edit.css | 1 + themes/wilma/css/wilma.css | 35 ++++++++++++++++++++- themes/wilma/images/pointToCropPreview.jpg | Bin 0 -> 1090 bytes 3 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 themes/wilma/images/pointToCropPreview.jpg diff --git a/themes/wilma/css/edit.css b/themes/wilma/css/edit.css index 35aeff73..b300a4d4 100644 --- a/themes/wilma/css/edit.css +++ b/themes/wilma/css/edit.css @@ -82,6 +82,7 @@ form a:link.cancel, form a:visited.cancel { text-decoration: underline; color: #f70; border-color: none; + padding-left: 3px; } form a:hover.cancel, form a:active.cancel { text-decoration: none; diff --git a/themes/wilma/css/wilma.css b/themes/wilma/css/wilma.css index 82f56ea8..197e2b12 100644 --- a/themes/wilma/css/wilma.css +++ b/themes/wilma/css/wilma.css @@ -28,6 +28,9 @@ body{ body{ background: #f3f3f0 url(../images/header-background.png) center 0 no-repeat; } +a:hover{ + text-decoration: none; +} /* h1,h2,h3,h4,h5,h6 ------> */ h2{ padding: 10px 0 12px 0; @@ -788,8 +791,38 @@ a { text-decoration: underline } /* -------------------------------------------------> */ +/* IMAGE UPLOAD------ ------------------------------> */ +/* -------------------------------------------------> */ +/* <------ UPLOAD PICTURE*/ +#photoUploadDefaultImage img{ + border: 4px solid #DDE4E3; +} +#photoUploadForm{ + border-left: 1px dotted #DDE4E3; +} +/* <------ CROP PICTURE*/ +#photoCropping img{ + border: 1px solid #DDE4E3; +} +#photoCropping{ + margin-left: 20px; + padding-left: 40px; + background: url(../images/pointToCropPreview.jpg) 0 30px no-repeat; +} +#photoCroppingPreview{ + width: 210px; +} +.photoCroppedPreview{ + border: 4px solid #DDE4E3; +} +/* <------ DELETE PICTURE*/ +#photoDeletingContainer{ + border: 1px solid #bdbcbc; +} +/* -------------------------------------------------> */ /* INDIVIDUAL DISPLAY ------------------------------> */ /* -------------------------------------------------> */ + /* INDIVIDUAL LIST ------> */ .individualList ul.individualData li { padding-bottom: 0; @@ -1025,4 +1058,4 @@ article.property ul.property-list li a{ } .green{ color: #b2d15a; -} +} \ No newline at end of file diff --git a/themes/wilma/images/pointToCropPreview.jpg b/themes/wilma/images/pointToCropPreview.jpg new file mode 100644 index 0000000000000000000000000000000000000000..35db801ad00b1e9afabfcfd15abd2830a937fd29 GIT binary patch literal 1090 zcmex=iF;o{=v;^GnD0RsUZK7IjyJ|1CV5fNcw z8EI*08F@HhWM^mR<>8eO5Ri}(6%>_%OAyQWe}F-dgOP_poS9LOfk}{&S&;Gn5r!HD zMi2lx69!lqSlKwhg2u0hn@tNB z9=xb@>5;IgAR_}47%;<3He_OK+{i4bC}b2UoLH#z{}uxeGf#!&k3KL2|W? zXWa{yMsgqfc#>n*FyJZ)rYn^t=H0<8F8}<`PjB^J$-9e-dV(V zPVddzgSRJd{+b@^Z@cpGzRst0{`+2A|J`sOXqR>CkuNvm7JT{bl{8hP!ZR<8_riaM zN%vQ8KfdPh^!y%zAi>=`|rfF*ZV)_T9+RCa%n=) zqYKOLMzC*Nnzivi!^YdUZ--Ra-