Anonymous avatar Anonymous committed 0761af7

fix css

Comments (0)

Files changed (6)

static/css/screen.css

 table.difftabular th.linenos {text-align:center;}
 .claim, .logout, .login {font-weight:bold;text-decoration:none;}
 .rename {font-size:12px;line-height:18px;vertical-align:middle;}
+.window_title {font-size:11px;}
 .hidden {display:none;}
 body {min-width:700px;color:#000;}
 html,body,#container {height:100%;}
 code {width:95%;display:block;padding:1em 1em 1em 1em;}
 code {white-space:pre-wrap;white-space:-moz-pre-wrap !important;white-space:-pre-wrap;white-space:-o-pre-wrap;word-wrap:break-word;overflow:auto;}
 #preview {overflow:auto;}
-#snippet_window_title {margin-top:-7px;margin-left:15px;margin-bottom:7px;font-size:14px;cursor:move;}
-#snippet_window {-moz-border-radius:5px;-webkit-border-radius:5px;-khtml-border-radius:5px;padding:10px;min-width:200px;min-height:150px;border:4px solid;}
-#snippet_window form {position:relative;}
-#snippet_window #snippet_window_close {display:block;position:absolute;top:4px;left:5px;height:13px;width:13px;background-image:url(../img/window_close.gif);cursor:pointer;cursor:hand;}
+.window {display:block;background-image:url(../img/window_background.png);-moz-border-radius:5px;-webkit-border-radius:5px;-khtml-border-radius:5px;padding:10px;min-width:200px;min-height:150px;border:4px solid;}
+.window .window_title {margin-top:-7px;margin-left:15px;margin-bottom:7px;cursor:move;}
+.window form {position:relative;}
+.window .close {display:block;position:absolute;top:4px;left:5px;height:13px;width:13px;background-image:url(../img/window_close.gif);cursor:pointer;cursor:hand;}
 #snippet_window form table {width:100%;margin:5px 0 5px 0;}
 #snippet_window th, td {padding:5px 10px 5px 10px;vertical-align:top;}
 #snippet_window textarea {width:450px;height:200px;}

static/css/src/layout.css

 
 
 /* window */
-#snippet_window_title {
-    margin-top:-7px;  
-    margin-left: 15px;
-    margin-bottom:7px;  
-    font-size:14px;
-    cursor:move;
-}
 
-#snippet_window {  
-    
+.window {
+    display: block;
+    background-image: url(../../img/window_background.png);
     -moz-border-radius: 5px;  
     -webkit-border-radius: 5px;  
-    -khtml-border-radius: 5px;  
+    -khtml-border-radius: 5px;
     padding:10px;  
     min-width:200px;  
     min-height:150px;  
     border: 4px solid;
+}
+
+.window .window_title {
+    margin-top:-7px;  
+    margin-left: 15px;
+    margin-bottom:7px;  
+    cursor:move;
+}
+
+.window{  
+    
+    
 } 
  
-#snippet_window form {
+.window form {
     position: relative;
 }
  
-#snippet_window #snippet_window_close {  
+.window .close {  
     display:block;  
     position:absolute;  
     top:4px;  

static/css/src/slate.css

     filter: 0.5;
 }
 
-#snippet_window {
-    background-color: #dedede;
-    color: #504845;
-    border: #ababab;
-}
-
-#snippet_window form table {
-    background-color: #f7f7f7;
-}
-
-input, textarea {
-    border-color: #C6C6C6 #EFEFEF #EFEFEF #C6C6C6;
-}
-
-#snippet_window input[type="submit"] {
-    background-color: #cec6b5;
-    border-color: #7a7261;
-}
 
 .box {
     background-color: #fff;
 p.notice {
      background: #FFF6BF; color: #514721; border-color: #FFD324;
 }
+
+
+.window {
+ background-color: #dedede;
+    color: #bbbbbb;
+    border: #ababab;
+}
+
+.window form table {
+    background-color: #2c2c2c;
+}
+
+.window form p a, .window a:visited {
+    color: #bbb;
+}
+
+input, textarea {
+    border-color: #C6C6C6 #EFEFEF #EFEFEF #C6C6C6;
+}
+
+.window input[type="submit"] {
+    background-color: #3d3d3d;
+    border-color: #bbb;
+    color: #bbb;
+}
+

static/css/src/typography.css

     line-height: 18px;
     vertical-align: middle;
 }
+
+.window_title {
+    font-size: 11px;
+}

static/css/theme.css

 del {background-color:#ff8888;color:#000;}
 ins {background-color:#99ff99;color:#000;}
 tr.rselected {background-color:#d4d4d4;opacity:0.5;filter:0.5;}
-#snippet_window {background-color:#dedede;color:#504845;border:#ababab;}
-#snippet_window form table {background-color:#f7f7f7;}
-input, textarea {border-color:#C6C6C6 #EFEFEF #EFEFEF #C6C6C6;}
-#snippet_window input[type="submit"] {background-color:#cec6b5;border-color:#7a7261;}
 .box {background-color:#fff;}
 .box a {color:#14456e;}
 .box h4 {background-color:#d4d4d4;color:#000;}
 .claim, .logout {background-color:#000;color:#fff;}
 tr.errors {background:#ff9898;border:#ff0000;}
 p.notice {background:#FFF6BF;color:#514721;border-color:#FFD324;}
+.window {background-color:#dedede;color:#bbbbbb;border:#ababab;}
+.window form table {background-color:#2c2c2c;}
+.window form p a, .window a:visited {color:#bbb;}
+input, textarea {border-color:#C6C6C6 #EFEFEF #EFEFEF #C6C6C6;}
+.window input[type="submit"] {background-color:#3d3d3d;border-color:#bbb;color:#bbb;}

templates/page/show.html

     </div>
 </section>
  
- <div id="snippet_window" title="insert a snipet">
-     <div id="snippet_window_close"></div>
-     <div id="snippet_window_title">Insert a snippet</div>
+ <div id="snippet_window" title="insert a snipet" class="window">
+     <div id="snippet_window_close" class="close"></div>
+     <div id="snippet_window_title" class="window_title">Insert a snippet</div>
      <form name="fsnippet" id="fsnippet">
          <p class="choice"><input type="radio" name="snippet_from"  id="si" value="0" class="tsnippet" checked="checked" />Paste it here :</p>           
          <table>
         <p><input type="submit" id="ssnippet" name="ssnippet" value="Insert snippet" /><input type="submit" id="cancelSnippet" name="cancelSnippet" value="Cancel" /></p>
      </form>
  </div>
+ 
  {% endif %}
 {% endblock %}
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.