Changeset 7218
- Timestamp:
- 10/21/18 17:47:48 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
SRUAggregator/trunk/src/main/resources/assets/adv.css
r7146 r7218 21 21 cursor: move; 22 22 } 23 23 .corpusview-corpora { 24 /* 25 max-height: 70%; 26 overflow-y: scroll; 27 */ 28 } 29 30 #ADVtokenMenu { 31 flex: 1; 32 } 33 34 #ADVtokenMenu > * { 35 float:right; 36 } 37 #unavailable-corpora-message{ 38 font-size: smaller; 39 } 24 40 .query_token { 25 41 background-color: #e1e1e1; … … 37 53 } 38 54 39 #adv_query_input_group { 40 overflow: auto; 41 white-space: nowrap; 55 56 #adv-tokens { 57 display: flex; 58 flex-wrap: wrap; 59 align-items: baseline; 60 } 61 62 #adv-tokens > div:first-child { 63 display:contents; /* the react TransitionGroup creates a div that we dont really want. */ 42 64 } 43 65 … … 144 166 } 145 167 168 .adv-query-preview { 169 margin-bottom: unset; 170 } 171 146 172 /* .query_token .token_footer button i { */ 147 173 /* position: relative; */ … … 151 177 /* } */ 152 178 153 .query_token .token_footer button.insert_arg {179 /*.query_token .token_footer button.insert_arg { 154 180 float: left; 155 181 } 156 157 .query_token .token_footer button { 158 // width: 20px; 159 // height: 20px; 160 float: right; 182 */ 183 .query_token .token_footer > button { 184 /*vertical-align: top;*/ /* flex layout overrides */ 161 185 } 162 186 163 187 .query_token .token_footer { 164 188 font-size: .8em; 189 display: flex; 190 align-items: start; 165 191 } 166 192 … … 184 210 /* } */ 185 211 186 . query_token select,input {212 .or-containter select, .or-containter input { 187 213 border: 1px dashed #ccc; 188 214 outline: medium none; … … 191 217 192 218 .query_token .repeat { 193 float: right;194 219 margin-right: 25px; 195 220 } … … 234 259 .token-enter { 235 260 opacity: 0.01; 236 margin-left: -50%; 237 } 238 .token-enter.token-enter-active { 261 /*margin-left: -50%;*/ /*margin makes dom reflow and makes laggy animation*/ 262 transform: translateX(-50%); 263 } 264 .token-enter-active { 239 265 opacity: 1; 240 margin-left: 0; 266 /*margin-left: 0;*/ 267 transform: translateX(0); 241 268 transition: all 250ms linear; 242 269 } 243 .token-leave { 244 opacity: 1; 245 margin-left: 0; 246 } 247 .token-leave.token-leave-active { 270 .token-exit { 271 } 272 .token-exit-active { 248 273 opacity: 0.01; 249 margin-left: 50%; 274 /*margin-left: 50%;*/ 275 /*transform: translateX(50%);*/ 250 276 transition: all 250ms linear; 251 277 }
Note: See TracChangeset
for help on using the changeset viewer.