source: cats/SCHEMAcat/branches/urn.org.isocat.schemacat.site/site/styles/SCHEMAcat.css @ 4236

Last change on this file since 4236 was 4236, checked in by andmor, 10 years ago

Branch for migration to Bootstrap 3

File size: 3.0 KB
Line 
1html,
2body{
3    height:100%;
4    /* The html and body elements cannot have any padding or margin. */
5}
6
7body {
8    overflow-y: scroll;
9}
10
11.centered{
12    text-align:center;
13}
14
15/*override animation duration for the following elements*/
16#workspace, #schema-div,
17#about, #contact, #accountDetails{
18    -webkit-animation-duration: 0.25s;
19    -moz-animation-duration: 0.25s;
20        -o-animation-duration: 0.25s;
21        animation-duration: 0.25s;
22}
23
24#schema-background {
25    min-height: 350px;
26}
27
28/*since angularjs and browsers have diferent rules to conssider an input valid,
29we override the red border set by the browser (in invalid input fields)
30with the same border but set by angular*/
31input.ng-dirty.ng-invalid {
32    color: #b94a48;
33    border-color: #e9322d;
34    -webkit-box-shadow: 0 0 6px #f8b9b7;
35     -moz-box-shadow: 0 0 6px #f8b9b7;
36          box-shadow: 0 0 6px #f8b9b7;
37}
38
39.cursor-pointer{
40    cursor:pointer;
41}
42
43.cursor-default{
44    cursor:default;
45}
46
47/*sticky left side list of schemas*/
48.sidebar-nav-fixed {
49    position:fixed;
50    width:21.97%;
51    min-width: 246px;
52}
53
54.paginator{
55    white-space:nowrap;
56    min-width: 241px;
57}
58
59/*override bootstrap.css '<pre>' tags to scroll horizontaly
60  instead of wrapping the text to the page*/
61pre {
62    overflow-x: auto;
63    overflow-wrap: normal;
64    word-wrap: normal;
65}
66/*override bootstrap.css '<pre><code>' tag sequence not to use transparent
67  background (removes lag in google Chrome) and not to wrap text on white spaces.*/
68pre code {
69    background-color: inherit;
70    white-space: pre;
71    /*the following is used for the background of the code odd lines, to occupy entire document width */
72    float:left;
73    min-width: 100%;
74}
75
76
77/* Wrapper for page content to push down footer */
78#wrap{
79    min-height:100%;
80    height:auto !important;
81    height:100%;
82    /* Negative indent footer by it's height */
83    margin:0 auto -71px;
84}
85
86/* Set the fixed height of the footer here */
87#pushh,
88#pushf,
89#footer{
90    height:71px;
91}
92#footer{
93    background-color:#f5f5f5;
94    padding-top:20px;
95}
96
97/*.navbar-nav > li > a,
98.navbar-header > a {
99    padding-top:10px !important;
100    padding-bottom:10px !important;
101}
102.navbar-fixed-top {
103    min-height:40px !important;
104    height: 35px
105}*/
106
107/* Lastly, apply responsive CSS fixes as necessary */
108@media (max-width: 767px) {
109    #footer{
110        margin-left:-20px;
111        margin-right:-20px;
112        padding-left:20px;
113        padding-right:20px;
114    }
115   
116    .navbar-fixed-top
117    {
118        position: relative;
119        top: auto;
120    }
121   
122    #pushh{
123        height:0px;
124    }
125}
126
127@media (max-width: 1009px) {
128/* override the class definition for the first level divs of the workspace
129   so that they stack instead of overlaping when the media width is too low */
130  #workspace-main-row .workspace-master-div {
131    display: block;
132    float: none;
133    width: 100%;
134    margin-left: 0;
135    -webkit-box-sizing: border-box;
136       -moz-box-sizing: border-box;
137            box-sizing: border-box;
138  }
139  .sidebar-nav-fixed {
140      position:static;
141      width:auto;
142  }
143
144}
Note: See TracBrowser for help on using the repository browser.