_details.scss 4.69 KB
Newer Older
olga's avatar
olga committed
1
@import "icon-fonts";
2
@import "bootstrap/mixins";
3
.main {
olga's avatar
olga committed
4
    margin:2em 0 5em;
5
	h4 .title{
olga's avatar
olga committed
6
		font-size: 24px;
7
	}
olga's avatar
olga committed
8 9 10
    .rt {
        padding-top:5px;
    }
olga's avatar
olga committed
11 12 13
    .actions-per-item {
        padding: 0;
    }
14 15
}

Olga Brani's avatar
Olga Brani committed
16 17
.object-anchor {height:2px; }

olga's avatar
olga committed
18
.object-details {
Athina Bekakou's avatar
Athina Bekakou committed
19
	h4 {
olga's avatar
olga committed
20 21 22
        font-size: 14px;
        letter-spacing: 1px;
 	    .lt{
23
            display: block;
olga's avatar
olga committed
24
            float: left;
olga's avatar
olga committed
25 26
            max-width: 60%;
            word-wrap: break-word;
olga's avatar
olga committed
27 28
        }
        .rt {
Olga Brani's avatar
Olga Brani committed
29
            padding-top: 5px;
30
            display: block;
olga's avatar
olga committed
31 32 33 34 35
            overflow: hidden;
        }
        .arrow {
		    position: relative;
            padding: 0 8px;
36 37
		    &:hover,
            &:focus{
olga's avatar
olga committed
38 39
			    top: 2px;
			    cursor: pointer;
40
                outline: 0 none;
olga's avatar
olga committed
41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
		    }
	    }
       .label{
            float: right;
            margin-left: 15px;
            margin-bottom: 10px;
            &.important {
                font-weight: bold;
            }
        }
        em {
            float: none;
            &.os-info {
                float: right;
                position: relative;
                bottom: 3px;
                img {
                    height: 26px; // *** i think that is the size of all images temp use for preview
59
                    margin-right: 5px;
olga's avatar
olga committed
60 61 62
                }
            }
	    }
Athina Bekakou's avatar
Athina Bekakou committed
63 64
	}
	h3 {
olga's avatar
olga committed
65
        font-size: 18px;
olga's avatar
olga committed
66
		margin: 0 0 1em;
olga's avatar
olga committed
67 68 69 70 71
        font-weight: 400;
        line-height: $details-title-height;
        em {
            margin-left: 10px;
            font-size: 14px;
72 73 74 75
            display: inline-block;
            @include text-overflow();
            max-width: 50%;
            vertical-align: top;
olga's avatar
olga committed
76 77 78 79 80 81
        }
        span[class^="snf-details"] {
            float: left;
            margin-right: 8px;
            font-size: $details-title-height;
        }
82 83 84 85 86 87 88 89 90 91
        .popover-dismiss {
            display: inline-block;
            @include circle(24px,$snf_gray-light);
            text-align: center;
            font-weight: bold;
            vertical-align: middle;
            line-height: 24px;
            cursor: pointer;
            margin-left:10px;
            color: $almost-white;
92 93
            &:hover,
            &:focus{
94 95 96 97 98 99
                background: lighten($snf_gray-light, 10%);
            }
        }
        .popover {
            .popover-content {
                font-size: 12px;
Olga Brani's avatar
Olga Brani committed
100
                color: $reverse-text-color;
101 102 103
                line-height: 130%;
            }
        }
Athina Bekakou's avatar
Athina Bekakou committed
104
	}
olga's avatar
olga committed
105 106 107
    .icon-link {
        margin-right: 10px;
    }
Athina Bekakou's avatar
Athina Bekakou committed
108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126
	p {
		margin: 10px 20px;
		font-style: italic;
	}

	.length {
		margin-left: 6px;
		border: 0 none;
		font-style: italic;
		&::before {
		    content: '( ';
		}
		&::after {
		    content: ' )';
		}
	}
	&>.object-details {
		margin-left: -20px;
		margin-right: -20px;
olga's avatar
olga committed
127
		padding:12px 20px;
Athina Bekakou's avatar
Athina Bekakou committed
128 129 130 131 132 133 134 135 136 137 138 139 140 141 142
	}
}

.object-details-content .nav-tabs>li {
	a {
		opacity: 0.7;
		color: white;
	}
	&.active>a {
		opacity: 1;
		border-color: transparent;
		background: $gray-light;
		color: white;
		border-radius: 0;
	}
143 144 145
	
    &:not(.active)>a:hover,
    &:not(.active)>a:focus{
Athina Bekakou's avatar
Athina Bekakou committed
146 147 148 149 150 151 152 153 154 155 156
		opacity: 1;
		color: white;
		border-color: transparent;
		background: transparent;
	}
}

.tab-pane {
	overflow: auto;
}

157 158 159 160
.parts-separator {
    border-top: 2px solid $gray-light-extra;
    padding-top: 1em;
    h2 {
161 162 163
        font-size: 24px;
        margin-bottom: 2em;
        padding-top: 1em;
164 165 166 167 168 169 170
        em {
            max-width: 50%;
            display: inline-block;
            @include text-overflow();
            vertical-align: top;

        }
171
    }
172 173 174
}

.part-two {
175 176
	&>.object-details {
        border-bottom: 2px solid $gray-light-extra;		
olga's avatar
olga committed
177
        background: lighten($body-bg, 3%);
olga's avatar
olga committed
178
		padding:14px 20px;
179
		.object-details {
olga's avatar
olga committed
180
			padding: 5px 20px;
181 182
            &:hover,
            &:focus{
olga's avatar
olga committed
183 184
                background: lighten($body-bg, 5%);
            }
185
		}
186 187 188 189 190
        .custom-btn {
            span {
                padding: 5px;
            }
        }
olga's avatar
olga committed
191 192
    }
    .object-details-content {
Olga Brani's avatar
Olga Brani committed
193
        display: none;
olga's avatar
olga committed
194 195
        padding: 0 $details-title-height;
    }
196
    
197 198 199
}


olga's avatar
olga committed
200 201
.snf-details-volume {
    @extend .snf-volume-full;
202 203
}

olga's avatar
olga committed
204 205
.snf-details-vm {
    @extend .snf-pc-full;
206
}
olga's avatar
olga committed
207 208
.snf-details-project {
    @extend .snf-clipboard-h;
209
}
olga's avatar
olga committed
210 211
.snf-details-network {
    @extend .snf-network-full;
212
}
olga's avatar
olga committed
213 214
.snf-details-quota {
    @extend .snf-wallet-full;
215 216
}

olga's avatar
olga committed
217 218
.snf-details-nic {
    @extend .snf-nic-full;
olga's avatar
olga committed
219
}
olga's avatar
olga committed
220 221
.snf-details-user {
    @extend .snf-user-full;
olga's avatar
olga committed
222
}
olga's avatar
olga committed
223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243

.show-hide-all {
    span.snf-font-arrow-up {
        @extend .snf-arrow-up;
        display: none;
        padding: 0;
    }
    span.snf-font-arrow-down {
        @extend .snf-arrow-down;
        display: inline;
        padding: 0;
    }
    &.open {
        .snf-font-arrow-up {
            display: inline;
        } 
        .snf-font-arrow-down {
            display: none;
        }
    }
}